Nagios 2.9 and Escalations.
Steven Haigh
steven_haigh at pacific.net.au
Thu Jun 7 10:23:38 CEST 2007
Ahhhh Thanks Robert. I think it would be of great help if the wildcard
information was on the pages detailing service and host escalations! :)
On 7/6/07 2:30 PM, "Robert King" <robert.king at publishingtechnology.com>
wrote:
> Steven Haigh wrote:
>>
>> I've read through the docs of serviceescalation and hostescalation and
>> there's one thing that remains unclear to me. If a hostescalation is
>> defined, does this ONLY activate when the host check fails (ie
>> check-host-alive) or if any of the services on the host fails?
>>
>>
> The host escalation will only be used for host checks. You'll need to escalate
> the services on the host separately.
>
>>
>> If it's only triggered on the check-host-alive failing, is there an easy
>> way (ie a wildcard or similar) to activate escalation based on ALL
>> services for a host? Does this require a serviceescalation definition
>> for EVERY service on a host? I sure hope not!
>>
>>
> Yes, you can use a wildcard, e.g.:
>
> define serviceescalation {
> hostgroups important-hosts
> service_description *
> contact_groups all-page
> first_notification 5
> last_notification 20
> notification_interval 2
> }
>
> For more information on this, see the Nagios manual section entitled
> "Time-saving tips for object definitions":
>
> http://nagios.sourceforge.net/docs/2_0/templatetricks.html
>
>
> Hope this helps,
>
> Rob
>
> --
> Robert King
> UNIX Systems Administrator
> Publishing Technology plc
> T: +1 401 331 2014 x120
> F: +1 401 331 2015
> robert.king at publishingtechnology.com
> http://www.publishingtechnology.com <http://www.publishingtechnology.com/>
> GPG Public key: http://tinyurl.com/9zmws
>
--
Regards,
Steven Haigh | IT Operations
Pacific Internet Australia Pty Ltd
Email: steven_haigh at pacific.net.au
Direct Tel: +61 3 9674-7623
Fax: +61 3 9698-4866
www.pacific.net.au
Level 1, 1 Southbank Boulevard
Southbank VIC 3006
Pacific Internet is a next-generation IP communication solutions
provider, and the largest telco-independent Internet Communications
Service Provider by geographic reach in the Asia Pacific region.
www.pacnet.com
SINGAPORE | HONG KONG | PHILIPPINES | AUSTRALIA | INDIA | THAILAND |
MALAYSIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070607/d523a2be/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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