Prefix net probe command with sudo
Required for some interfaces.
This commit is contained in:
parent
277308637b
commit
8fa4ebaf77
|
@ -1,9 +1,13 @@
|
||||||
|
## v2.0.2
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Prefix **net** probe command with **sudo** (required for some interfaces).
|
||||||
|
|
||||||
## v2.0.1
|
## v2.0.1
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
* Correct the path for ZFS probe.
|
* Correct the path for ZFS probe.
|
||||||
|
|
||||||
|
|
||||||
## v2.0.0
|
## v2.0.0
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
## From ipr-cnrs.xymon role
|
## From ipr-cnrs.xymon role
|
||||||
{{ '#DISABLED' if xymon_cli__plug_net_state else 'DISABLED' }}
|
{{ '#DISABLED' if xymon_cli__plug_net_state else 'DISABLED' }}
|
||||||
ENVFILE /etc/xymon/xymonclient.cfg
|
ENVFILE /etc/xymon/xymonclient.cfg
|
||||||
CMD $XYMONCLIENTHOME/ext/net
|
CMD /usr/bin/sudo -E -u root $XYMONCLIENTHOME/ext/net
|
||||||
LOGFILE /var/log/xymon/xymonclient.log
|
LOGFILE /var/log/xymon/xymonclient.log
|
||||||
INTERVAL {{ xymon_cli__plug_net_interval }}
|
INTERVAL {{ xymon_cli__plug_net_interval }}
|
||||||
|
|
Loading…
Reference in New Issue