<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> Hello,<BR><BR>I have been working with Nagios for a couple of days
now and I'm just beginning to understand the principle of the config (.cfg)
files.<BR>I understand that you create a service (let say Ping) and put all your
hosts (or hostgroups) in there that you want to check with ping. <BR><BR>But is
it also possible to define these checks in the hosts.cfg file?? <BR>So I would
become something like this:</DIV>
<DIV> </DIV>
<DIV>define host{<BR> host_name
server1<BR>
alias
Linux server 1<BR>
address
10.0.0.1<BR> contact_groups
network_team<BR>
checks check_ping,
check_load, check_snmp <--- This line<BR>}</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>This would make more sense to me, because if you got over a 100 hosts to
check, and you don't want to do it with a hostgroup, then all these host most be
in the services.cfg on one line (do I got this right?).<BR><BR>Please comment on
this.<BR></DIV></BODY></HTML>