installs an set of monitoring-
or nagios-plugins
on various systems.
not known
- ArchLinux
- Debian based
- Debian 10 / 11 / 12
- Ubuntu 20.04 / 22.04
RedHat-based systems are no longer officially supported! May work, but does not have to.
monitoring_plugins_arch:
- monitoring-plugins
monitoring_plugins_debian:
- monitoring-plugins-standard
- monitoring-plugins-basic
- monitoring-plugins-common
monitoring_plugins_redhat:
- nagios-plugins
- nagios-plugins-disk
- nagios-plugins-dns
- nagios-plugins-file_age
- nagios-plugins-fping
- nagios-plugins-http
- nagios-plugins-icmp
- nagios-plugins-ldap
- nagios-plugins-load
- nagios-plugins-mailq
- nagios-plugins-mysql
- nagios-plugins-ntp
- nagios-plugins-ping
- nagios-plugins-procs
- nagios-plugins-sensors
- nagios-plugins-smtp
- nagios-plugins-snmp
- nagios-plugins-ssh
- nagios-plugins-swap
- nagios-plugins-tcp
- nagios-plugins-time
- nagios-plugins-uptime
- nagios-plugins-users
nagios-plugins-mysql
and MariaDB from epel are not compatible in CentoOS 8.
(read this issue)
If necessary, some of the plugins can be removed from the previously defined list:
monitoring_plugins_blacklist:
- nagios-plugins-mysql
This role provides some small monitoring plugins. These are located in the files directory:
monitoring_plugins_extra:
- restart_service
- check_hostname
- check_diskstat.sh
- check_uptime.sh
- check_mem
- check_requiered_reboot.sh
To install external plugins from other git repositories, you can use monitoring_plugins_download
:
monitoring_plugins_download:
- url: 'https://gitlab.com/coremedia-as-code/monitoring/monitoring-plugins/raw/master/icinga2/check_coremedia_licenses.py'
dest: 'check_coremedia_licenses.py'
checksum: ''
validate: false
- url: 'https://raw.githubusercontent.com/bodsch/check_arch_updates/1.0/check_arch_updates'
dest: 'check_arch_updates'
checksum: 'sha256:7afa562aaedb63f6e93cfebfa4a9a3ea49fecda62d4dae3d8ff919b76c117c41'
Please read Contribution
The master
Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!