Nagios V2 Hostgroup escalations
Andreas Ericsson
ae at op5.se
Tue Feb 15 08:22:14 CET 2005
Aaron Urbain wrote:
> same here,
> would be very good to have hostgroup service escalations, or better yet,
> host name and service name of * for all hosts and services.
>
Hostgroup service escalations can be done. It's the service-name
wildcarding that doesn't work if there are hosts in the group that has
services the other hosts don't have.
>
>
> Garrett, Matt M SITI-ITISEEEE wrote:
>
>> Folks
>>
>> As I understand Hostgroup / Service escalations have now been removed.
>>
>> I am sure there must have been a good reason for this , but now need
>> to re-write *.cfg files.
>>
>> A small sample of the autogenerated nagios config file
>>
>> # Host abe-u-s00055 sun check host alive
>> define host{
>> use generic-host
>> host_name abe-u-s00055
>> alias abe_geoportal_apps_servers
>> address 134.What.ever
>> check_command check-host-alive
>> max_check_attempts 10
>> notification_interval 7
>> notification_period 24x7
>> notification_options d,u,r
>> }
>>
>> #Serviceescalation definition abe-u-s00055 sun PING
>> define serviceescalation{
>> host_name abe-u-s00055
>> service_description PING
>> first_notification 2
>> last_notification 2
>> contact_groups sun-admins-escalation
>> notification_interval 0
>> }
>>
>> #Service Definition abe-u-s00055 sun PING
>> define service{
>> use generic-service
>> host_name abe-u-s00055
>> service_description PING
>> is_volatile 0
>> check_period 24x7
>> max_check_attempts 3
>> normal_check_interval 5
>> retry_check_interval 1
>> contact_groups sun-admins
>> notification_interval 7
>> notification_period 24x7
>> notification_options c,r
>> check_command check_newping
>> }
>>
>>
>> # List of which machines are part of Sun-Servers group
>> define hostgroup{
>> hostgroup_name sun-servers
>> alias Sun Servers
>> contact_groups sun-admins
>> members abe-u-s00055
>>
>> # Hostgroup 'sun-servers' escalation definition
>> define hostgroupescalation{
>> hostgroup_name sun-servers
>> first_notification 2
>> last_notification 2
>> contact_groups sccalert-admins
>> notification_interval 0
>> }
>>
>>
>>
>> Any idea , on how to re-write this under Nagios V2.X
>>
>> Thanks
>>
>> Matt
>>
>>
>>
>>
>>
>> Matthew Garrett
>> Linux / Unix Help Desk EP
>> Shell Information Technology International Limited
>> Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
>>
>> * Tel: * +44 (0)1224 81 7920 * Other Tel: * Internal 630 1506
>> * Email: *
>> * Internet: * http://www.shell.com
>>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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