Compare commits
No commits in common. "master" and "v2.1.0" have entirely different histories.
23
CHANGELOG.md
23
CHANGELOG.md
|
|
@ -1,22 +1,3 @@
|
||||||
## v2.3.1
|
|
||||||
|
|
||||||
### Enhancements
|
|
||||||
* Added support for the urls with authentication by adding personal access token variables. This feature is available for the resources `plug_sge_script`, `plug_smartoverall_script` and `plug_smart_script`. work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=4078]
|
|
||||||
|
|
||||||
|
|
||||||
## v2.3.0
|
|
||||||
|
|
||||||
### Enhancements
|
|
||||||
* Add variable/template to fix **kern**'s probe related message on Ubuntu
|
|
||||||
(`Can't check kernel version!`)
|
|
||||||
* See : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725/comments/35
|
|
||||||
|
|
||||||
## 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
|
||||||
|
|
@ -75,7 +56,7 @@
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* Possibility to define URLs in order to get the latest version of SMART's scripts.
|
* Possibility to define URLs in order to get the latest version of SMART's scripts.
|
||||||
* Add sge plugin from https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
* Add sge plugin from https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
||||||
|
|
||||||
## v1.4.0
|
## v1.4.0
|
||||||
|
|
||||||
|
|
@ -83,7 +64,7 @@
|
||||||
* Add variables to manage plugin interval.
|
* Add variables to manage plugin interval.
|
||||||
* Add netstats plugin managment.
|
* Add netstats plugin managment.
|
||||||
* Add smart plugin from https://github.com/skazi0/xymon-plugins
|
* Add smart plugin from https://github.com/skazi0/xymon-plugins
|
||||||
* Add smartoverall plugin from https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
* Add smartoverall plugin from https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
||||||
* Add description for plugins.
|
* Add description for plugins.
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,6 @@ SGE jobs and host.
|
||||||
* **xymon_cli__plug_sge_script_path** : Path to the `sge` script [default : `'/usr/lib/xymon/client/ext/sge'`].
|
* **xymon_cli__plug_sge_script_path** : Path to the `sge` script [default : `'/usr/lib/xymon/client/ext/sge'`].
|
||||||
* **xymon_cli__plug_sge_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/sge.j2'`].
|
* **xymon_cli__plug_sge_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/sge.j2'`].
|
||||||
* **xymon_cli__plug_sge_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
* **xymon_cli__plug_sge_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
||||||
* **xymon_cli__plug_sge_script_pat** : personal access token to use with xymon_cli__plug_sge_script_url [default : `''`].
|
|
||||||
* **xymon_cli__plug_sge_path** : Configuration file for the `sge` plugin [default : `'/etc/xymon/clientlaunch.d/sge.cfg'`].
|
* **xymon_cli__plug_sge_path** : Configuration file for the `sge` plugin [default : `'/etc/xymon/clientlaunch.d/sge.cfg'`].
|
||||||
* **xymon_cli__plug_sge_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/sge.cfg.j2'`].
|
* **xymon_cli__plug_sge_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/sge.cfg.j2'`].
|
||||||
* **xymon_cli__plug_sge_interval** : Time between each run of the `sge` plugin [default : `'10m'`]
|
* **xymon_cli__plug_sge_interval** : Time between each run of the `sge` plugin [default : `'10m'`]
|
||||||
|
|
@ -181,7 +180,6 @@ For more features, see the next Smart plugin.
|
||||||
* **xymon_cli__plug_smartoverall_script_path** : Path to the `smartoverall` script [default : `'/usr/lib/xymon/client/ext/smartoverall'`].
|
* **xymon_cli__plug_smartoverall_script_path** : Path to the `smartoverall` script [default : `'/usr/lib/xymon/client/ext/smartoverall'`].
|
||||||
* **xymon_cli__plug_smartoverall_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/smartoverall.j2'`].
|
* **xymon_cli__plug_smartoverall_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/smartoverall.j2'`].
|
||||||
* **xymon_cli__plug_smartoverall_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
* **xymon_cli__plug_smartoverall_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
||||||
* **xymon_cli__plug_smartoverall_script_pat** : personal access token to use with xymon_cli__plug_smartoverall_script_url [default : `''`].
|
|
||||||
* **xymon_cli__plug_smartoverall_path** : Configuration file for the `smartoverall` plugin [default : `'/etc/xymon/clientlaunch.d/smartoverall.cfg'`].
|
* **xymon_cli__plug_smartoverall_path** : Configuration file for the `smartoverall` plugin [default : `'/etc/xymon/clientlaunch.d/smartoverall.cfg'`].
|
||||||
* **xymon_cli__plug_smartoverall_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/smartoverall.cfg.j2'`].
|
* **xymon_cli__plug_smartoverall_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/smartoverall.cfg.j2'`].
|
||||||
* **xymon_cli__plug_smartoverall_interval** : Time between each run of the `smartoverall` plugin [default : `'10m'`]
|
* **xymon_cli__plug_smartoverall_interval** : Time between each run of the `smartoverall` plugin [default : `'10m'`]
|
||||||
|
|
@ -197,7 +195,6 @@ one's recommended by the vendor and check a recent (<24h) test was done.
|
||||||
* **xymon_cli__plug_smart_script_path** : Path to the `smart` script [default : `'/usr/lib/xymon/client/ext/smart'`].
|
* **xymon_cli__plug_smart_script_path** : Path to the `smart` script [default : `'/usr/lib/xymon/client/ext/smart'`].
|
||||||
* **xymon_cli__plug_smart_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/smart.j2'`].
|
* **xymon_cli__plug_smart_script_tpl** : Template used to generate the previous script [default : `'usr/lib/xymon/client/ext/smart.j2'`].
|
||||||
* **xymon_cli__plug_smart_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
* **xymon_cli__plug_smart_script_url** : Use a remote file to get the previous script instead of a template [default : `''`].
|
||||||
* **xymon_cli__plug_smart_script_pat** : personal access token to use with xymon_cli__plug_smart_script_url [default : `''`].
|
|
||||||
* **xymon_cli__plug_smart_path** : Configuration file for the `smart` plugin [default : `'/etc/xymon/clientlaunch.d/smart.cfg'`].
|
* **xymon_cli__plug_smart_path** : Configuration file for the `smart` plugin [default : `'/etc/xymon/clientlaunch.d/smart.cfg'`].
|
||||||
* **xymon_cli__plug_smart_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/smart.cfg.j2'`].
|
* **xymon_cli__plug_smart_tpl** : Template used to generate the previous config file [default : `'etc/xymon/clientlaunch.d/smart.cfg.j2'`].
|
||||||
* **xymon_cli__plug_smart_interval** : Time between each run of the `smart` plugin [default : `'10m'`]
|
* **xymon_cli__plug_smart_interval** : Time between each run of the `smart` plugin [default : `'10m'`]
|
||||||
|
|
@ -299,7 +296,7 @@ Jérémy Gardais
|
||||||
|
|
||||||
[vars directory]: ./vars
|
[vars directory]: ./vars
|
||||||
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
||||||
[xymon source]: https://git.ipr.univ-rennes.fr/cellinfo/ansible.xymon
|
[xymon source]: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.xymon
|
||||||
[xymon github]: https://github.com/ipr-cnrs/xymon
|
[xymon github]: https://github.com/ipr-cnrs/xymon
|
||||||
[wtfpl website]: http://www.wtfpl.net/about/
|
[wtfpl website]: http://www.wtfpl.net/about/
|
||||||
[ipr website]: https://ipr.univ-rennes1.fr/
|
[ipr website]: https://ipr.univ-rennes1.fr/
|
||||||
|
|
@ -307,7 +304,7 @@ Jérémy Gardais
|
||||||
[url hwraid]: https://hwraid.le-vert.net/wiki/DebianPackages
|
[url hwraid]: https://hwraid.le-vert.net/wiki/DebianPackages
|
||||||
[megaraid plugin doc]: https://salsa.debian.org/debian/hobbit-plugins#megaraid-check-state-of-lsi-megaraid-sas-controllers
|
[megaraid plugin doc]: https://salsa.debian.org/debian/hobbit-plugins#megaraid-check-state-of-lsi-megaraid-sas-controllers
|
||||||
[net plugin doc]: https://salsa.debian.org/debian/hobbit-plugins#net-check-network-interface-states
|
[net plugin doc]: https://salsa.debian.org/debian/hobbit-plugins#net-check-network-interface-states
|
||||||
[sge plugin source]: https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
[sge plugin source]: https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
||||||
[smartoverall plugin source]: https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
[smartoverall plugin source]: https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
||||||
[smart plugin source]: https://github.com/skazi0/xymon-plugins
|
[smart plugin source]: https://github.com/skazi0/xymon-plugins
|
||||||
[zfs plugin source]: https://wiki.xymonton.org/doku.php/monitors:bb-zfs
|
[zfs plugin source]: https://wiki.xymonton.org/doku.php/monitors:bb-zfs
|
||||||
|
|
|
||||||
|
|
@ -79,13 +79,6 @@ 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_tpl: 'etc/xymon/clientlaunch.d/kern.cfg.j2'
|
||||||
xymon_cli__plug_kern_interval: '5m'
|
xymon_cli__plug_kern_interval: '5m'
|
||||||
|
|
||||||
### Related to "Ubuntu - Can't check kernel version" warning message
|
|
||||||
### See : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725/comments/35
|
|
||||||
xymon_cli__plug_kern_fix: '{{ True if (ansible_distribution == "Ubuntu")
|
|
||||||
else False }}'
|
|
||||||
xymon_cli__plug_kern_fix_path: '/etc/kernel/postinst.d/statoverride'
|
|
||||||
xymon_cli__plug_kern_fix_tpl: 'etc/kernel/postinst.d/statoverride.j2'
|
|
||||||
|
|
||||||
# ]]]
|
# ]]]
|
||||||
## Plugin libs [[[
|
## Plugin libs [[[
|
||||||
xymon_cli__plug_libs_state: true
|
xymon_cli__plug_libs_state: true
|
||||||
|
|
@ -97,19 +90,13 @@ 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/libexec/sssd/sssd_autofs:
|
/usr/lib/x86_64-linux-gnu/sssd/sssd_be:
|
||||||
- '.*'
|
- '.*'
|
||||||
/usr/libexec/sssd/sssd_be:
|
/usr/lib/x86_64-linux-gnu/sssd/sssd_autofs:
|
||||||
- '.*'
|
- '.*'
|
||||||
/usr/libexec/sssd/sssd_nss:
|
/usr/lib/x86_64-linux-gnu/sssd/sssd_nss:
|
||||||
- '.*'
|
- '.*'
|
||||||
/usr/libexec/sssd/sssd_pac:
|
/usr/lib/x86_64-linux-gnu/sssd/sssd_pam:
|
||||||
- '.*'
|
|
||||||
/usr/libexec/sssd/sssd_pam:
|
|
||||||
- '.*'
|
|
||||||
/usr/libexec/sssd/sssd_ssh:
|
|
||||||
- '.*'
|
|
||||||
/usr/libexec/sssd/sssd_sudo:
|
|
||||||
- '.*'
|
- '.*'
|
||||||
/usr/sbin/sssd:
|
/usr/sbin/sssd:
|
||||||
- '.*'
|
- '.*'
|
||||||
|
|
@ -161,19 +148,18 @@ xymon_cli__plug_ntpq_interval: '5m'
|
||||||
|
|
||||||
## ]]]
|
## ]]]
|
||||||
## Plugin SGE [[[
|
## Plugin SGE [[[
|
||||||
### From https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
### From https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
||||||
xymon_cli__plug_sge_state: False
|
xymon_cli__plug_sge_state: False
|
||||||
xymon_cli__plug_sge_script_path: '/usr/lib/xymon/client/ext/sge.sh'
|
xymon_cli__plug_sge_script_path: '/usr/lib/xymon/client/ext/sge.sh'
|
||||||
xymon_cli__plug_sge_script_tpl: 'usr/lib/xymon/client/ext/sge.sh.j2'
|
xymon_cli__plug_sge_script_tpl: 'usr/lib/xymon/client/ext/sge.sh.j2'
|
||||||
xymon_cli__plug_sge_script_url: ''
|
xymon_cli__plug_sge_script_url: ''
|
||||||
xymon_cli__plug_sge_script_pat: ''
|
|
||||||
xymon_cli__plug_sge_path: '/etc/xymon/clientlaunch.d/sge.cfg'
|
xymon_cli__plug_sge_path: '/etc/xymon/clientlaunch.d/sge.cfg'
|
||||||
xymon_cli__plug_sge_tpl: 'etc/xymon/clientlaunch.d/sge.cfg.j2'
|
xymon_cli__plug_sge_tpl: 'etc/xymon/clientlaunch.d/sge.cfg.j2'
|
||||||
xymon_cli__plug_sge_interval: '5m'
|
xymon_cli__plug_sge_interval: '5m'
|
||||||
|
|
||||||
# ]]]
|
# ]]]
|
||||||
## Plugin smartoverall [[[
|
## Plugin smartoverall [[[
|
||||||
### From https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
### From https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
||||||
### And based on https://www.xymon.com/xymon-cgi/viewconf.sh?smart
|
### And based on https://www.xymon.com/xymon-cgi/viewconf.sh?smart
|
||||||
### Mostly for disks unknown from smartmontools's database
|
### Mostly for disks unknown from smartmontools's database
|
||||||
xymon_cli__plug_smartoverall_state: False
|
xymon_cli__plug_smartoverall_state: False
|
||||||
|
|
@ -181,7 +167,6 @@ xymon_cli__plug_smartoverall_package: [ 'smartmontools' ]
|
||||||
xymon_cli__plug_smartoverall_script_path: '/usr/lib/xymon/client/ext/smartoverall'
|
xymon_cli__plug_smartoverall_script_path: '/usr/lib/xymon/client/ext/smartoverall'
|
||||||
xymon_cli__plug_smartoverall_script_tpl: 'usr/lib/xymon/client/ext/smartoverall.j2'
|
xymon_cli__plug_smartoverall_script_tpl: 'usr/lib/xymon/client/ext/smartoverall.j2'
|
||||||
xymon_cli__plug_smartoverall_script_url: ''
|
xymon_cli__plug_smartoverall_script_url: ''
|
||||||
xymon_cli__plug_smartoverall_script_pat: ''
|
|
||||||
xymon_cli__plug_smartoverall_path: '/etc/xymon/clientlaunch.d/smartoverall.cfg'
|
xymon_cli__plug_smartoverall_path: '/etc/xymon/clientlaunch.d/smartoverall.cfg'
|
||||||
xymon_cli__plug_smartoverall_tpl: 'etc/xymon/clientlaunch.d/smartoverall.cfg.j2'
|
xymon_cli__plug_smartoverall_tpl: 'etc/xymon/clientlaunch.d/smartoverall.cfg.j2'
|
||||||
xymon_cli__plug_smartoverall_interval: '10m'
|
xymon_cli__plug_smartoverall_interval: '10m'
|
||||||
|
|
@ -194,7 +179,6 @@ xymon_cli__plug_smart_package: [ 'smartmontools' ]
|
||||||
xymon_cli__plug_smart_script_path: '/usr/lib/xymon/client/ext/smart'
|
xymon_cli__plug_smart_script_path: '/usr/lib/xymon/client/ext/smart'
|
||||||
xymon_cli__plug_smart_script_tpl: 'usr/lib/xymon/client/ext/smart.j2'
|
xymon_cli__plug_smart_script_tpl: 'usr/lib/xymon/client/ext/smart.j2'
|
||||||
xymon_cli__plug_smart_script_url: ''
|
xymon_cli__plug_smart_script_url: ''
|
||||||
xymon_cli__plug_smart_script_pat: ''
|
|
||||||
xymon_cli__plug_smart_path: '/etc/xymon/clientlaunch.d/smart.cfg'
|
xymon_cli__plug_smart_path: '/etc/xymon/clientlaunch.d/smart.cfg'
|
||||||
xymon_cli__plug_smart_tpl: 'etc/xymon/clientlaunch.d/smart.cfg.j2'
|
xymon_cli__plug_smart_tpl: 'etc/xymon/clientlaunch.d/smart.cfg.j2'
|
||||||
xymon_cli__plug_smart_interval: '10m'
|
xymon_cli__plug_smart_interval: '10m'
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ galaxy_info:
|
||||||
description: "Manage Xymon configuration"
|
description: "Manage Xymon configuration"
|
||||||
license: WTFPL
|
license: WTFPL
|
||||||
company: IPR
|
company: IPR
|
||||||
issue_tracker_url: https://git.ipr.univ-rennes.fr/cellinfo/ansible.xymon/issues
|
issue_tracker_url: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.xymon/issues
|
||||||
min_ansible_version: 2.7
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
|
|
|
||||||
|
|
@ -97,19 +97,6 @@
|
||||||
xymon_cli__plug_manage|bool)
|
xymon_cli__plug_manage|bool)
|
||||||
notify: restart xymon-client service
|
notify: restart xymon-client service
|
||||||
|
|
||||||
# Manage kern plugin [[[1
|
|
||||||
- name: PLUGIN kern workaround
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: '{{ xymon_cli__plug_kern_fix_tpl }}'
|
|
||||||
dest: '{{ xymon_cli__plug_kern_fix_path }}'
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0754
|
|
||||||
when: (xymon_cli__manage|bool and
|
|
||||||
xymon_cli__plug_manage|bool and
|
|
||||||
xymon_cli__plug_kern_fix|bool)
|
|
||||||
notify: restart xymon-client service
|
|
||||||
|
|
||||||
# Manage net plugin [[[1
|
# Manage net plugin [[[1
|
||||||
- name: PLUGIN net config template
|
- name: PLUGIN net config template
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
@ -139,9 +126,6 @@
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: '{{ xymon_cli__plug_sge_script_url }}'
|
url: '{{ xymon_cli__plug_sge_script_url }}'
|
||||||
dest: '{{ xymon_cli__plug_sge_script_path }}'
|
dest: '{{ xymon_cli__plug_sge_script_path }}'
|
||||||
headers:
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: 'Bearer {{ xymon_cli__plug_sge_script_pat }}'
|
|
||||||
owner: root
|
owner: root
|
||||||
group: xymon
|
group: xymon
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
@ -167,9 +151,6 @@
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: '{{ xymon_cli__plug_smartoverall_script_url }}'
|
url: '{{ xymon_cli__plug_smartoverall_script_url }}'
|
||||||
dest: '{{ xymon_cli__plug_smartoverall_script_path }}'
|
dest: '{{ xymon_cli__plug_smartoverall_script_path }}'
|
||||||
headers:
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: 'Bearer {{ xymon_cli__plug_smartoverall_script_pat }}'
|
|
||||||
owner: root
|
owner: root
|
||||||
group: xymon
|
group: xymon
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
@ -195,9 +176,6 @@
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: '{{ xymon_cli__plug_smart_script_url }}'
|
url: '{{ xymon_cli__plug_smart_script_url }}'
|
||||||
dest: '{{ xymon_cli__plug_smart_script_path }}'
|
dest: '{{ xymon_cli__plug_smart_script_path }}'
|
||||||
headers:
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: 'Bearer {{ xymon_cli__plug_smart_script_pat }}'
|
|
||||||
owner: root
|
owner: root
|
||||||
group: xymon
|
group: xymon
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## From ipr-cnrs.xymon role
|
## From ipr-cnrs.xymon role
|
||||||
|
|
||||||
# Configure the Xymon client settings.
|
# Configure the Xymon client settings.
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
{# Use | comment to manage multilines #}
|
|
||||||
# {{ ansible_managed | comment }}
|
|
||||||
# Ansible template : {{ template_path }}
|
|
||||||
#
|
|
||||||
# Allow to fix the warning :
|
|
||||||
# "Kernel image /boot/vmlinuz… unreadable. Can't check kernel version!"
|
|
||||||
|
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725
|
|
||||||
# See comment #34 - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725/comments/34
|
|
||||||
|
|
||||||
set -e
|
|
||||||
version="$1"
|
|
||||||
if [ -z "$version" ]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
exec dpkg-statoverride --force-statoverride-add --update --add root root 0644 "/boot/vmlinuz-${version}"
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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 }}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[apt]
|
[apt]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[ipmi]
|
[ipmi]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[kern]
|
[kern]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[libs]
|
[libs]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -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 | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[mq]
|
[mq]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[net]
|
[net]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[netstats]
|
[netstats]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[ntpq]
|
[ntpq]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[sge]
|
[sge]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[smart]
|
[smart]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[smartoverall]
|
[smartoverall]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[temp]
|
[temp]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[zfs]
|
[zfs]
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## 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) %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
## From ipr-cnrs.xymon role
|
## From ipr-cnrs.xymon role
|
||||||
{{ ansible_hostname }}:
|
{{ ansible_hostname }}:
|
||||||
- {{ ansible_default_ipv4.interface }}
|
- {{ ansible_default_ipv4.interface }}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
# 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-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
||||||
#
|
#
|
||||||
# SGE: Sun Grid Engine check - Xymon external script test
|
# SGE: Sun Grid Engine check - Xymon external script test
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -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 | comment }}
|
# {{ ansible_managed }}
|
||||||
# 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
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
||||||
|
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
# 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-rennes1.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
||||||
|
|
||||||
# NOTE: Must be run as root, so you probably need to setup sudo for this.
|
# NOTE: Must be run as root, so you probably need to setup sudo for this.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/ksh
|
#!/bin/ksh
|
||||||
|
|
||||||
# {{ ansible_managed | comment }}
|
# {{ ansible_managed }}
|
||||||
# From ipr-cnrs.xymon role
|
# From ipr-cnrs.xymon role
|
||||||
|
|
||||||
# Revision History:
|
# Revision History:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue