From: Ben C. <BCl...@pe...> - 2004-11-17 11:41:11
|
Dear users, Attached is a working version of the check_load. This version displays values correctly as floating point numbers: OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000 load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000 Rather than the current bad version: OK - load average: 0.38, 0.50, 0.50|load1=0;1;2;0 load5=0;1;2;0 load15=0;1;2;0 Follow these instructions: Copy file to plugins directory of nagios-plugin distribution and: $ gunzip check_load.c.gz $ make $ su # make install Regards, Ben. Ben Clewett wrote: > Hi Celeste. > > I think there is a problem with the correct check_load plugin. I have > just looked at the current plugins and I have the same problem. The > performance data is being recorded only to the nearest whole number. > Which is really not a lot of good for load data. > > I will report this with the hope of a fix. > > Otherwise I can advise you get an old plugin suit, say from six months > ago. The check_load from this works perfectly. > > Regards, Ben. > > > > celeste wrote: > >> this is a sample of serviceperf.log >> 1100509139 linux190 load average OK - load average: >> 0.62, 0.68, 0.58 OK load1=0;1;2;0 load5=0;2;3;0 load15=0;3;4;0 >> >> >> celeste wrote: >> >>> hi, i found when system is heavy performance, >>> select * from perfdata_service_bin where metric="LOAD1"; >>> the value = "1". >>> >>> i don't know what's wrong. >>> >>> >>> celeste wrote: >>> >>>> hi, everyone. >>>> i installed nagios + perfparse. >>>> nagios version: 1.2 >>>> plugin:1.4.0alpha1 >>>> perfparse:1.103.1 >>>> i use perfparse-log2db, >>>> now, i can see graphic display, like http response time, it's perfect. >>>> but, i found i cann't display load average information. i check mysql, >>>> select * from perfdata_service_bin where metric="LOAD1"; >>>> i found is all value is zero. >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: InterSystems CACHE >>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>> robust object and relational technologies, making it a perfect match >>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>> _______________________________________________ >>>> Perfparse-users mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Perfparse-users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |