Page 1 of 1

Ping check with rta and pl alarms

Posted: Mon Nov 16, 2020 11:41 am
by davide.bonicelli
Hi, with the standard check_ping plugin the alarms are for rta OR pl%
is there a way to have an alarm for rta AND pl% over the limits?
for example, if i put an alarm like this 100,20% i'd like to receive the mail if rta is >100 and pl>20%

Re: Ping check with rta and pl alarms

Posted: Tue Nov 17, 2020 11:23 am
by benjaminsmith
Hi @davide.bonicelli,

There are few more ping checks available on the Nagios Exchange, but I was unable to find a plugin that had that kind of logic built into it.

I would take a look a the check_icmp plugin as it is a little more flexible as far as passing arguments.
https://www.monitoring-plugins.org/doc/ ... _icmp.html

Re: Ping check with rta and pl alarms

Posted: Thu Nov 19, 2020 10:31 am
by davide.bonicelli
thanks but it has the same logic..rta OR pl%, not AND
ibut i can survive to this :)

Re: Ping check with rta and pl alarms

Posted: Fri Nov 20, 2020 10:33 am
by benjaminsmith
Hi,
ibut i can survive to this :)
I wish could be more help on this one. You might try looking at some of the plugins on the Nagios Exchange, and use that as a template for creating a new one based on your requirements.

Re: Ping check with rta and pl alarms

Posted: Fri Nov 20, 2020 10:48 am
by davide.bonicelli
yes i will try..a customer needs this type of check.. :cry:

Re: Ping check with rta and pl alarms

Posted: Fri Nov 20, 2020 10:50 am
by benjaminsmith
HI,

Sounds good. We'll go ahead and close this topic, but feel free to open another if you have any new questions.

Best Regards,
Benjamin