Yes, I do have a hostgroup.cfg file. The issue is, when I add a new host or service - it doesn't show up in the cgi interface but nagios has seen it. My entries in hostgroup.cfg file are working, however - since nagios do not see these new hosts and services, they can't be displayed under the hostgroup.<br>
<br>I wish there was somewhere I could check investigate this. Here is a snippet from my hostgroup.cfg file<br><br>define hostgroup{<br> hostgroup_name CANTOMENTS<br> alias SITE-CANTOMENTS<br> members core,sm@procreditadjangote,DNS1,<b>ap5.7@cantoments,sm@cantoments,switch@cantoments</b><br>
}<br><br><br>define hostgroup{<br> hostgroup_name GIX<br> alias GIX<br> members core,bhmaster@gix,bhslave@kokomlemle2gix,router@gix<br> }<br><br><br>define hostgroup{<br>
hostgroup_name GT<br> alias GT<br> members core2gt,bhmaster@koko2gt,bhslave@gt2koko<br> }<br><br>I added new hosts ap5.7@cantoments,sm@cantoments and switch@cantoments and their corresponding services. However, the cgi web interface does not show them - that is the issue.<br>
<br>Hosts core and DNS1 are old entries and they come up alright under the hostgroup but the others I added recently are not showing. Here is an image of what I am talking about<br><br>Alex<br><br><div class="gmail_quote">
On Tue, Jan 20, 2009 at 2:13 PM, Steve Burton <span dir="ltr"><<a href="mailto:steve@sliderule.demon.co.uk" target="_blank">steve@sliderule.demon.co.uk</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;"><div>Alex Dehaini wrote:<br>
> Hi,<br>
><br>
> What config do you want me to post? I added the members to the hostgroup<br>
<br>
</div>Do you have a 'hostgroups.cfg' or equivalent file?<br>
<br>
It should contain the definitions of any hostgroups you use.<br>
E.g. (cut from the documentation)<br>
define hostgroup{<br>
<br>
hostgroup_name hostgroup_name<br>
<br>
alias alias<br>
<br>
members hosts<br>
<br>
hostgroup_members hostgroups<br>
<br>
notes note_string<br>
<br>
notes_url url<br>
<br>
action_url url<br>
}<br>
<br>
<br>
Steve.<br>
<div><br>
><br>
> On Tue, Jan 20, 2009 at 1:52 PM, Marc Powell <<a href="mailto:marc@ena.com" target="_blank">marc@ena.com</a><br>
</div><div>> <mailto:<a href="mailto:marc@ena.com" target="_blank">marc@ena.com</a>>> wrote:<br>
><br>
><br>
> On Jan 20, 2009, at 3:36 AM, Alex Dehaini wrote:<br>
><br>
> > In the cgi view, I see the hostgroup but it says there are no host<br>
> > or services added to it even after adding the host and service.<br>
> ><br>
> > Strange<br>
><br>
> If you want useful help for this you're going to have to post the<br>
> relevant config information. At this point it seems that the hostgroup<br>
> has no members or you are not permitted to see them.<br>
><br>
> --<br>
> Marc<br>
><br>
><br>
> ------------------------------------------------------------------------------<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>
</div>> <mailto:<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>><br>
<div>> <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<br>
> reporting any issue.<br>
> ::: Messages without supporting info will risk being sent to /dev/null<br>
><br>
><br>
><br>
><br>
> --<br>
> Alex Dehaini<br>
> Developer<br>
</div>> Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a> <<a href="http://www.alexdehaini.com" target="_blank">http://www.alexdehaini.com</a>><br>
> Email - <a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a> <mailto:<a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a>><br>
> ------------------------------------------------------------------------<br>
<div>><br>
> ------------------------------------------------------------------------------<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>
><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>
<br>
<br>
</div>______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a><br>
______________________________________________________________________<br>
<div><div></div><div><br>
------------------------------------------------------------------------------<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a><br>