Make use of the server extinfo composition
authorPaul Wise <pabs@debian.org>
Tue, 9 Dec 2014 05:49:54 +0000 (13:49 +0800)
committerPaul Wise <pabs@debian.org>
Tue, 9 Dec 2014 05:49:54 +0000 (13:49 +0800)
Move most extinfo to the computers hostgroup

Override the alt text for the freebsd hostgroup

config/nagios-master.cfg

index 31b7cf1..fd8566d 100644 (file)
@@ -1112,6 +1112,9 @@ hostgroups:
   computers:
     alias: computers
     private: 1
+    extinfo-icon_image: base/debian.png
+    extinfo-icon_image_alt: Debian GNU/Linux
+    extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
   layer2-infrastructure:
     alias: Layer 2 Devices
     extinfo-icon_image: base/switch40.png
@@ -1126,6 +1129,7 @@ hostgroups:
   freebsd:
     alias: freebsd
     private: 1
+    extinfo-icon_image_alt: Debian GNU/kFreeBSD
   armhf:
     alias: armhf
     private: 1
@@ -1135,24 +1139,12 @@ hostgroups:
 
   porterbox:
     alias: developer accessible porter machines
-    extinfo-icon_image: base/debian.png
-    extinfo-icon_image_alt: Debian GNU/Linux
-    extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
   service:
     alias: machines running services
-    extinfo-icon_image: base/debian.png
-    extinfo-icon_image_alt: Debian GNU/Linux
-    extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
   buildd:
     alias: buildd systems
-    extinfo-icon_image: base/debian.png
-    extinfo-icon_image_alt: Debian GNU/Linux
-    extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
   general:
     alias: general purpose developer accessible machines
-    extinfo-icon_image: base/debian.png
-    extinfo-icon_image_alt: Debian GNU/Linux
-    extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
 
   dl380:
     alias: HP DL380 hosts
@@ -1190,13 +1182,10 @@ hostgroups:
 
   squeeze:
     alias: Hosts running squeeze
-    extinfo-icon_image: base/debian.png
   wheezy:
     alias: Hosts running wheezy
-    extinfo-icon_image: base/debian.png
   jessie:
     alias: Hosts running jessie
-    extinfo-icon_image: base/debian.png
 
   kvmdomains:
     alias: Hosts that are KVM domains