summaryrefslogtreecommitdiffstats
path: root/god/Monitoring/nagios/conf/services.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'god/Monitoring/nagios/conf/services.cfg')
-rw-r--r--god/Monitoring/nagios/conf/services.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/god/Monitoring/nagios/conf/services.cfg b/god/Monitoring/nagios/conf/services.cfg
new file mode 100644
index 00000000..e3a61eb0
--- /dev/null
+++ b/god/Monitoring/nagios/conf/services.cfg
@@ -0,0 +1,26 @@
+# check that web services are running
+define service {
+ hostgroup_name http-servers
+ service_description HTTP
+ check_command check_http
+ use generic-service
+ notification_interval 0 ; set > 0 if you want to be renotified
+}
+
+# check that ssh services are running
+define service {
+ hostgroup_name ssh-servers
+ service_description SSH
+ check_command check_ssh
+ use generic-service
+ notification_interval 0 ; set > 0 if you want to be renotified
+}
+
+# check that ping-only hosts are up
+define service {
+# hostgroup_name ping-servers
+ service_description PING
+ check_command check_ping!100.0,20%!500.0,60%
+ use generic-service
+ notification_interval 0 ; set > 0 if you want to be renotified
+}