summaryrefslogtreecommitdiff
path: root/files/configs/Debian/defaults/hostgroups.cfg
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-01 13:33:36 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-01 13:33:36 -0500
commit1e7b51004868a762f577831e686d1b851e2b08c2 (patch)
treea9234a247aa0697635d04e1befbbe5db318ea7cb /files/configs/Debian/defaults/hostgroups.cfg
parentc04458174e23b7b21f687cefdf11ac9a8aabf679 (diff)
Add support for Debian; split up package defaults and create new nagios::default resource; add support for lighttpd and headless httpd configurations; move common commands definitions into nagios::commands
Diffstat (limited to 'files/configs/Debian/defaults/hostgroups.cfg')
-rw-r--r--files/configs/Debian/defaults/hostgroups.cfg38
1 files changed, 38 insertions, 0 deletions
diff --git a/files/configs/Debian/defaults/hostgroups.cfg b/files/configs/Debian/defaults/hostgroups.cfg
new file mode 100644
index 0000000..e711755
--- /dev/null
+++ b/files/configs/Debian/defaults/hostgroups.cfg
@@ -0,0 +1,38 @@
+# Some generic hostgroup definitions
+
+# A simple wildcard hostgroup
+define hostgroup {
+ hostgroup_name all
+ alias All Servers
+ members *
+ }
+
+# A list of your Debian GNU/Linux servers
+define hostgroup {
+ hostgroup_name debian-servers
+ alias Debian GNU/Linux Servers
+ members localhost
+ }
+
+# A list of your web servers
+define hostgroup {
+ hostgroup_name http-servers
+ alias HTTP servers
+ members localhost
+ }
+
+# A list of your ssh-accessible servers
+define hostgroup {
+ hostgroup_name ssh-servers
+ alias SSH servers
+ members localhost
+ }
+
+# nagios doesn't like monitoring hosts without services, so this is
+# a group for devices that have no other "services" monitorable
+# (like routers w/out snmp for example)
+define hostgroup {
+ hostgroup_name ping-servers
+ alias Pingable servers
+ members gateway
+ }