/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives no errors<br><br>I added the host and services to the host.cfg and service.cfg files. I added a group to the hostgroup file and added the hosts to the hostgroup file. I reloaded nagios<br>
<br>In the cgi view, I see the hostgroup but it says there are no host or services added to it even after adding the host and service.<br><br>Strange<br><br><div class="gmail_quote">On Tue, Jan 20, 2009 at 9:31 AM,  <span dir="ltr"><<a href="mailto:asam30@gmail.com">asam30@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I do not understand your question properly.<br><br>Do you have host.cfg and service.cfg files exists? and do you add hosts and services to these files respectively?<br>
<br>/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives any errors or warnings and also paste the exact error when restarting the nagios<br>
  <br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Mon, Jan 19, 2009 at 5:55 PM, Alex Dehaini <span dir="ltr"><<a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi Guys,<br><br>I just defined a hostgroup and added members to it. I have also added each host and their services. I checked nagios for any errors and there are none. When I restart nagios, I can see the hostgroup alright but there are no host/services under it. I get this error<br>


<br><table border="1"><tbody><tr><td><a href="http://status.cgi?hostgroup=CANTOMENTS&style=overview" target="_blank">SITE-CANTOMENTS</a> 
(<a href="http://extinfo.cgi?type=5&hostgroup=CANTOMENTS" target="_blank">CANTOMENTS</a>)</td>
<td valign="center" align="middle">
<table border="0">
<tbody></tbody></table>No matching hosts</td>
<td valign="center" align="middle">
<table border="0">
<tbody></tbody></table>No matching services</td></tr></tbody></table><br>Any ideas?<br>
<br></div></div>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Shankar Asam<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>