check_procs ELAPSED

Rodrigo Torres rodrigo_correo at hotmail.com
Sat May 28 00:40:55 CEST 2005


Hi everyone

I installed Nagios on Solaris and Linux.
I´m trying to use check_procs plugin to check java process etime (ps –eo 
etime), so I want to receive an alert if the java process has an elapsed 
time higher than 1000 second

The command is:
/usr/lib/nagios/plugins/check_procs -C java –c 1000 --metric=ELAPSED

-m, --metric=TYPE
   Check thresholds against metric. Valid types:
   PROCS   - number of processes (default)
   VSZ     - virtual memory size
   RSS     - resident set memory size
   CPU     - percentage cpu
   ELAPSED - time elapsed in seconds

but the result isn´t correct.



Am I using the correct syntax ?.
Thanks a lot
Rodrigo

_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América 
Latina y USA: http://latam.msn.com/empleos/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin 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