check_logfiles: 3.7.5.1
[omd.git] / packages / check_mk / MKEVENTD.hook
blobe12510d2c06b7e1078f7199cd383a50cf08ebe45
1 #!/bin/bash
3 # Alias: Start Daemon for Check_MK Event Console
4 # Menu: Addons
5 # Description:
6 # This option enables mkeventd - the event correlation and
7 # classification daemon of Check_MK. This daemon will receive
8 # events via a pipe or socket and applies it so a set of
9 # rules.
11 case "$1" in
12 default)
13 echo "off"
15 choices)
16 echo "on: enable"
17 echo "off: disable"
19 set)
20 if [ "$2" = on ] ; then
21 enabled=True
22 else
23 enabled=False
25 echo -e "# Set by OMD hook MKEVENTD, do not change here!\nmkeventd_enabled = $enabled" \
26 > $OMD_ROOT/etc/check_mk/multisite.d/mkeventd.mk
28 esac