Compare commits
3 Commits
c6115085a9
...
e4e2518625
Author | SHA1 | Date |
---|---|---|
Jeremy Gardais | e4e2518625 | |
Jeremy Gardais | 5a87fc07fb | |
Jeremy Gardais | 241ecaac17 |
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,3 +1,13 @@
|
|||
## v2.1.0
|
||||
|
||||
### Enhancements
|
||||
* Add new kern probe management.
|
||||
* Update dependencies for libs probe after hobbit-plugins 20230301 upgrade
|
||||
|
||||
### Removed
|
||||
* Remove hddtemp dependency. Package is no longer available in Debian Bookworm
|
||||
and replaced by **drivetemp** kernel module (working since Debian Bullseye).
|
||||
|
||||
## v2.0.3
|
||||
|
||||
### Fix
|
||||
|
|
16
README.md
16
README.md
|
@ -60,13 +60,24 @@ sensors and event log.
|
|||
* **xymon_cli__plug_ipmi_tpl** : Template used to generate the previous config file [default : `etc/xymon/clientlaunch.d/ipmi.cfg.j2`].
|
||||
* **xymon_cli__plug_ipmi_interval** : Time between each run of the `ipmi` plugin [default : `5m`].
|
||||
|
||||
#### Kern
|
||||
|
||||
Variables for the kern plugin from hobbit-plugins. The plugin check for running
|
||||
outdated running kernel and need for reboot.
|
||||
|
||||
* **xymon_cli__plug_kern_state** : The state of plugin `kern` [default : `true`].
|
||||
* **xymon_cli__plug_kern_package** : The packages to install to provide `kern` plugin [default : `[ 'binutils', 'libfile-slurp-perl', 'libsort-naturally-perl' ]`].
|
||||
* **xymon_cli__plug_kern_path** : Configuration file for the `kern` plugin [default : `/etc/xymon/clientlaunch.d/kern.cfg`].
|
||||
* **xymon_cli__plug_kern_tpl** : Template used to generate the previous config file [default : `etc/xymon/clientlaunch.d/kern.cfg.j2`].
|
||||
* **xymon_cli__plug_kern_interval** : Time between each run of the `kern` plugin [default : `5m`].
|
||||
|
||||
#### Libs
|
||||
|
||||
Variables for the Libs plugin from hobbit-plugins. The plugin check for running
|
||||
processes with upgraded libraries.
|
||||
|
||||
* **xymon_cli__plug_libs_state** : The state of plugin `libs` [default : `true`].
|
||||
* **xymon_cli__plug_libs_package** : The packages to install to provide `libs` plugin [default : `[ 'binutils', 'lsof', 'libyaml-tiny-perl', 'libfile-slurp-perl', 'libsort-naturally-perl' ]`].
|
||||
* **xymon_cli__plug_libs_package** : The packages to install to provide `libs` plugin [default : `[ 'lsof', 'sudo', 'libyaml-tiny-perl' ]`].
|
||||
* **xymon_cli__plug_libs_path** : Configuration file for the `libs` plugin [default : `/etc/xymon/clientlaunch.d/libs.cfg`].
|
||||
* **xymon_cli__plug_libs_tpl** : Template used to generate the previous config file [default : `etc/xymon/clientlaunch.d/libs.cfg.j2`].
|
||||
* **xymon_cli__plug_libs_interval** : Time between each run of the `libs` plugin [default : `5m`].
|
||||
|
@ -193,7 +204,7 @@ one's recommended by the vendor and check a recent (<24h) test was done.
|
|||
Variables for the temp plugin from hobbit-plugins. Simple temperature monitor.
|
||||
|
||||
* **xymon_cli__plug_temp_state** : The state of plugin `temp` [default : `False`].
|
||||
* **xymon_cli__plug_temp_package** : The packages to install to provide `temp` plugin [default : `[ 'libfile-which-perl', 'libyaml-tiny-perl', 'hddtemp', 'smartmontools', 'libxml-twig-perl' ]`].
|
||||
* **xymon_cli__plug_temp_package** : The packages to install to provide `temp` plugin [default : `[ 'libfile-which-perl', 'libyaml-tiny-perl', 'smartmontools', 'libxml-twig-perl' ]`].
|
||||
* **xymon_cli__plug_temp_path** : Configuration file for the `temp` plugin [default : `'/etc/xymon/clientlaunch.d/temp.cfg'`].
|
||||
* **xymon_cli__plug_temp_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/temp.cfg.j2'`].
|
||||
* **xymon_cli__plug_temp_interval** : Time between each run of the `temp` plugin [default : `'5m'`]
|
||||
|
@ -260,6 +271,7 @@ This role will :
|
|||
|
||||
Some plugins and options can be managed with this role :
|
||||
* apt : Check state of packages and repositories.
|
||||
* kern : Check for outdated running kernel and need for reboot.
|
||||
* libs : Check for running processes with upgraded libraries.
|
||||
* mq : Check mail queue.
|
||||
* zfs : Check ZFS pools status.
|
||||
|
|
|
@ -72,9 +72,17 @@ xymon_cli__plug_ipmi_tpl: 'etc/xymon/clientlaunch.d/ipmi.cfg.j2'
|
|||
xymon_cli__plug_ipmi_interval: '5m'
|
||||
|
||||
## ]]]
|
||||
## Plugin kern [[[
|
||||
xymon_cli__plug_kern_state: true
|
||||
xymon_cli__plug_kern_package: [ 'binutils', 'libfile-slurp-perl', 'libsort-naturally-perl' ]
|
||||
xymon_cli__plug_kern_path: '/etc/xymon/clientlaunch.d/kern.cfg'
|
||||
xymon_cli__plug_kern_tpl: 'etc/xymon/clientlaunch.d/kern.cfg.j2'
|
||||
xymon_cli__plug_kern_interval: '5m'
|
||||
|
||||
# ]]]
|
||||
## Plugin libs [[[
|
||||
xymon_cli__plug_libs_state: true
|
||||
xymon_cli__plug_libs_package: [ 'binutils', 'lsof', 'libyaml-tiny-perl', 'libfile-slurp-perl', 'libsort-naturally-perl' ]
|
||||
xymon_cli__plug_libs_package: [ 'lsof', 'sudo', 'libyaml-tiny-perl' ]
|
||||
xymon_cli__plug_libs_path: '/etc/xymon/clientlaunch.d/libs.cfg'
|
||||
xymon_cli__plug_libs_tpl: 'etc/xymon/clientlaunch.d/libs.cfg.j2'
|
||||
xymon_cli__plug_libs_interval: '5m'
|
||||
|
@ -179,7 +187,7 @@ xymon_cli__plug_smart_interval: '10m'
|
|||
## Plugin temp [[[
|
||||
### Enable by default on hardware host
|
||||
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', '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' ]
|
||||
|
@ -205,6 +213,7 @@ xymon_cli__plug_zfs_interval: '5m'
|
|||
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_ipmi_package if xymon_cli__plug_ipmi_state|bool else [])
|
||||
+ (xymon_cli__plug_kern_package if xymon_cli__plug_kern_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_mq_package if xymon_cli__plug_mq_state|bool else [])
|
||||
|
@ -226,6 +235,9 @@ xymon_cli__plug_combined_clientlaunch:
|
|||
- name: ipmi
|
||||
path: '{{ xymon_cli__plug_ipmi_path }}'
|
||||
template: '{{ xymon_cli__plug_ipmi_tpl }}'
|
||||
- name: kern
|
||||
path: '{{ xymon_cli__plug_kern_path }}'
|
||||
template: '{{ xymon_cli__plug_kern_tpl }}'
|
||||
- name: libs
|
||||
path: '{{ xymon_cli__plug_libs_path }}'
|
||||
template: '{{ xymon_cli__plug_libs_tpl }}'
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
[kern]
|
||||
# {{ ansible_managed }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_kern_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
CMD $XYMONCLIENTHOME/ext/kern
|
||||
LOGFILE /var/log/xymon/xymonclient.log
|
||||
INTERVAL {{ xymon_cli__plug_kern_interval }}
|
Loading…
Reference in New Issue