Debian Codegraph @

contrib/epel-patches/nagios-0006-Added-several-images-to-the-sample-config-revb.patch

raw
1 diff -up ./sample-config/template-object/templates.cfg.in.more_images ./sample-config/template-object/templates.cfg.in
2 --- ./sample-config/template-object/templates.cfg.in.more_images 2018-11-28 13:10:25.822264939 -0600
3 +++ ./sample-config/template-object/templates.cfg.in 2018-11-28 13:16:15.711410141 -0600
4 @@ -123,6 +123,7 @@ define host {
5 notification_interval 30 ; Resend notifications every 30 minutes
6 notification_options d,r ; Only send notifications for specific host states
7 contact_groups admins ; Notifications get sent to the admins by default
8 + statusmap_image printer.png
9 register 0 ; DON'T REGISTER THIS - ITS JUST A TEMPLATE
10 }
11
12 @@ -142,9 +143,17 @@ define host {
13 notification_interval 30 ; Resend notifications every 30 minutes
14 notification_options d,r ; Only send notifications for specific host states
15 contact_groups admins ; Notifications get sent to the admins by default
16 + statusmap_image switch.png
17 register 0 ; DON'T REGISTER THIS - ITS JUST A TEMPLATE
18 }
19
20 +# Define a template for routers that we can reuse
21 +define host{
22 + name generic-router ; The name of this host template
23 + use generic-switch ; Inherit default values from the generic-host template
24 + statusmap_image router.png
25 + register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
26 +}
27
28
29 ###############################################################################