force service check when other fails
Patrick Morris
patrick.morris at hp.com
Wed Jul 4 02:39:48 CEST 2007
Hi Brandino!
On Tue, 03 Jul 2007, Brandino Andreas wrote:
> Is any way to force nagios to check a service when an other fails?
> What i want to do:
> I have a service. When it fails i would like to check the ste of a
> second service. If both failed then it would send an email about the 1st only.
> The important part is that i want the 2nd service to be checked after the failue
> of the first service.
>
> Serviceescalation are a workaround, but they dont "force" a check
> of the 2nd service when the first one fails.
>
> Also, the first two notifications cant be escalated according to
> manual. Is any other way to handle them?
Use an eventhandler and submit a SCHEDULE_SVC_CHECK through the external
command interface on a non-OK state.
If you only want an alert if both fail, you'll probably still want a
dependency to handle that.
I'm not sure what you mean with your last sentence. You can escalate
whenever you want.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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