Note that “notequals ok” will also trigger on unknown. :)
Adam.
From: observium observium-bounces@observium.org On Behalf Of Ahmed Rahal via observium Sent: 15 October 2020 16:06 To: Observium observium@observium.org Cc: Ahmed Rahal arahal@fibrenoire.ca Subject: Re: [Observium] How to create Alert Checker for a specific port?
Hi Brian,
I recently added probes to my setup and didn't yet add alerts for them.
Essentially, the condition can look like this:
probe_event notequals ok
According to the code I saw (but I am just guessing at this) you can have 'ok', 'warning', 'alert', 'unknown' (the typical return codes for a nagios plugin):
in includes/definitions/entities.inc.php
$config['entities'][$entity]['metrics']['probe_event'] = array('label' => 'Event', 'type' => 'string', 'values' => [ 'ok', 'warning', 'alert', 'unknown' ]);
Tested with the above condition and it worked as expected.
I am still not clear about the difference between probe_event and status (which seems to bear the same values as probe_event).
I suggest you fiddle with it a bit ;)
As you noted however, google seems to have no clue about this case. Clearly the documentation is missing here.
HTH,
Ahmed.
Le jeu. 15 oct. 2020, à 08 h 15, Brian Bianchi via observium <observium@observium.org mailto:observium@observium.org > a écrit :
Thanks for the response Adam.
That sounds like exactly what I need.
Unfortunately I can find little to no documentation on how to set up an probe alert checker.
Can you perhaps point me in the right direction? My device is IP 10.160.96.177, and I am here (below) but not sure how to proceed. What would be my metric conditions?
Thanks a great deal for any info you can provide.
Brian Bianchi Senior Release Engineer d: +1 (781) 213-6483 e: bbianchi@vestmark.com mailto:bbianchi@vestmark.com
This e-mail and any attachments hereto, are intended for use by the addressee(s) only and may contain information that is confidential information of Vestmark, Inc. If you are not the intended recipient of this e-mail, or if you have otherwise received this e-mail in error, please immediately notify me by telephone or by e-mail, and please permanently delete the original, any print outs and any copies of the foregoing. Any dissemination, distribution or copying of this e-mail is strictly prohibited.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Adam Armstrong via observium Sent: Tuesday, October 13, 2020 12:24 PM To: 'Observium' <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] How to create Alert Checker for a specific port?
External Email This email was NOT sent from someone at Vestmark
Wrong type of port, the alert checker you’re looking at is checking a physical port.
To check an arbitrary TCP/UDP port you’ll want to add it as a check_tcp or check_udp probe, then the alert checker will test that probe’s status.
Adam.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Brian Bianchi via observium Sent: 13 October 2020 17:15 To: observium@observium.org mailto:observium@observium.org Cc: Brian Bianchi <bbianchi@vestmark.com mailto:bbianchi@vestmark.com > Subject: [Observium] How to create Alert Checker for a specific port?
Hi folks,
I have an application running on port 7990.
I would like to create a custom Alert Checker to check if this port is functional.
I have read the documentation here:
https://docs.observium.org/alert_checker/
https://docs.observium.org/alerting_examples/
The “port is operational but functionally down” option looks like the one for me.
But how the heck do I select a specific port of 7990 to be monitored?
Thanks!
Brian Bianchi Senior Release Engineer o: +1 (781) 213-6483 e: bbianchi@vestmark.com mailto:bbianchi@vestmark.com
Learn more about Vestmark! View our introduction video https://vimeo.com/374253696 here.
Check us out on Social Media:
https://www.linkedin.com/company/vestmark/
https://www.glassdoor.com/Overview/Working-at-Vestmark-EI_IE263618.11,19.htm
This e-mail and any attachments hereto, are intended for use by the addressee(s) only and may contain information that is confidential information of Vestmark, Inc. If you are not the intended recipient of this e-mail, or if you have otherwise received this e-mail in error, please immediately notify me by telephone or by e-mail, and please permanently delete the original, any print outs and any copies of the foregoing. Any dissemination, distribution or copying of this e-mail is strictly prohibited.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium