Monitoring a process
Jerad Riggin
jriggin at gmail.com
Tue Nov 13 21:54:42 CET 2007
Thanks for the response. This is what I did just a bit ago. I have
it successfully monitoring outlook.exe, however no e-mails are being
sent when it's critical.
Here is what I have as the service definition:
define service{
use leadlander
host_name leadlandervm
service_description Outlook Process
contact_groups bo,mis
notification_options w,u,c,r
check_command check_nt2!PROCSTATE!-d SHOWALL -l outlook.exe
}
Here is what I have for the leadlander template
define service{
use generic-service
name leadlander
is_volatile 0
check_period 24x7
max_check_attempts 15
normal_check_interval 20
retry_check_interval 20
notification_interval 20
notification_period 24x7
register 0
}
Does it only notify after the first retry failure, or should it notify
as soon as the service is critical? Any ideas?
- Show quoted text -
On Nov 13, 2007 2:39 PM, Rich Sasko <rsasko at niag.com> wrote:
>
> Jerad Riggin <jriggin <at> gmail.com> writes:
>
> >
> > Would it be possible using Nsclient++ to monitor for a process name?
> > We need to make sure Outlook.exe is running on the server and if it
> > isn't, send out notifications.
> >
> > Thanks,
> >
> > Jerad
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > 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
> >
> >
>
>
> Jerad,
>
> We have the NSClient++ running on our Windows servers and the following
> service check is an example of how we are monitoring services from the nagios
> server:
>
> define service{
> use generic-service
> host_name email server
> service_description explorer
> check_command check_nt!PROCSTATE!-d SHOWALL -l explorer.exe
> }
>
> It is actually in one of the sample config files, you should just have to tell
> it what process you want to watch.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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