Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all articles
Browse latest Browse all 21870

adding a custom poller true/false status to Node details page

$
0
0

We are monitoring our APC batteries for several metrics. One I am having difficulty with is the battery replacement indicator.

 

I have a poller that successfully polls OID 1.3.6.1.4.1.318.1.1.1.2.2.4 (upsAdvBatteryReplaceIndicator) to display the battery status. It returns one of two values noBatteryNeedsReplacing (1) or BatteryNeedsReplacing (2).

 

Everything works great. I detect the status change, my advanced alert triggers,etc. However I cant get the status to show up on the node page. It only wants to allow me to post the values as a radial gauge or a table, etc. (and throws the error "No pollers assigned or no statistic results. Click edit button to change universal device poller assignment!")

 

How would I get it to display on the node page as a true/false value? (green dot vs red dot similar to the node status entry)

 

We also want to do the same type of alert on the node screen for whether the UPS is running on batteries. (we currently check the tick counter for 1.3.6.1.4.1.318.1.1.1.2.1.2 (upsBasicBatteryTimeOnBattery) and any value >3000 triggers an alert)

 

Any ideas?


Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>