> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of John Tabasz (jtabasz) > Sent: Thursday, August 16, 2007 11:01 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] No hosts being monitored > > This is a brand new setup. I have two remote hosts defined in the > hosts.cfg file and in the hostgroups.cfg file. > When I run ./nagios -v nagios.cfg the messages returned only indicate that > there are only the localhost being monitored.
Taking a stab, do you have any services defined for those hosts? Nagios is primarily a service monitor. In nagios-2 and prior, hosts are never checked unless a service on them returns a non-OK result. I would have expected nagios -v to complain about lack of services though. An alternative explanation is that you haven't told nagios to look at the hosts.cfg and hostgroups.cfg files by specifying them as cfg_file(s) in nagios.cfg. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null