ndo-utils not populating hostgroups

Hoot, Joseph joe.hoot at itec.suny.edu
Fri Jun 27 20:35:30 CEST 2008


Hi all,

 

I've upgraded my failover nagios system with v3.0.2 (I know that 3.0.3
is out now, but haven't yet upgraded to that).  So I have now
implemented ndoutils as well.  I have it going to a unix socket and then
into a mysql database.  I am attempting to get Nagvis going and we
noticing that it wasn't seeing my hostgroups.  So I jumped into the
mysql database and don't see any of my hostgroup information being
populated there.

 

The documentation for ndoutils talks about the debugging.  I turned it
on, but don't see any information getting fed into it.  I thought maybe
it was a permission issue, so I set it to nagios:nagios instead of root.


 

So here are some variables that are in ndo2db.cfg:

debug_level=-1

debug_verbosity=2

 

 

Nagios appears to  start it up just fine and allows some information to
be pushed over there.  For example, I'm getting my host and services
when I go into nagvis and attempt to add a host or service.  But when I
go to add a hostgroup or servicegroup, nothing populates the drop down.
But I just don't seem to be getting the hostgroup, servicegroups...
actually other information too.  But the nagios_servicechecks has a lot
of information in it.  

 

$ sudo tail -f nagios.log 

Password:

[1214590466] ndomod: Shutdown complete.

[1214590466] Event broker module '/netmon/nagios/bin/ndomod.o'
deinitialized successfully.

[1214590686] Warning: aggregate_status_updates directive ignored.  All
status file updates are now aggregated.

[1214590686] Nagios 3.0.2 starting... (PID=23213)

[1214590686] Local time is Fri Jun 27 14:18:06 EDT 2008

[1214590686] LOG VERSION: 2.0

[1214590686] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
Ethan Galstad (nagios at nagios.org)

[1214590686] ndomod: Successfully connected to data sink.  0 queued
items to flush.

[1214590686] Event broker module '/netmon/nagios/bin/ndomod.o'
initialized successfully.

[1214590686] Finished daemonizing... (New PID=23216)

 

1)      Does anyone have any suggestions for selecting from the ndo2db
mysql tables to see if its actually populating properly?

2)      Is there any way to see what sql inserts are going to ndo2db, if
any?  Would the ndo2db command be logging anywhere?  Should this be the
ndo.debug file?

3)      Any other suggestions on troubleshooting this?

 

By the way, great work on Nagios Ethan. Way to keep the promect moving
forward!

 

Thanks,
Joe

 

 

--------------------------------------------------------
Joseph Hoot 
Lead Programmer/Analyst 
GPG ID: 7145F633 
Information Technology Exchange Center 
1300 Elmwood Ave., TR200, Buffalo, NY 14222 
(w) 716-878-4832           (C) 716-908-6292
--------------------------------------------------------

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080627/2b1743f2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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