Compare commits
No commits in common. "xymon_client-msgcache" and "master" have entirely different histories.
xymon_clie
...
master
3 changed files with 4 additions and 19 deletions
|
@ -27,30 +27,21 @@ servers
|
|||
to. While DNS-names are ok it is discouraged, defaults to 127.0.0.1.
|
||||
|
||||
|
||||
BOOLEAN PARAMETERS
|
||||
------------------
|
||||
msgcache
|
||||
Enable xymon `msgcache`. Note: XYMONSERVER has to be `127.0.0.1` for using
|
||||
`msgcache` (see `msgcache (8)` of the xymon documentation for details).
|
||||
|
||||
EXAMPLES
|
||||
--------
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
# minimal, report to 127.0.0.1
|
||||
# minmal, report to 127.0.0.1
|
||||
__xymon_client
|
||||
|
||||
# specify server:
|
||||
__xymon_client --servers "192.168.1.1"
|
||||
|
||||
# activate `msgcache` for passive client:
|
||||
__xymon_client --msgcache
|
||||
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
:strong:`cdist__xymon_server`\ (7), :strong:`xymon`\ (7), :strong:`msgcache`\ (8)
|
||||
:strong:`cdist__xymon_server`\ (7), :strong:`xymon`\ (7)
|
||||
|
||||
|
||||
AUTHORS
|
||||
|
|
|
@ -34,18 +34,13 @@ esac
|
|||
|
||||
__package xymon-client --state "$state"
|
||||
|
||||
if [ -f "$__object/parameter/msgcache" ]; then
|
||||
require="__package/xymon-client" __line /etc/xymon/clientlaunch.cfg \
|
||||
--regex DISABLED --state absent
|
||||
fi
|
||||
|
||||
require="__package/xymon-client" __key_value CLIENTHOSTNAME \
|
||||
--file /etc/default/xymon-client \
|
||||
--file /etc/default/xymon-client \
|
||||
--value "'$__target_hostname'" \
|
||||
--delimiter '=' \
|
||||
--state "$state"
|
||||
require="__package/xymon-client" __key_value XYMONSERVERS \
|
||||
--file /etc/default/xymon-client \
|
||||
--file /etc/default/xymon-client \
|
||||
--value "'$servers'" \
|
||||
--delimiter '=' \
|
||||
--state "$state"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
msgcache
|
Loading…
Reference in a new issue