omd: add generic port_is_used script
commit3e18ae8ea6428cb6433d86f426bef7eb3369df20
authorSven Nierlein <Sven.Nierlein@consol.de>
Thu, 2 Jul 2015 19:36:34 +0000 (2 21:36 +0200)
committerSven Nierlein <Sven.Nierlein@consol.de>
Fri, 10 Jul 2015 13:17:40 +0000 (10 15:17 +0200)
tree63c7f6dfe2e6c9fae86c033b397673bf7f3843fd
parentd744fe9b84e6cc1bc23b899579be4840dd019525
omd: add generic port_is_used script

instead of doing the same in many hooks, just run port_is_used like:
$OMD_ROOT/lib/port_is_used APACHE_TCP_PORT 5000

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
packages/apache-omd/APACHE_TCP_PORT.hook
packages/omd/Makefile
packages/omd/omd
packages/omd/port_is_used [new file with mode: 0755]
packages/shinken/MONGODB_TCP_PORT.hook
packages/shinken/SHINKEN_WEBUI_TCP_PORT.hook