In /etc/nagios3/conf.d/hostgroups.cfg I see a note stating:
[code] # 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 gateway
}
[/code]
Is this statement necessary? I have included all non-services hosts (printers and upstream routers, mainly) in this section. The only result of doing this, as far as I can see, is that if one of these hosts goes offline I get TWO alerts (one host alert, one service alert).
Do I really need to include these non-services hosts in this way? What harm could I cause by having only host definitions for these hosts?