add samhain restart magic
[mirror/dsa-nagios.git] / config / static / eventhandlers.cfg
index d4a632d..c790128 100644 (file)
@@ -2,3 +2,8 @@ define command{
        command_name    dsa_event_handler_restart_ekey
        command_line    /usr/lib/nagios/plugins/dsa-eventhandler-restart-service '$SERVICESTATE$' '$SERVICESTATETYPE$' '$SERVICEATTEMPT$' '$HOSTADDRESS$' WARNING restart-ekey
 }
+
+define command{
+       command_name    dsa_event_handler_restart_samhain
+       command_line    /usr/lib/nagios/plugins/dsa-eventhandler-restart-service '$SERVICESTATE$' '$SERVICESTATETYPE$' '$SERVICEATTEMPT$' '$HOSTADDRESS$' WARNING restart-samhain
+}