ndo-utils not populating hostgroups

Hoot, Joseph joe.hoot at itec.suny.edu
Mon Jun 30 19:09:58 CEST 2008


OK.  So from what you can tell, Marc, my config files should be setup to
collect information properly.   

So what is interesting is that if I'm getting these errors because of it
already been populated, I should be able to query it.  But
unfortunately, it doesn't look like it is in there.

Here is the INSERT that it is attempting to updated the tables with:
INSERT INTO nagios_configfilevariables SET instance_id='1',
configfile_id='7', varname='cfg_file',
varvalue='/netmon/nagios/etc/timeperiods\.cfg''

If I run `select * from nagios_configfilevaribales` I don't see anything
for configfile_id=7.

If I run the INSERT manually, it populates it with no problem.  What
could possibly be preventing it from INSERTING that when I can login as
that user and manually do it?


-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Monday, June 30, 2008 11:32 AM
To: Nagios User list
Subject: Re: [Nagios-users] ndo-utils not populating hostgroups


On Jun 30, 2008, at 9:36 AM, Hoot, Joseph wrote:

> Marc,
>
> I don't see anything in hostgroups or servicegroups table:
>
> mysql> select * from nagios_hostgroups;
> Empty set (0.00 sec)
>
> mysql> select * from nagios_servicegroups;
> Empty set (0.00 sec)
>
> mysql>
>
> I believe that it is setup to broker everything.  Here is what I  
> have in
> nagios.cfg:
>
> broker_module=/netmon/nagios/bin/ndomod.o
> config_file=/netmon/nagios/etc/ndomod.cfg

How about event_broker_options?

# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values:  0      = Broker nothing
#         -1      = Broker everything
#         <other> = See documentation

event_broker_options=-1

> output_buffer_items=10000         <-- I believe this wasn't the  
> default.
> I bumped it up.

yes, 5000 is the default. Shouldn't matter in this case.

> buffer_file=/netmon/nagios/var/ndomod.tmp
> file_rotation_interval=14400
> file_rotation_timeout=60
> reconnect_interval=15
> reconnect_warning_interval=15
> data_processing_options=-1
> config_output_options=2

Same as mine. Nothing obviously wrong here...

--
Marc

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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