Nagios V2 Hostgroup escalations
Garrett, Matt M SITI-ITISEEEE
matt.garrett at shell.com
Mon Feb 14 14:57:55 CET 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050214/3fe58e5b/attachment.html>
More information about the Users
mailing list