nagios: enable disk monitoring for copr instances

I think that / monitoring should work by default just by
setting `nrpe: true` because of

    define service {
      hostgroup_name	all, !mincheckgrp
      service_description   Disk_Space_/
      check_command		check_by_nrpe!check_disk_/
      use                   disktemplate
    }
This commit is contained in:
Jakub Kadlcik 2021-08-09 01:30:47 +02:00 committed by praiskup
parent 73ba7d25b1
commit 9a8acc79ae
8 changed files with 32 additions and 5 deletions

View file

@ -16,5 +16,8 @@ command[check_disk_/srv/diskimages]=/usr/lib64/nagios/plugins/check_disk -w 20%
command[check_disk_/srv/registry]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/registry
command[check_disk_/u01]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /u01
command[check_disk_/var/lib/copr/public_html]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/copr/public_html
command[check_disk_/var/lib/dist-git]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/dist-git
command[check_disk_/var/lib/copr-keygen]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/copr-keygen
command[check_disk_/srv/copr-fe]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -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