Merge branch 'master' of mathias-kettner.de:omd
[omd.git] / packages / shinken / SHINKEN_ARBITER_PORT.hook
blob6681eb7b43bae359f1db555d518b1ad123335c68
1 #!/bin/bash
3 # Alias: TCP port the Shinken arbiter listens on
4 # Menu: Basic
5 # Description:
6 # If you configured Shinken as the monitoring core, this is the
7 # listening port of the arbiter .
9 case "$1" in
10 default)
11 echo "localhost:7770"
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