nagios: Disable swap checks for servers with no swap.

This commit is contained in:
Tim Abbott
2016-07-31 14:42:52 -07:00
committed by Tim Abbott
parent 3e01ed1f73
commit 9ab8e7ba34
2 changed files with 6 additions and 1 deletions

View File

@@ -51,3 +51,8 @@ define hostgroup {
hostgroup_name postgres_appdb_primary
alias Primary PostgreSQL App Servers
}
define hostgroup {
hostgroup_name has_swap
alias Servers that are expected to have swap
}

View File

@@ -528,7 +528,7 @@ define service {
define service {
use generic-service
hostgroup_name all
hostgroup_name has_swap
service_description swap
check_command check_remote_swap!22!80%!50%
contact_groups admins