oci-registry: Update nagios to monitor the correct directory for disk space
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
40a819e1d5
commit
bb24183f46
3 changed files with 5 additions and 5 deletions
|
@ -15,6 +15,6 @@ command[check_disk_/srv/taskotron]=/usr/lib64/nagios/plugins/check_disk -w 20% -
|
|||
command[check_disk_/srv]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv
|
||||
command[check_disk_huge_/srv]=/usr/lib64/nagios/plugins/check_disk -w 5% -c 1% -p /srv
|
||||
command[check_disk_/u01]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /u01
|
||||
command[check_disk_/var/lib/registry]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/registry
|
||||
command[check_disk_/srv/registry]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/registry
|
||||
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
|
||||
|
|
|
@ -83,8 +83,8 @@ define service {
|
|||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name moby_registry
|
||||
service_description Disk space /var/lib/registry
|
||||
check_command check_by_nrpe!check_disk_/var/lib/registry
|
||||
hostgroup_name oci_registry
|
||||
service_description Disk space /srv/registry
|
||||
check_command check_by_nrpe!check_disk_/srv/registry
|
||||
use disktemplate
|
||||
}
|
||||
|
|
|
@ -303,7 +303,7 @@ command[check_disk_/var/lib64/mock]=/usr/lib64/nagios/plugins/check_disk -w 20%
|
|||
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /var/log
|
||||
command[check_disk_/srv/cache/lookaside]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/cache/lookaside
|
||||
command[check_disk_/project/]=/usr/lib64/nagios/plugins/check_disk -w 5% -c 1% -p /project/
|
||||
command[check_disk_/var/lib/registry]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/registry
|
||||
command[check_disk_/srv/registry]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/registry
|
||||
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%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue