-
Re: adding a custom poller true/false status to Node details page
Dogeron Oct 8, 2012 8:48 AM (in response to cameramonkey)CameraMonkey,
I'm just working on my APC UPS's and whilst I haven't looked at the BatteryReplaceIndicator, I probably should.
I've been looking at OID 1.3.6.1.4.1.318.1.1.1.11.1.1 (upsBasicStateOutputState), a 64 bit value but only then first 32 significant bits are used (see listing below) where each bit represents a specific status - for example the 5 most significant bit is for "Replace Battery".
My issue is that enumeration doesn't work well with 2^32 combinations. The best way would be to set this value to "Text" and then use transformation to abstract each value. But there's really no comprehensive documentation (at least I can't find it if there is) as to what functions generally, and string functions in particular, are available.
I'm raising a third party support call, so if I get a solution I'll post back here.
Regards,
Dog.
===================
OID 1.3.6.1.4.1.318.1.1.1.11.1.1 (upsBasicStateOutputState)
An ASCII string containing the 64 flags representing
the current state(s) of the UPS. If the Network Card
is unable to determine the state of the UPS , this
variable is set to 'UNKNOWN'.
The flags are numbered 1 to 64 , read from left to
right. The flags are defined as follows:
Flag 1: Abnormal Condition Present
Flag 2: On Battery
Flag 3: Low Battery
Flag 4: On Line
Flag 5: Replace Battery
Flag 6: Serial Communication Established
Flag 7: AVR Boost Active*
Flag 8: AVR Trim Active*
Flag 9: Overload
Flag 10: Runtime Calibration
Flag 11: Batteries Discharged
Flag 12: Manual Bypass
Flag 13: Software Bypass
Flag 14: In Bypass due to Internal Fault
Flag 15: In Bypass due to Supply Failure*
Flag 16: In Bypass due to Fan Failure*
Flag 17: Sleeping on a Timer
Flag 18: Sleeping until Utility Power Returns
Flag 19: On
Flag 20: Rebooting
Flag 21: Battery Communication Lost*
Flag 22: Graceful Shutdown Initiated
Flag 23: Smart Boost or Smart Trim Fault*
Flag 24: Bad Output Voltage*
Flag 25: Battery Charger Failure*
Flag 26: High Battery Temperature
Flag 27: Self Test In Progress
Flag 28: Low Battery / On Battery
Flag 29: Graceful Shutdown Issued by Upstream Device
Flag 30: Graceful Shutdown Issued by Downstream Device
Flag 31: No Batteries Attached*
Flag 32: Synchronized command is in progressFlag 33 - 64 <Not Used>
-
Re: adding a custom poller true/false status to Node details page
dantootell Aug 22, 2014 3:49 PM (in response to Dogeron)Did you ever find a solution to this? I am trying to enumerate the exact same string Dogeron and cannot get Solarwinds to handle it because of the length of the response.
-
Re: adding a custom poller true/false status to Node details page
trmoon19 Aug 17, 2016 6:54 PM (in response to Dogeron)Yeah, same problem, same OID. I have a sneaking suspicion that I may just have to set the alert trigger based on whether or not the value starts with a 1 (which at the base level denotes a problem).
-