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

@ -4,3 +4,24 @@ define service {
check_command check_by_nrpe!check_disk_/var/lib/copr/public_html
use disktemplate
}
define service {
hostgroup_name copr_dist_git_aws, copr_dist_git_dev_aws
service_description Disk space on Copr DistGit used for imported packages
check_command check_by_nrpe!check_disk_/var/lib/dist-git
use disktemplate
}
define service {
hostgroup_name copr_front_aws, copr_front_dev_aws
service_description Disk space on Copr Frontend used for the database
check_command check_by_nrpe!check_disk_/srv/copr-fe
use disktemplate
}
define service {
hostgroup_name copr_keygen_aws, copr_keygen_dev_aws
service_description Disk space on Copr Keygen used for GPG keys
check_command check_by_nrpe!check_disk_/var/lib/copr-keygen
use disktemplate
}