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