O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.2 Reachability Test with Ping

The classic reachability test in UNIX systems has always been a ping, which sends an ICMP echo request packet and waits for an ICMP echo response packet. The Nagios plugin package includes two programs that carry out this ping check: check_icmp and check_ping. Even though check_ping is used in the standard configuration, you should replace it with the more efficient check_icmp, which has been included since plugin version 1.4.

Whereas check_ping calls the UNIX program /bin/ping, which is why there are always compatibility problems with the existing ping version, check_icmp sends ICMP without any external help programs. check_icmp basically works more efficiently, since it does not wait for one second between individual ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required