Getting information with ceAssetEntry could be very useful.
I am having trouble though putting SQL query together especially when result is a table and I am interested only in one cell from that table.
Could somebody help me out on that?
Thank you.
Can you elaborate? I don't understand the SQL query comment. Where are you querying SQL? If this is a MIB, you can use the Universal Device Poller.
I am using SQL qury in Report righter.
For example here is query i use to get serial numbers from Cisco switches and VPN (altiga MIBS).
SELECT DISTINCT Nodes.Caption AS 'Node Name', Nodes.MachineType AS Machine_Type, Nodes.IP_Address AS IP_Address, Nodes.IOSImage AS IOS_Image, Nodes.IOSImage AS IOS_Image_1,
(SELECT CustomPollerStatus.Status
FROM CustomPollerStatus
INNER JOIN
CustomPollerAssignment
ON
CustomPollerAssignment.CustomPollerAssignmentID = CustomPollerStatus.CustomPollerAssignmentID
WHERE
( CustomPollerAssignment_1.NodeID = CustomPollerAssignment.NodeID)
AND
(CustomPollerAssignment.PollerID = 'AB484A19-1367-4983-8AFB-8B7F2626CA8F')) AS 'Serial Number',
(CustomPollerAssignment.PollerID = '79341729-E45C-4F62-BE3A-A632E007FFAC')) AS 'Serial Number2'
FROM CustomPollerAssignment AS CustomPollerAssignment_1
CustomPollers
CustomPollerAssignment_1.PollerID = CustomPollers.PollerID
Nodes
CustomPollerAssignment_1.NodeID = Nodes.NodeID
(
(Nodes.Vendor = 'Cisco'))
)
ceAssetSerialNumber
1.3.6.1.4.1.9.9.92.1.1.1.2