Build precise queries to find exactly what you need
Press ESC to close
@jframeau
Favorites0
Views
Projects0
Very good plugin. Last version 1.5 check_cpu should be followed by a elsif. --- check_linux_stats.pl.old 2016-01-06 22:06:17.000000000 +0100 +++ check_linux_stats.pl 2016-01-06 22:03:33.582324204 +0100 @@ -59,7 +59,7 @@ if($o_cpu){ check_cpu(); } -if($o_context){ +elsif($o_context){ check_context_switch(); } elsif($o_mem){ jfr
Reviewed 10 years ago
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
Reviewed 14 years ago