-
Re: UPS statistics
Steven KlassenMar 28, 2016 8:49 PM (in response to halbig)
5 of 5 people found this helpfulI'd just create an alert for that value so you know when one of your UPSs starts returning that.
Hope this helps!
--
Steven W. Klassen
Programmer Analyst @ Loop1 Systems
-
Re: UPS statistics
halbig Mar 29, 2016 10:03 AM (in response to Steven Klassen)Thank you Steven. I swear when I was trying to figure this out, I must have checked every option EXCEPT for the "I want to alert on" drop-down. Duh!
So I have the alert working. Any insight on how to turn the node status to yellow or red based on this value?
-
Re: UPS statistics
Steven KlassenMar 29, 2016 10:29 AM (in response to halbig)
You're very welcome. You can set a custom status on your node with the 'Set Custom Status' alert action. Just be careful with this one - if you don't set the node back to 'Use Polled Status' in your reset action it'll just sit there in a down status forever until you manually reset it on the node details page (or another one of these alerts comes along).
--
Steven W. Klassen
Programmer Analyst @ Loop1 Systems
-
Re: UPS statistics
halbig Mar 29, 2016 11:07 AM (in response to Steven Klassen)Ok, I've added that to the alert, but I receive this error:
I assume this is because it is alerting on a custom poller and not on a node, so the node itself isn't actually triggering the alert. The only other option in the "Affected Node" drop-down is to select a specific node, which would be fine if we only had one UPS to monitor...
-
Re: UPS statistics
Steven KlassenMar 29, 2016 11:27 AM (in response to halbig)
Hm, I would have thought it would have resolved the custom poller to its associated node before trying to run that action but apparently not. The only other alternative I can think of would be to have a PowerShell script that effects that change in the node's status but I don't believe that would have the same permanent-until-set-to-polled-status behavior.
aLTeReGo - any thoughts on this one?
--
Steven W. Klassen
Programmer Analyst @ Loop1 Systems
-
Re: UPS statistics
mesverrumMar 30, 2016 5:42 PM (in response to Steven Klassen)
2 of 2 people found this helpfulI just created a custom alert query for someone else about an hour ago that would probably work for this use case as well
It seems that Solarwinds haven't joined the appropriate tables on the backend to make poller based alerts act on their parent node but you can use a custom swql alert on a node instead of on the poller.
See this picture.
You would just need to set the assignment name and status conditions according to the poller you were trying to act on.
Loop1 Systems: SolarWinds Training and Professional Services
- LinkedIN: Loop1 Systems
- Facebook: Loop1 Systems
- Twitter: @Loop1Systems
-
Re: UPS statistics
halbig Mar 31, 2016 10:53 AM (in response to mesverrum)Thanks! It works! I changed the last line to the following:
where cpa.AssignmentName like '%upsAdvBatteryCapacity%' and cps.RawStatus < 40
-
Re: UPS statistics
Steven KlassenMar 31, 2016 11:45 AM (in response to halbig)
-
Re: UPS statistics
halbig Mar 31, 2016 1:16 PM (in response to halbig)1 of 1 people found this helpfulAnother quick update in case anyone cares... I decided to alert on the Battery Time Remaining instead, for anything with less than 5 minutes
where cpa.AssignmentName like '%upsAdvBatteryRunTimeRemaining%' and cps.RawStatus < 30000
Once again, thanks for everyone's help!
-
-
-
-
-
-