Watch my machines --- novgorod, olinda
authorAlex Dehnert <adehnert@mit.edu>
Wed, 20 Apr 2011 17:32:13 +0000 (13:32 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Wed, 20 Apr 2011 17:32:13 +0000 (13:32 -0400)
local.d/adehnert-host.cfg [new file with mode: 0644]
local.d/novgorod.cfg [new file with mode: 0644]
local.d/olinda.cfg [new file with mode: 0644]

diff --git a/local.d/adehnert-host.cfg b/local.d/adehnert-host.cfg
new file mode 100644 (file)
index 0000000..05c736f
--- /dev/null
@@ -0,0 +1,36 @@
+define host{
+       name            adehnert-host
+       use             generic-host
+       register        0
+}
+
+define hostgroup {
+        hostgroup_name  adehnert-hosts
+       members         olinda,novgorod
+}
+
+define service {
+       name                    adehnert-service
+       use                     generic-service
+        check_interval         2
+       retry_interval          1
+        max_check_attempts     2
+       contact_groups  adehnert-pub
+       #notification_interval  10
+        notification_period    24x7
+        notification_options    w,u,c,r
+       register 0
+}
+
+define service {
+       use                     adehnert-service
+        hostgroup_name         adehnert-hosts
+        service_description    PING
+       check_command           check_ping!500.0,30%!3000.0,80%
+}
+define service {
+       use                     adehnert-service
+       hostgroup_name          adehnert-hosts
+       service_description     SSH
+       check_command           check_ssh
+}
diff --git a/local.d/novgorod.cfg b/local.d/novgorod.cfg
new file mode 100644 (file)
index 0000000..e559f16
--- /dev/null
@@ -0,0 +1,5 @@
+define host{
+        use                     adehnert-host            ; Name of host template to use
+        host_name               novgorod
+        address                 18.208.0.217
+}
diff --git a/local.d/olinda.cfg b/local.d/olinda.cfg
new file mode 100644 (file)
index 0000000..52b83d8
--- /dev/null
@@ -0,0 +1,5 @@
+define host{
+        use                     adehnert-host            ; Name of host template to use
+        host_name               olinda
+        address                 18.208.0.204
+}