repo.or.cz
/
omd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of mathias-kettner.de:omd
[omd.git]
/
packages
/
nsca
/
NSCA.hook
blob
34d76d6da8b15aefe04cd948d2909cbef7a29e58
1
#!/bin/bash
2
3
# Alias: Make NSCA accessable via TCP
4
# Menu: Distributed Monitoring
5
# Description:
6
# This option is used to make NSCA reachable via TCP on a port configurable with
7
# NSCA_TCP_PORT.
8
9
case
"
$1
"
in
10
default
)
11
echo
"off"
12
;;
13
choices
)
14
echo
"on: enable"
15
echo
"off: disable"
16
;;
17
set
)
18
;;
19
depends
)
20
[
"
$CONFIG_CORE
"
!=
none
]
21
;;
22
esac