Host check when ICMP ping not available

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Host check when ICMP ping not available

Post by jpipitone »

We are monitoring a 3rd party's mail server using the NagiosXI Mail server wizard - this checks to see if the server has been blacklisted. The check returns properly for the Blacklist portion, however since they do not allow icmp ping, the host is being marked as down, and is sending us alerts. It is also listed as being down in the NagiosXI web interface.

I landed on a Nagios support PDF which explains how to change the host check to something else, however in this case I don't want the host itself being checked and marked as down / critical which sends out an alert.

I've tried setting the host check to blank using the drop down menu, however its still reporting the host as down.

How can I prevent the host from being marked as down - and simply check the blacklist only? I'm basically looking for a way to mark the host as OK / green.

I have tried disabling active and passive checks on the host, but it is still marked down.

Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host check when ICMP ping not available

Post by scottwilkerson »

Change the Check command to check_dummy
$ARG1$ = 0
$ARG2$ = OK

This will set the check to a permanent OK state
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Host check when ICMP ping not available

Post by jpipitone »

Worked like a charm - thank you!
Locked