Merge pull request 'refresh-2024' (#1) from refresh-2024 into master

Reviewed-on: #1
This commit is contained in:
Jeremy Gardais 2024-09-30 16:30:19 +02:00
commit 56ddaab1fd
24 changed files with 38 additions and 26 deletions

View File

@ -1,3 +1,9 @@
## v2.2.0
### Enhancements
* Use **comment** filter for ansible_managed, to allow multi-lines.
* Update SSSD path for libs white list.
## v2.1.0 ## v2.1.0
### Enhancements ### Enhancements

View File

@ -90,13 +90,19 @@ xymon_cli__plug_libs_interval: '5m'
xymon_cli__plug_libs_default_whitelist: xymon_cli__plug_libs_default_whitelist:
/lib/systemd/systemd: /lib/systemd/systemd:
- '.*' - '.*'
/usr/lib/x86_64-linux-gnu/sssd/sssd_be: /usr/libexec/sssd/sssd_autofs:
- '.*' - '.*'
/usr/lib/x86_64-linux-gnu/sssd/sssd_autofs: /usr/libexec/sssd/sssd_be:
- '.*' - '.*'
/usr/lib/x86_64-linux-gnu/sssd/sssd_nss: /usr/libexec/sssd/sssd_nss:
- '.*' - '.*'
/usr/lib/x86_64-linux-gnu/sssd/sssd_pam: /usr/libexec/sssd/sssd_pac:
- '.*'
/usr/libexec/sssd/sssd_pam:
- '.*'
/usr/libexec/sssd/sssd_ssh:
- '.*'
/usr/libexec/sssd/sssd_sudo:
- '.*' - '.*'
/usr/sbin/sssd: /usr/sbin/sssd:
- '.*' - '.*'

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
# Configure the Xymon client settings. # Configure the Xymon client settings.

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{% for package in xymon_cli__plug_apt_combined_whitelist %} {% for package in xymon_cli__plug_apt_combined_whitelist %}
{{ package }} {{ package }}

View File

@ -1,5 +1,5 @@
[apt] [apt]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_apt_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_apt_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[ipmi] [ipmi]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_ipmi_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_ipmi_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[kern] [kern]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_kern_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_kern_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[libs] [libs]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_libs_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_libs_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,6 +1,6 @@
# Requires megaclisas-status package from https://hwraid.le-vert.net/wiki/DebianPackages # Requires megaclisas-status package from https://hwraid.le-vert.net/wiki/DebianPackages
[megaraid] [megaraid]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_megaraid_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_megaraid_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[mq] [mq]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_mq_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_mq_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[net] [net]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## 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

View File

@ -1,5 +1,5 @@
[netstats] [netstats]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_netstats_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_netstats_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[ntpq] [ntpq]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_ntpq_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_ntpq_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[sge] [sge]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_sge_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_sge_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[smart] [smart]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_smart_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_smart_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[smartoverall] [smartoverall]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_smartoverall_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_smartoverall_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[temp] [temp]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_temp_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_temp_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,5 +1,5 @@
[zfs] [zfs]
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_zfs_state else 'DISABLED' }} {{ '#DISABLED' if xymon_cli__plug_zfs_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg ENVFILE /etc/xymon/xymonclient.cfg

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{% set inputmerged = xymon_cli__plug_libs_default_whitelist.copy() %} {% set inputmerged = xymon_cli__plug_libs_default_whitelist.copy() %}
{% set _ = inputmerged.update(xymon_cli__plug_libs_whitelist) %} {% set _ = inputmerged.update(xymon_cli__plug_libs_whitelist) %}

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} # {{ ansible_managed | comment }}
## From ipr-cnrs.xymon role ## From ipr-cnrs.xymon role
{{ ansible_hostname }}: {{ ansible_hostname }}:
- {{ ansible_default_ipv4.interface }} - {{ ansible_default_ipv4.interface }}

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# {{ ansible_managed }} # {{ ansible_managed | comment }}
# From ipr-cnrs.xymon role # From ipr-cnrs.xymon role
# https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh # https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
# #

View File

@ -2,7 +2,7 @@
# $Id: sensors 70 2011-11-25 09:21:18Z skazi $ # $Id: sensors 70 2011-11-25 09:21:18Z skazi $
# Author: Jacek Tomasiak <jacek.tomasiak@gmail.com> # Author: Jacek Tomasiak <jacek.tomasiak@gmail.com>
# {{ ansible_managed }} # {{ ansible_managed | comment }}
# From ipr-cnrs.xymon role # From ipr-cnrs.xymon role
# Thanks to Jacek Tomasiak skazi0 # Thanks to Jacek Tomasiak skazi0
# https://github.com/skazi0/xymon-plugins/blob/master/client/ext/smart # https://github.com/skazi0/xymon-plugins/blob/master/client/ext/smart

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# .. vim: foldmarker=[[[,]]]:foldmethod=marker # .. vim: foldmarker=[[[,]]]:foldmethod=marker
# {{ ansible_managed }} # {{ ansible_managed | comment }}
# From ipr-cnrs.xymon role # From ipr-cnrs.xymon role
# Source: # Source:
# https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall # https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall

View File

@ -1,6 +1,6 @@
#!/bin/ksh #!/bin/ksh
# {{ ansible_managed }} # {{ ansible_managed | comment }}
# From ipr-cnrs.xymon role # From ipr-cnrs.xymon role
# Revision History: # Revision History: