- Site ID
- Hostname
- IP Address
- SKU
- Firmware Rev
- Current Charge
- Rated power (in watts)
- Watts used (%)
- Battery Replacement Date
- UPS Age (mfr date)
- Battery Run Time
- Serial Number
I've started to obtain the APC UPS/PDU Serial Numbers and Firmware, but the results are being returned in the Serial Number column. I need to segregate the values, since the recipients won't understand the report. Here's my beginning query:
SELECT TOP 1000 C.SiteID, CPS.NodeID, N.NodeName, CPS.Status AS SerialNumber
FROM Orion.NPM.CustomPollerStatusOnNode CPS
JOIN Orion.Nodes N on CPS.NodeID=N.NodeID
JOIN Orion.NodesCustomProperties C on C.NodeID=N.NodeID
WHERE CustomPollerID = 'e955f524-a816-48f7-9765-ff1be5362c39' OR CustomPollerID = 'acbe9348-ddea-4847-bfa5-ce596ea6f2c7' OR CustomPollerID = '354b7a4d-e405-4214-a531-5cf6d865ba4d'
I'm fairly new to using SWQL and of course SQL in general, and welcome any recommendations on generating this type of detailed inventory report on the APC UPS/PDU devices.
Thanks in Advance!
Will Q.