check_procs problems

Webster, Stuart SITI-ITDIUR Stuart.Webster at shell.com
Tue May 20 11:03:23 CEST 2003


Hello

I am trying to monitor 3 Processes with nagios.

/usr/sbin/inetd
pbs_server

/opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose -not


I have tried the following.


check_procs -c 1:1 -C /usr/sbin/inetd                 this works fine  "OK - 1 processes running with command name /usr/sbin/inetd"


check_procs -c 1:1 -C pbs_server	    this reports "CRITICAL - 0 processes running with command name pbs_server"
but ps -ef|grep pbs_server  reports          "root 19925     1  0   May 07 ?        0:25 pbs_server"
so the service is up, but  check_procs is not seeing it?????  any ideas?

also the third process i dont know how to check as the number in the command line changes with every instance of the process, so 

check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose -not"            this will not work as only 1 process has that number.

Any help from much appreciated.


Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030520/fcf6f797/attachment.html>


More information about the Users mailing list