Monitoring specific process?

Tedman Eng teng at dataway.com
Tue Jun 17 22:41:38 CEST 2003


# check_procs --help

... RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max')...



Thus, the command you want is:

check_procs -w 1: -C crond


However, if you want to test a remote host, you need to wrapper it using
check_by_ssh or use nrpe.
There's a FAQ about remote hosts.
http://www.nagios.org/faqs/viewfaq.php?faq_id=59





"solkan" <nils_mueller at hotmail.com> wrote in message
news:20030617102652.1625.qmail at pod-163.dolphin-server.co.uk...
>
> Hello,
> i'd like nagios to check for a specific process is running on a remote
host.
> In this particular case for crond.
> How could this be accomplished?
> ./check_procs xxx.xxx.com -w 0 -c 0 -C crond /- a crond
>
> always returns:
>
> OK - 0 processes running with command name crond
>
> I'd like to see a warning if this process is not running.
>
> Any ideas?
>
> Kind regards
>





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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