Page 1 of 1

Nagios Check_htttp plugin

Posted: Mon Mar 14, 2016 6:38 am
by Eysinem
Hi,

I use the check-http plugin to monitoring my website.

The http check part work fine but the IP check doesn't.
Wich is ok beacause the website doesn't allow ping check.

My problem is with the notifications.
I would like to receive them if the website is unreachable by his URL but not if it is unreachable by his IP.

Can you hel me ?

Thanks in advance.

Re: Nagios Check_htttp plugin

Posted: Mon Mar 14, 2016 11:13 am
by bwallace
I do not know of a way to combine the two. Best to have two separate checks: 1 for the URL and another for the IP address. Then configure notifications accordingly.

Re: Nagios Check_htttp plugin

Posted: Mon Mar 14, 2016 11:14 am
by rkennedy
You should be able to turn notifications off on the host, by adding the following to the definition -

Code: Select all

notifications_enabled 0