ICMP

check_icmp

Description:

The check_icmp program is meant as a replacement for the check_ping plugin supplied with the Nagios-plugins package.

Current Version

Last Release Date

June 23, 2009

Compatible With


Project Files
Project Notes
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) Add a Review
Good plugin but ...
by jframeau, February 29, 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
Helpful? Yes  No 
Project Stats
Rating
4.5 (2)
Favorites
0
Views
117,282