X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Feventhandlers.cfg;h=14258d66106ee2fb8d4f1360fa681e58e61fd4fa;hb=db75b8d6f96b7f61a11501690a54bb277021995b;hp=25aa64bfe97e3c7288a94e0741a0e20c86c88917;hpb=86c70f319dd771f9a7c0e33465c30a6258be1c01;p=mirror%2Fdsa-nagios.git diff --git a/config/static/eventhandlers.cfg b/config/static/eventhandlers.cfg index 25aa64b..14258d6 100644 --- a/config/static/eventhandlers.cfg +++ b/config/static/eventhandlers.cfg @@ -1,4 +1,9 @@ define command{ command_name dsa_event_handler_restart_ekey - command_line /usr/lib/nagios/plugins/dsa-eventhandler-restart-service '$SERVICESTATE$' '$SERVICESTATETYPE$' '$SERVICEATTEMPT$' '$HOSTADDRESS$' 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 }