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
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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