Nagios tips – Troubleshooting check_ping failure

This morning, I received (again) several notification by mail about check_ping from my Nagios server

So I’ve tried to ping this host from the command line using his fqdn

But trying using check_ping Nagios plugin failed

check_ping -H host.domain.com -w 3000.0,80% -c 5000.0,100% -p 5

After some “Googling” …

I’ve found out that I’d need to force ipv4 for check_ping command

What I did was to modify the commands.cfg file like below

Then reloaded Nagios

 

 

 

 

 

 

 

 

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *



Back to Top