Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_icmp

Rating
2 votes
Favoured:
0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
The check_icmp program is meant as a replacement for the check_ping plugin supplied with the Nagios-plugins package.
It does not use the distributions ping command and therefore does not have to parse any output. If check_ping does not work for you, use this instead.
Reviews (1)
byjframeau, February 6, 2012
but it crashes when no host set. So please, replace

if(!(host_base_ptr = malloc(sizeof(struct host_name_list)))) { line 314

by

if(!(host_base_ptr = calloc(1, sizeof(struct host_name_list)))) {

to zeroify the structure and avoid break here

while(host_ptr->next) { line 540

jeff