Add extra var for Nvidia support with temp plugin
This commit is contained in:
parent
9f84ed3c6d
commit
f0af1328ea
|
@ -14,6 +14,7 @@
|
||||||
* Combine clientlaunch files for plugins to manage them in _one_ dedicated task.
|
* Combine clientlaunch files for plugins to manage them in _one_ dedicated task.
|
||||||
* Split base package list in order to allow installation of `xymon-client` without
|
* Split base package list in order to allow installation of `xymon-client` without
|
||||||
"hobbit-plugins".
|
"hobbit-plugins".
|
||||||
|
* Add extra var for Nvidia support with temp plugin.
|
||||||
|
|
||||||
## v1.5.1
|
## v1.5.1
|
||||||
|
|
||||||
|
|
|
@ -191,11 +191,11 @@ Variables for the temp plugin from hobbit-plugins. Simple temperature monitor.
|
||||||
##### Nvidia support
|
##### Nvidia support
|
||||||
|
|
||||||
The temp plugin can also checks NVidia GPU temperature. In order to get those
|
The temp plugin can also checks NVidia GPU temperature. In order to get those
|
||||||
informations, you need to install `nvidia-smi` package by your own or override
|
informations, you need to install `nvidia-smi` package by your own or define
|
||||||
**xymon_cli__plug_temp_package** var :
|
**xymon_cli__plug_temp_extra_package** var :
|
||||||
|
|
||||||
``` yml
|
``` yml
|
||||||
xymon_cli__plug_temp_package: [ 'libfile-which-perl', 'libyaml-tiny-perl', 'hddtemp', 'smartmontools', 'libxml-twig-perl', 'nvidia-smi' ]
|
xymon_cli__plug_temp_extra_package: [ 'nvidia-smi' ]
|
||||||
```
|
```
|
||||||
|
|
||||||
#### ZFS
|
#### ZFS
|
||||||
|
|
|
@ -173,6 +173,9 @@ xymon_cli__plug_smart_interval: '10m'
|
||||||
### Enable by default on hardware host
|
### Enable by default on hardware host
|
||||||
xymon_cli__plug_temp_state: False
|
xymon_cli__plug_temp_state: False
|
||||||
xymon_cli__plug_temp_package: [ 'libfile-which-perl', 'libyaml-tiny-perl', 'hddtemp', 'smartmontools', 'libxml-twig-perl' ]
|
xymon_cli__plug_temp_package: [ 'libfile-which-perl', 'libyaml-tiny-perl', 'hddtemp', 'smartmontools', 'libxml-twig-perl' ]
|
||||||
|
# Define xymon_cli__plug_temp_extra_package in your own inventory.
|
||||||
|
# See Nvidia support in README for more informations
|
||||||
|
#xymon_cli__plug_temp_extra_package: [ 'nvidia-smi' ]
|
||||||
xymon_cli__plug_temp_path: '/etc/xymon/clientlaunch.d/temp.cfg'
|
xymon_cli__plug_temp_path: '/etc/xymon/clientlaunch.d/temp.cfg'
|
||||||
xymon_cli__plug_temp_tpl: 'etc/xymon/clientlaunch.d/temp.cfg.j2'
|
xymon_cli__plug_temp_tpl: 'etc/xymon/clientlaunch.d/temp.cfg.j2'
|
||||||
xymon_cli__plug_temp_interval: '5m'
|
xymon_cli__plug_temp_interval: '5m'
|
||||||
|
@ -192,16 +195,17 @@ xymon_cli__plug_zfs_interval: '5m'
|
||||||
#
|
#
|
||||||
# Combine all packages vars related to plugins (only enabled plugins).
|
# Combine all packages vars related to plugins (only enabled plugins).
|
||||||
#
|
#
|
||||||
xymon_cli__plug_combined_packages: '{{ ((xymon_cli__plug_pkg_list|d([]) if xymon_cli__plug_manage|bool else [])
|
xymon_cli__plug_combined_packages: '{{ ((xymon_cli__plug_pkg_list|d([]) if xymon_cli__plug_manage|bool else [])
|
||||||
+ (xymon_cli__plug_apt_package if xymon_cli__plug_apt_state|bool else [])
|
+ (xymon_cli__plug_apt_package if xymon_cli__plug_apt_state|bool else [])
|
||||||
+ (xymon_cli__plug_ipmi_package if xymon_cli__plug_ipmi_state|bool else [])
|
+ (xymon_cli__plug_ipmi_package if xymon_cli__plug_ipmi_state|bool else [])
|
||||||
+ (xymon_cli__plug_libs_package if xymon_cli__plug_libs_state|bool else [])
|
+ (xymon_cli__plug_libs_package if xymon_cli__plug_libs_state|bool else [])
|
||||||
+ (xymon_cli__plug_megaraid_package if xymon_cli__plug_megaraid_state|bool else [])
|
+ (xymon_cli__plug_megaraid_package if xymon_cli__plug_megaraid_state|bool else [])
|
||||||
+ (xymon_cli__plug_mq_package if xymon_cli__plug_mq_state|bool else [])
|
+ (xymon_cli__plug_mq_package if xymon_cli__plug_mq_state|bool else [])
|
||||||
+ (xymon_cli__plug_net_package if xymon_cli__plug_net_state|bool else [])
|
+ (xymon_cli__plug_net_package if xymon_cli__plug_net_state|bool else [])
|
||||||
+ (xymon_cli__plug_smartoverall_package if xymon_cli__plug_smartoverall_state|bool else [])
|
+ (xymon_cli__plug_smartoverall_package if xymon_cli__plug_smartoverall_state|bool else [])
|
||||||
+ (xymon_cli__plug_smart_package if xymon_cli__plug_smart_state|bool else [])
|
+ (xymon_cli__plug_smart_package if xymon_cli__plug_smart_state|bool else [])
|
||||||
+ (xymon_cli__plug_temp_package if xymon_cli__plug_temp_state|bool else []))
|
+ (xymon_cli__plug_temp_package if xymon_cli__plug_temp_state|bool else [])
|
||||||
|
+ (xymon_cli__plug_temp_extra_package|d([]) if xymon_cli__plug_temp_state|bool else []))
|
||||||
| sort | unique }}'
|
| sort | unique }}'
|
||||||
# ]]]
|
# ]]]
|
||||||
# .. envvar:: xymon_cli__plug_combined_clientlaunch [[[
|
# .. envvar:: xymon_cli__plug_combined_clientlaunch [[[
|
||||||
|
|
Loading…
Reference in New Issue