Merge branch 'master' of mathias-kettner.de:omd
[omd.git] / packages / shinken / SHINKEN_BROKER_PORT.hook
blobd6af7bbd6a0014fc4581cfb6d6614f1072bae1ea
1 #!/bin/bash
3 # Alias: TCP port the Shinken broker listens on
4 # Menu: Basic
5 # Description:
6 # If you configured Shinken as the monitoring core, this is the
7 # listening port of the broker .
9 case "$1" in
10 default)
11 echo "localhost:7772"
13 choices)
14 echo "(none)|([1-9][0-9]{0,4})|([a-zA-Z0-9\.\-]*:[1-9][0-9]{0,4})"
16 set)
18 depends)
19 [ "$CONFIG_CORE" = shinken ]
21 esac