Alert checker for APC ups
Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel
If you just want to create an individual alert for this, you can probably match the text description with status_descr, then match the event with status_event
status_event is a "translated" status for the entity that you can match on, it's either ok, warn, alert or ignore.
adam. On 06/07/2017 13:46:50, Daniel Johansson daz@voodoo-people.com wrote: Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
This is mine:
save image
Tom
On 06/07/2017 14:40, Daniel Johansson wrote:
Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Howdy Tom,
Is there a way to do an "OR" on that "status_event ne ok"? I've got three 5Ks that are status "onSmartTrim" which is actually an OK indication, but obviously fails the "ne ok" test.
Thx,
Ron
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Thursday, July 6, 2017 6:24 PM To: observium@observium.org Subject: Re: [Observium] Alert checker for APC ups
This is mine:
Tom
On 06/07/2017 14:40, Daniel Johansson wrote:
Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
This just needs the mib definition changed so that becomes an "ok" event.
Adam.
Sent from BlueMail
On 7 Jul 2017, 04:21, at 04:21, Ron Marosko ron@rjr-services.com wrote:
Howdy Tom,
Is there a way to do an "OR" on that "status_event ne ok"? I've got three 5Ks that are status "onSmartTrim" which is actually an OK indication, but obviously fails the "ne ok" test.
Thx,
Ron
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Thursday, July 6, 2017 6:24 PM To: observium@observium.org Subject: Re: [Observium] Alert checker for APC ups
This is mine:
Tom
On 06/07/2017 14:40, Daniel Johansson wrote:
Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Done in r8687!
On 07/07/2017 10:36 AM, Adam Armstrong wrote:
This just needs the mib definition changed so that becomes an "ok" event.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=10066 On 7 Jul 2017, at 04:21, Ron Marosko <ron@rjr-services.com mailto:ron@rjr-services.com> wrote:
Howdy Tom, Is there a way to do an “OR” on that “status_event ne ok”? I’ve got three 5Ks that are status “onSmartTrim” which is actually an OK indication, but obviously fails the “ne ok” test. Thx, Ron *From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Tom Laermans *Sent:* Thursday, July 6, 2017 6:24 PM *To:* observium@observium.org *Subject:* Re: [Observium] Alert checker for APC ups This is mine: save image Tom On 06/07/2017 14:40, Daniel Johansson wrote: Hi I'm tring to figure out how to create an alert checker for when the UPS loses external Power. See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from. Anyone have any ideas? Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker. Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39 Regards Daniel _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium ------------------------------------------------------------------------ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
And that fixed it, thank you, guys!!
…Ron
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Friday, July 7, 2017 4:16 AM To: observium@observium.org Subject: Re: [Observium] Alert checker for APC ups
Done in r8687!
On 07/07/2017 10:36 AM, Adam Armstrong wrote:
This just needs the mib definition changed so that becomes an "ok" event.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=10066
On 7 Jul 2017, at 04:21, Ron Marosko <ron@rjr-services.com mailto:ron@rjr-services.com > wrote:
Howdy Tom,
Is there a way to do an “OR” on that “status_event ne ok”? I’ve got three 5Ks that are status “onSmartTrim” which is actually an OK indication, but obviously fails the “ne ok” test.
Thx,
Ron
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Thursday, July 6, 2017 6:24 PM To: observium@observium.org mailto:observium@observium.org Subject: Re: [Observium] Alert checker for APC ups
This is mine:
Tom
On 06/07/2017 14:40, Daniel Johansson wrote:
Hi
I'm tring to figure out how to create an alert checker for when the UPS loses external Power.
See the attached Picture. The OK or OnLine are the ones I want to look at and create an alert from.
Anyone have any ideas?
Did a debug during polling of the ups and got this but I can't figure out how to use it in the alert checker.
Output Status powernet-upsbasicoutput-state upsBasicOutputStatus.0 snmp onLine ok 2017-07-06 10:02:39
Regards Daniel
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_____
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Daniel Johansson
-
Ron Marosko
-
Tom Laermans