check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08
Bernd Nies
listuser at adnovum.ch
Thu Sep 4 15:02:13 CEST 2008
Hi,
Something bad happened to the check_proc plugin between version 1.45 and
v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes
45 seconds and sometimes longer. An older version was much faster qirh
0.3 seconds.
I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get
binaries that can run on Solaris 8, 9 and 10.
[root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V
check_procs (nagios-plugins 1.4.1) 1.45
[root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs -V
check_procs v1991 (nagios-plugins 1.4.12)
[root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-1.45
PROCS OK: 1695 processes
real 0m0.320s
user 0m0.051s
sys 0m0.296s
[root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs -t 60
PROCS OK: 1664 processes
real 0m45.543s
user 0m2.851s
sys 0m41.231s
Any ideas what's going wrong?
Bye
Bernd
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list