check_procs and Linux?
Hadmut Danisch
hadmut-kdZ+H/N/Ve2ELgA04lAiVw at public.gmane.org
Thu Feb 16 13:23:24 CET 2006
Hi,
I'm trying
# /usr/lib/nagios/plugins/check_procs -c 2:10 -C tcsh
PROCS CRITICAL: 0 processes with command name 'tcsh'
although there are plenty of tcsh processes (tcsh used for testing,
same problem occurs with all other processes.
ps:
% /bin/ps axwo "stat uid pid ppid vsz rss pcpu comm args" | egrep '(STAT|tcsh)'
STAT UID PID PPID VSZ RSS %CPU COMMAND COMMAND
S 1000 4968 4853 7644 2860 0.0 xterm xterm -sb -title tcsh -geometry 90x38+0+120
Ss 1000 4981 4968 5972 2188 0.0 tcsh -csh
Ss+ 1000 4982 4967 5972 2128 0.0 tcsh -csh
Ss 1000 5808 5807 6492 2672 0.0 tcsh -csh
Ss 1000 5810 5809 6024 2196 0.0 tcsh -csh
Is it possible that check_procs has a problem with parsing the output
of ps?
regards
Hadmut
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins 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