How to check if an application is up or not
Jens Kruse
jens at kruse-kiel.de
Fri Apr 23 14:53:20 CEST 2004
Hi there,
I hope I haven't missed docs for this:
I'd like to monitor whether an Application ist up or not, conditions
should be
Green: At least 1 instance oc application is up
Yellow: More than 1 instance of application is up
Red: Less than 1 instance of application is up (i.e. application is down)
I tried it with
$ ./check_procs -C application -w 2: -c :0
which tells me
WARNING - 0 processes running with command name application
when application is down
or
CRITICAL - 1 processes running with command name fetchmail
when application is up
and
$ ./check_negate './check_procs -C application'
which tells me
OK - 0 processes running with command name application
when application is down ...
But this doesn't satisfy me ... :-)
Any ideas or hints?
Thanks, Jens
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
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