[Nagiosplug-devel] Strange Behaviour with check_procs
Dennis Kuhlmeier
kuhlmeier at riege.com
Wed Aug 26 14:38:45 CEST 2009
Marc Powell wrote:
> On Aug 26, 2009, at 6:38 AM, Dennis Kuhlmeier wrote:
>
>> Hello,
>>
>> maybe someone can help with this.
>> Running check_procs seems to overlook two processes from the
>> "condor" package on one of our machines.
>> http://www.eso.org/~qc/dfos/condor.html
>>
>> I hope this is all info you might need
>
>> [root at ftam plugins]# ./check_procs -c 1:1 -C condor_collector
>> PROCS CRITICAL: 0 processes with command name 'condor_collector'
>> [root at ftam plugins]# ps aux | grep condor_collector
>> condor 2027 0.0 0.1 9452 3524 ? Ss Aug19 1:13
>> condor_collector -f
>> root 25907 0.0 0.0 320 124 pts/1 R+ 13:31 0:00
>> grep condor_collector\
>
> While I don't have you answer, I suspect I might. check_procs is
> likely using a different ps command and those process names don't show
> in that output. Try the following and examine the output.
>
> check_procs -c 1:1 -C condor_collector -v -v -v
>
Thanks, that actually helped. The process name is cut off at 15 letters.
Ss 64 2027 2026 9452 3524 0.0 condor_collecto
condor_collector -fproc#=0 uid=64 vsz=9452 rss=3524 pid=2027
ppid=2026 pcpu=0.00 stat=Ss etime= prog=condor_collecto
args=condor_collector -f
Matched: uid=64 vsz=9452 rss=3524 pid=2027 ppid=2026 pcpu=0.00
stat=Ss etime= prog=condor_collecto args=condor_collector -f
Found my process, although I am not perfectly happy with that.
[root at ftam plugins]# ./check_procs -c 1:1 -C condor_collecto
PROCS OK: 1 process with command name 'condor_collecto'
Regards,
Dennis
--
..............................................................
Riege Software International GmbH Fon: +49 (2159) 9148 0
Mollsfeld 10 Fax: +49 (2159) 9148 11
40670 Meerbusch Web: www.riege.com
Germany E-Mail: kuhlmeier at riege.com
--- ---
Handelsregister: Managing Directors:
Amtsgericht Neuss HRB-NR 4207 Christian Riege
USt-ID-Nr.: DE120585842 Gabriele Riege
Johannes Riege
..............................................................
YOU CARE FOR FREIGHT, WE CARE FOR YOU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kuhlmeier.vcf
Type: text/x-vcard
Size: 306 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20090826/fbe1d50c/attachment.vcf>
More information about the Devel
mailing list