mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 05:20:49 +08:00
nagios: make log01 not monitor / and have a higher limit for /var/log
/ and /var/log are the same filesystem on log01, so it makes little sense to monitor both. Just monitor /var/log and increase it's limits. We are going to archive things, but likely in january. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
define service {
|
||||
hostgroup_name all, !mincheckgrp
|
||||
hostgroup_name all, !mincheckgrp, !logging
|
||||
service_description Disk_Space_/
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use disktemplate
|
||||
|
||||
@@ -37,6 +37,12 @@ define hostgroup{
|
||||
|
||||
}
|
||||
|
||||
define hostgroup{
|
||||
hostgroup_name logging
|
||||
alias logging
|
||||
members {% for host in groups['logging']|sort %}{% endfor %}
|
||||
}
|
||||
|
||||
define hostgroup{
|
||||
hostgroup_name routers
|
||||
alias routers
|
||||
|
||||
@@ -306,7 +306,7 @@ command[check_disk_/var/lib/dist-git]=/usr/lib64/nagios/plugins/check_disk -w 12
|
||||
command[check_disk_/var/lib/copr-keygen]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -K 10% -W 20% -p /var/lib/copr-keygen
|
||||
command[check_disk_/srv/copr-fe]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -K 10% -W 20% -p /srv/copr-fe
|
||||
command[check_disk_/var/lib64/mock]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/mock
|
||||
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /var/log
|
||||
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /var/log
|
||||
command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 25 -s Z
|
||||
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 900 -c 1000
|
||||
command[check_swap]=/usr/lib64/nagios/plugins/check_swap -w 15% -c 10%
|
||||
|
||||
Reference in New Issue
Block a user