Re: [Nagios-users] No hosts being monitored
-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
[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. Ditto with the web screens. Do I need to install nrpe on the remote hosts (clients) before even ping will work? Thanks, John - 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
Re: [Nagios-users] No hosts being monitored
Hallo John, give us some more information. Which version of Nagios? Did you only define the hosts or did you additionally at least define one service like Ping for these hosts? Can you see the new defined hosts as pending in the overview ? @your question: nrpe is not needed for Ping checks of remote systems Kind regards, Dennis Hünseler From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Tabasz (jtabasz) Sent: Friday, August 17, 2007 6:01 AM 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. Ditto with the web screens. Do I need to install nrpe on the remote hosts (clients) before even ping will work? Thanks, John - 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