mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	nagios: Disable swap checks for servers with no swap.
This commit is contained in:
		@@ -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
 | 
			
		||||
       }
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user