forked from evolix/ansible-roles
nagios-nrpe + evolinux-users: new checks for bkctld
This commit is contained in:
parent
999efb3983
commit
2c7380240c
|
@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* listupgrade: crontab is configurable
|
* listupgrade: crontab is configurable
|
||||||
* mongodb: create munin plugins directory if missing
|
* mongodb: create munin plugins directory if missing
|
||||||
* mysql: script "mysql_connections" to display a compact list of connections
|
* mysql: script "mysql_connections" to display a compact list of connections
|
||||||
|
* nagios-nrpe + evolinux-users: new checks for bkctld
|
||||||
* redis: instance service for Debian 11
|
* redis: instance service for Debian 11
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -7,6 +7,8 @@ nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_procs
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_minifirewall
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_minifirewall
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_haproxy_stats
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_haproxy_stats
|
||||||
nagios ALL = NOPASSWD: /usr/sbin/bkctld check
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check
|
||||||
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check-jails
|
||||||
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check-setup
|
||||||
nagios ALL = (clamav) NOPASSWD: /usr/bin/clamscan /tmp/safe.txt
|
nagios ALL = (clamav) NOPASSWD: /usr/bin/clamscan /tmp/safe.txt
|
||||||
|
|
||||||
ADMINS ALL = (ALL:ALL) ALL
|
ADMINS ALL = (ALL:ALL) ALL
|
||||||
|
|
|
@ -6,6 +6,8 @@ nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_procs
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_minifirewall
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_minifirewall
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_haproxy_stats
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_haproxy_stats
|
||||||
nagios ALL = NOPASSWD: /usr/sbin/bkctld check
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check
|
||||||
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check-jails
|
||||||
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check-setup
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php56/rootfs/etc/php5/fpm/pool.d/
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php56/rootfs/etc/php5/fpm/pool.d/
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php70/rootfs/etc/php/7.0/fpm/pool.d/
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php70/rootfs/etc/php/7.0/fpm/pool.d/
|
||||||
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php73/rootfs/etc/php/7.3/fpm/pool.d/
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_phpfpm_multi /var/lib/lxc/php73/rootfs/etc/php/7.3/fpm/pool.d/
|
||||||
|
|
|
@ -51,6 +51,9 @@ command[check_ssl]=/usr/lib/nagios/plugins/check_http -f follow -I 127.0.0.1 -S
|
||||||
command[check_elasticsearch]=/usr/lib/nagios/plugins/check_http -I 127.0.0.1 -u /_cat/health?h=st -p 9200 -r 'red' --invert-regex
|
command[check_elasticsearch]=/usr/lib/nagios/plugins/check_http -I 127.0.0.1 -u /_cat/health?h=st -p 9200 -r 'red' --invert-regex
|
||||||
command[check_memcached]=/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 11211
|
command[check_memcached]=/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 11211
|
||||||
command[check_opendkim]=/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 54321
|
command[check_opendkim]=/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 54321
|
||||||
|
command[check_bkctld_setup]=sudo /usr/sbin/bkctld check-setup
|
||||||
|
command[check_bkctld_jails]=sudo /usr/sbin/bkctld check-jails
|
||||||
|
# "check_bkctld" is here as backward compatibility, but is replaced by "check_bkctld_jails"
|
||||||
command[check_bkctld]=sudo /usr/sbin/bkctld check
|
command[check_bkctld]=sudo /usr/sbin/bkctld check
|
||||||
command[check_postgrey]=/usr/lib/nagios/plugins/check_tcp -p10023
|
command[check_postgrey]=/usr/lib/nagios/plugins/check_tcp -p10023
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue