summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/check_mk.cf7
1 files changed, 3 insertions, 4 deletions
diff --git a/services/check_mk.cf b/services/check_mk.cf
index dde8219..fef8549 100644
--- a/services/check_mk.cf
+++ b/services/check_mk.cf
@@ -25,11 +25,10 @@ bundle agent check_mk
classes:
freebsd::
"inetd_service_running" expression => returnszero("/usr/sbin/service inetd status", "noshell");
- "sshd_service_running" expression => returnszero("/usr/sbin/service sshd status", "noshell");
commands:
- freebsd.!sshd_service_running::
- "/usr/sbin/service inetd start" classes => if_repaired("inetd_service_repaired");
- freebsd.(!inetd_service_running|check_mk_inetd_conf_file_repaired)::
+ freebsd.!inetd_service_running::
+ "/usr/sbin/service inetd start" classes => if_repaired("inet_service_repaired");
+ freebsd.check_mk_inetd_conf_file_repaired::
"/usr/sbin/service inetd restart" classes => if_repaired("inetd_service_restarted");
reports:
any::