[Nagiosplug-devel] [ nagiosplug-Bugs-1666601 ] Solaris 8 check_procs plugin hangs until timeout

SourceForge.net noreply at sourceforge.net
Fri Feb 23 00:33:45 CET 2007


Bugs item #1666601, was opened at 2007-02-22 23:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1666601&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John R. Taisto (jtaisto)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solaris 8 check_procs plugin hangs until timeout

Initial Comment:
check_procs (nagios-plugins 1.4.6) 1.57

Always exits with a timeout no matter how long it's given.  

Example 1:

$plugins/check_procs -w 10 -c 20 --metric=CPU -t 10
CRITICAL - Plugin timed out after 10 seconds

Example 2:

plugins/check_procs -w 10 -c 20 --metric=CPU -t 60
CRITICAL - Plugin timed out after 60 seconds

Solaris 8 (Generic kernel -44)
Compiled with gcc 3.4.6 (SPARC) (-O2 -m64)

No errors reported and binary gets created:
Other plugins seem to work fine:

No missing libraries:

$ ldd plugins/check_procs
        libnsl.so.1 =>   /usr/lib/64/libnsl.so.1
        libsocket.so.1 =>      /usr/lib/64/libsocket.so.1
        libc.so.1 =>     /usr/lib/64/libc.so.1
        libdl.so.1 =>    /usr/lib/64/libdl.so.1
        libmp.so.2 =>    /usr/lib/64/libmp.so.2
        /usr/platform/SUNW,Sun-Blade-100/lib/sparcv9/libc_psr.so.1

Truss output:

truss -c ./plugins/check_procs -w 10 -c 20 --metric=CPU -t 10
CRITICAL - Plugin timed out after 10 seconds
signals ------------
SIGALRM            1
total:             1

syscall              seconds   calls  errors
_exit                    .00       1
fork                     .00       1
read                    2.04  138822
write                    .00       1
open                     .00      12      1
close                    .00      13
brk                      .00       4
stat                     .00      40     29
lseek                    .00       3      2
getpid                   .00       1
alarm                    .00       1
fstat                    .00       1
kill                     .01       1
pipe                     .00       2
ioctl                    .00       2      1
execve                   .00       1
sigaction                .00       1
mmap                     .00      32
munmap                   .00       5
setrlimit                .00       1
getrlimit                .00       1
memcntl                  .00       4
resolvepath              .00      12
                     -------  ------   ----
sys totals:             2.05  138962     33
usr time:                .53
elapsed:               10.04


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1666601&group_id=29880




More information about the Devel mailing list