summaryrefslogtreecommitdiffstats
path: root/Monitoring/nagios/conf/services.cfg
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-10-05 10:46:47 +0200
committerEUcancER <root@euer.krebsco.de>2012-10-05 10:46:47 +0200
commitc5fcba52713424c1653b802b4090bb182782362d (patch)
tree1cce378e27e4a5672672185f5c93ee2a25a1c224 /Monitoring/nagios/conf/services.cfg
parent07939d80687399a8ad2fff0242b708013018cc14 (diff)
parent6c89839b7fc344608e61c8916ac9d9925fa98d14 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Monitoring/nagios/conf/services.cfg')
-rw-r--r--Monitoring/nagios/conf/services.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/Monitoring/nagios/conf/services.cfg b/Monitoring/nagios/conf/services.cfg
new file mode 100644
index 00000000..e3a61eb0
--- /dev/null
+++ b/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
+}