[Nagiosplug-help] check_procs returns 'Not parseable:'

Stevens, Michael Michael_Stevens at affymetrix.com
Wed Jan 16 18:40:55 CET 2008


I am running the Nagios-plugins 1.4.10 on a Solaris 10 system.  I'd like
to use check_procs -a to be sure I have a specific process running.
When I try to look for the process, check_procs is unable to find it.
Running check_procs with a -vv returns:

$ /usr/local/nagios/libexec/check_procs -vv -a jdenet_k
CMD: /usr/ucb/ps -alxwwn
Not parseable:  0     1   490     1  0  59 204077616984 3000131e846 S ?
1:06 /usr/lib/nfs/nfsmapid
Not parseable:  0  1493  7712     1  0  59 205776045184 60006b971d2 S ?
0:03 /eone/jdedwards/e812/system/bin32/jdenet_n
Not parseable:  0  1493  7714  7712  0  29 30341960127904 3004a96c226 S
?         1:38 jdenet_k 6014
Not parseable:  0  1493  7715  7712  0  59 2022513685552 300471d30d2 S ?
0:21 jdenet_k 6014
Not parseable:  0  1493  7740  7728  0  59 20241800115656 600155760ea S
?         0:24 jdenet_k 6014
Not parseable:  0  1493  7762  7761  0  59 2021844880000 3004759d41a S ?
0:18 jdenet_k 6014

I'm guessing that ps returns fields NI, SZ, and RSS without any blanks
between them, and then check_proc gets confused and returns not
parseable.  Note that NI, SZ, and RSS is the 7th field returned by ps.

I have an old version of check_procs, 1.3.1, which uses ps -Ao 's uid
ppid comm args', which finds the jdenet_k processes.  Am I doing
something wrong, or is this a bug.  Thanks,

-- 
Mike Stevens | Senior UNIX Administrator
Affymetrix, Inc. 

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

This transmission is intended for the sole use of the individual
and entity to whom it is addressed, and may contain information
that is privileged, confidential and exempt from disclosure under
applicable law. You are hereby notified that any use,
dissemination, distribution or duplication of this transmission by
someone other than the intended addressee or its designated agent
is strictly prohibited. If you have received this transmission in
error, please notify the sender immediately by reply to this
transmission and delete it from your computer. Thank You.
Affymetrix, Inc.




More information about the Help mailing list