X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Feventhandlers.cfg;h=14258d66106ee2fb8d4f1360fa681e58e61fd4fa;hb=db75b8d6f96b7f61a11501690a54bb277021995b;hp=d4a632dcc4a3cfe8df41b04a325d7650947deba2;hpb=85273e65814c0338beae36f4714a9f4d37023355;p=mirror%2Fdsa-nagios.git diff --git a/config/static/eventhandlers.cfg b/config/static/eventhandlers.cfg index d4a632d..14258d6 100644 --- a/config/static/eventhandlers.cfg +++ b/config/static/eventhandlers.cfg @@ -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$' CRITICAL restart-samhain +}