nagios监控配置详解五主机群

# Some generic hostgroup definitions

# A simple wildcard hostgroup
define hostgroup {
        hostgroup_name  all
  alias           All Servers
  members         *
        }
# A list of your web servers
define hostgroup {
        hostgroup_name  http-servers
 alias           HTTP servers
 members         localhost
        }

# A list of your ssh-accessible servers
define hostgroup {
        hostgroup_name  ssh-servers
 alias           SSH servers
 members         localhost
        }

# nagios doesn't like monitoring hosts without services, so this is
# a group for devices that have no other "services" monitorable
# (like routers w/out snmp for example)
define hostgroup {
        hostgroup_name  ping-servers
 alias           Pingable servers
 members         *
        }

define hostgroup {
        hostgroup_name mysql-server
 alias          mysql-server
 members        test93,test94
}
 

你可能感兴趣的:(职场,监控,nagios,主机,休闲)