Hostgroup Issue
Alex Dehaini
alexdehaini at gmail.com
Tue Jan 20 10:36:53 CET 2009
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives no
errors
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
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.
Strange
On Tue, Jan 20, 2009 at 9:31 AM, <asam30 at gmail.com> wrote:
> I do not understand your question properly.
>
> Do you have host.cfg and service.cfg files exists? and do you add hosts and
> services to these files respectively?
>
> /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
>
>
> On Mon, Jan 19, 2009 at 5:55 PM, Alex Dehaini <alexdehaini at gmail.com>wrote:
>
>> Hi Guys,
>>
>> 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
>>
>> SITE-CANTOMENTS <http://status.cgi?hostgroup=CANTOMENTS&style=overview> (
>> CANTOMENTS <http://extinfo.cgi?type=5&hostgroup=CANTOMENTS>) No matching
>> hosts No matching services
>> Any ideas?
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> --
> Shankar Asam
>
--
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090120/f7f75c27/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list