Home Directory

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

jframeau

Reviews(2)
byjframeau, January 6, 2016
1 of 1 people found this review helpful
check_linux_stats
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
Owner's reply

I fixed this ugly bug..

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