check_logfiles: 3.7.5.1
[omd.git] / packages / check_mk / MKEVENTD_SNMPTRAP.hook
blob0da7e162c9d49382685329a3f1832b6728eb37dd
1 #!/bin/bash
3 # Alias: Enable Builtin SNMPTrap Server
4 # Menu: Addons
5 # Description:
6 # If this option is enabled then mkeventd starts a builtin snmptrap
7 # server that receives snmptrap messages via TCP port 162.
8 # Enabling this option makes the mkeventd started via a SUID helper
9 # that first opens the (priviledged) port 162 and then starting the
10 # actual event daemon.
12 case "$1" in
13 default)
14 echo "off"
16 choices)
17 echo "on: enable"
18 echo "off: disable"
20 depends)
21 [ "$CONFIG_MKEVENTD" = on ]
23 esac