Deborah,<br><br>Here is the output of <span><font size="2" color="#0000ff" face="Arial">/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg on my server<br><br>Total Warnings: 0<br>Total Errors: 0<br><br>Things look okay - No serious problems were detected during the pre-flight check<br><br>I have reloaded nagios with hostgroup.cfg using<br>
<br>/etc/init.d/nagios reload<br><br>I still don't understand what is happening.<br><br>Thanks though<br></font></span><br><br><div class="gmail_quote">On Wed, Jan 21, 2009 at 1:07 PM, Deborah Martin <span dir="ltr"><<a href="mailto:Deborah.Martin@kognitio.com">Deborah.Martin@kognitio.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;">
<div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">Alex,</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">Have you checked that the nagios config here hasn't got any
errors : </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">e.g /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">Then restarted the nagios process so that reloads the
hostgroup.cfg file ? </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">eg. /etc/init.d/nagios reload </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">(Note the above paths are ones I use and may differ to your
configuration.) </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">I'm assuming you've done but it still doesn't work ?
</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">regards,</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">deborah </font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> Alex Dehaini
[mailto:<a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a>] <br><b>Sent:</b> 21 January 2009
11:38<br><b>To:</b> Steve Burton<br><b>Cc:</b> Nagios Users
Mailinglist<br><b>Subject:</b> Re: [Nagios-users] Hostgroup
Issue<br></font><br></div>
<div></div>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><font size="2" color="#0000ff" face="Arial"></font><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>
<br>
***************************************************************************<br>
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. <br>
<br>
Any unauthorised distribution or copying is strictly prohibited. <br>
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. <br>
<br>
Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. <br>
<br>
Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92.<br>
<br>
Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA<br>
***************************************************************************<br>
</div>
</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>