Update smart plugin configuration file

This commit is contained in:
Jeremy Gardais 2020-02-25 17:38:05 +01:00
parent 4c51fb4576
commit 51e51733a7
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
[smart]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_smart_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD /usr/bin/sudo -E -u root $XYMONCLIENTHOME/ext/smart
CMD /usr/bin/sudo -E -u root {{ xymon_cli__plug_smart_script_path }}
LOGFILE /var/log/xymon/smart.log
INTERVAL {{ xymon_cli__plug_smart_interval }}