Nagios Check_htttp plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Eysinem
Posts: 1
Joined: Mon Mar 14, 2016 6:30 am

Nagios Check_htttp plugin

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Nagios Check_htttp plugin

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Check_htttp plugin

Post 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
Former Nagios Employee
Locked