summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/03_host_types.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/pdv/servers/03_host_types.cfg')
-rw-r--r--config/pdv/servers/03_host_types.cfg39
1 files changed, 39 insertions, 0 deletions
diff --git a/config/pdv/servers/03_host_types.cfg b/config/pdv/servers/03_host_types.cfg
new file mode 100644
index 0000000..b47329d
--- /dev/null
+++ b/config/pdv/servers/03_host_types.cfg
@@ -0,0 +1,39 @@
+define host {
+ name unit
+ use generic-host
+ check_period 24x7 ; By default, Linux hosts are checked round the clock
+ check_interval 5 ; Actively check the host every 5 minutes
+ retry_interval 1 ; Schedule host check retries at 1 minute intervals
+ max_check_attempts 10 ; Check each Linux host 10 times (max)
+ notification_period 24x7 ; Linux admins hate to be woken up, so we only notify during the day
+ notification_interval 1440 ; Resend notifications every 2 hours
+ notification_options d,u,r ; Only send notifications for specific host states
+ contact_groups pdv-admins ; Notifications get sent to the admins by default
+ check_command check_host!500,10%!2000,40%
+ register 0
+}
+
+define host {
+ name switch
+ use unit
+ icon_image switch.gif
+ vrml_image switch.gd2
+ statusmap_image switch.gd2
+ register 0
+}
+
+
+define host {
+ name server
+ use unit
+ icon_image rack-server.gif
+ vrml_image rack-server.gd2
+ statusmap_image rack-server.gd2
+ register 0
+}
+
+define host {
+ name cluster
+ use server
+ register 0
+}