add a noswap group, put mirrorlist-host1plus in it so we do not check swap there
This commit is contained in:
parent
193669f0fc
commit
84c5260c4d
2 changed files with 6 additions and 1 deletions
5
roles/nagios/server/files/nagios/hostgroups/noswap.cfg
Normal file
5
roles/nagios/server/files/nagios/hostgroups/noswap.cfg
Normal file
|
@ -0,0 +1,5 @@
|
|||
define hostgroup {
|
||||
hostgroup_name noswap
|
||||
alias No Swap
|
||||
members *, !mirrorlist-host1plus.fedoraproject.org
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
define service {
|
||||
hostgroup servers
|
||||
hostgroup noswap
|
||||
service_description Swap
|
||||
check_command check_by_nrpe!check_swap
|
||||
use criticaltemplate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue