b092fe7
diff -up ./sample-config/template-object/templates.cfg.in.more_images ./sample-config/template-object/templates.cfg.in
496b271
--- ./sample-config/template-object/templates.cfg.in.more_images	2018-11-28 13:10:25.822264939 -0600
496b271
+++ ./sample-config/template-object/templates.cfg.in	2018-11-28 13:16:15.711410141 -0600
496b271
@@ -123,6 +123,7 @@ define host {
496b271
     notification_interval           30                      ; Resend notifications every 30 minutes
496b271
     notification_options            d,r                     ; Only send notifications for specific host states
496b271
     contact_groups                  admins                  ; Notifications get sent to the admins by default
496b271
+    statusmap_image		printer.png
496b271
     register                        0                       ; DON'T REGISTER THIS - ITS JUST A TEMPLATE
496b271
 }
496b271
 
496b271
@@ -142,9 +143,17 @@ define host {
496b271
     notification_interval           30                      ; Resend notifications every 30 minutes
496b271
     notification_options            d,r                     ; Only send notifications for specific host states
496b271
     contact_groups                  admins                  ; Notifications get sent to the admins by default
496b271
+    statusmap_image		switch.png
496b271
     register                        0                       ; DON'T REGISTER THIS - ITS JUST A TEMPLATE
496b271
 }
Jose Pedro Oliveira edad0f7
 
Jose Pedro Oliveira edad0f7
+# Define a template for routers that we can reuse
Jose Pedro Oliveira edad0f7
+define host{
496b271
+    name			generic-router	; The name of this host template
496b271
+    use			generic-switch	; Inherit default values from the generic-host template
496b271
+    statusmap_image		router.png
496b271
+    register		0		; DONT REGISTER THIS - ITS JUST A TEMPLATE
496b271
+}
496b271
 
Jose Pedro Oliveira edad0f7
 
496b271
 ###############################################################################