Changeset 376
- Timestamp:
- 02/15/08 01:03:47 (11 months ago)
- Files:
-
- trunk/lib/deprec/templates/nagios/contacts.cfg.erb (modified) (2 diffs)
- trunk/lib/deprec/templates/nagios/hosts.cfg.erb (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/deprec/templates/nagios/contacts.cfg.erb
r217 r376 33 33 alias Nagios Admin ; Full name of user 34 34 35 email mike@bailey.net.au; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******35 email root@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** 36 36 } 37 37 … … 54 54 members nagiosadmin 55 55 } 56 57 # define contact{ # example contact 58 # contact_name linus 59 # alias Linux Torvalds 60 # # contactgroups contactgroup_names 61 # host_notifications_enabled 1 62 # service_notifications_enabled 1 63 # host_notification_period 24x7 64 # service_notification_period 24x7 65 # host_notification_options d,u,r,f,s,n 66 # service_notification_options w,u,c,r,f,s,n 67 # host_notification_commands notify-host-by-email 68 # service_notification_commands notify-service-by-email 69 # email linus@hotmail.com 70 # # pager pager_number or pager_email_gateway 71 # # addressx additional_contact_address 72 # # can_submit_commands [0/1] 73 # # retain_status_information [0/1] 74 # # retain_nonstatus_information [0/1] 75 # } trunk/lib/deprec/templates/nagios/hosts.cfg.erb
r217 r376 1 define contact{ # example contact 2 contact_name mbailey 3 alias Mike Bailey 4 # contactgroups contactgroup_names 5 host_notifications_enabled 1 6 service_notifications_enabled 1 7 host_notification_period 24x7 8 service_notification_period 24x7 9 host_notification_options d,u,r,f,s,n 10 service_notification_options w,u,c,r,f,s,n 11 host_notification_commands notify-host-by-email 12 service_notification_commands notify-service-by-email 13 email mike@bailey.net.au 14 # pager pager_number or pager_email_gateway 15 # addressx additional_contact_address 16 # can_submit_commands [0/1] 17 # retain_status_information [0/1] 18 # retain_nonstatus_information [0/1] 19 } 20 21 define hostgroup{ # example hostgroup 22 hostgroup_name sct 23 alias Square Circle Triangle 1 define hostgroup{ 2 hostgroup_name microsoft 3 alias Big like IBM 24 4 # members hosts 25 5 # hostgroup_members hostgroups … … 30 10 31 11 define host{ # example host with 32 host_name sm0133 alias sm01.blocksglobal.com34 display_name Supermicro 1 (VMware host)35 address sm01.blocksglobal.com36 hostgroups sct12 host_name www.microsoft.com 13 # alias Microsoft homepage 14 # display_name Some Fancy Name 15 address www.microsoft.com 16 hostgroups microsoft 37 17 check_command check-host-alive 38 18 # initial_state [o,d,u] … … 55 35 # retain_status_information [0/1] 56 36 # retain_nonstatus_information [0/1] 57 contacts mbailey58 contact_groups null37 # contacts steve 38 contact_groups admins 59 39 notification_interval 5 60 40 # first_notification_delay # … … 75 55 76 56 define host{ 77 host_name booking78 alias booking.blocksglobal.com79 display_name Booking whitesite80 address booking.blocksglobal.com81 hostgroups sct57 host_name www.hotmail.com 58 # alias hotmail 59 # display_name Fancy name for hotmail 60 address www.hotmail.com 61 hostgroups microsoft 82 62 check_command check-host-alive 83 63 max_check_attempts 5 … … 85 65 retry_interval 1 86 66 check_period 24x7 87 contacts mbailey 88 contact_groups null 67 contact_groups admins 89 68 notification_interval 5 90 69 notification_period 24x7
