NDOUtils Problem

Joe Precious JoeP at protronics.co.uk
Fri Apr 4 16:28:25 CEST 2008


Config files are below.  I always get the errors – nothing has been written to the database yet (NDOUtils was installed yesterday morning).

 

Thanks

 

ndomod.cfg:-

 

instance_name=default

output_type=unixsocket

output=/usr/local/nagios/var/ndo.sock

tcp_port=5668

output_buffer_items=5000

buffer_file=/usr/local/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

 

ndo2db.cfg:-

 

ndo2db_user=nagios

ndo2db_group=nagios

socket_type=unix

socket_name=/usr/local/nagios/var/ndo.sock

tcp_port=5668

db_servertype=mysql

db_host=localhost

db_port=3306

db_name=nagios

db_prefix=nagios_

db_user=nagios

db_pass=<Removed>

max_timedevents_age=1440

max_systemcommands_age=10080

max_servicechecks_age=10080

max_hostchecks_age=10080

max_eventhandlers_age=44640

debug_level=-1

debug_verbosity=2

debug_file=/var/log/ndo2db.debug

max_debug_file_size=1000000

 

From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi
Sent: 04 April 2008 15:21
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] RE : NDOUtils Problem

 

Joe, can you please paste your ndomod.cfg and ndo2db.cfg files (without comments)?



2008/4/4, Joe Precious <JoeP at protronics.co.uk>:

Hi

 

I've enabled logging and it creates the debug file but there's nothing in it which implies to me that ndo2db is not actually doing anything at all.  I guess this ties in with the errors that imply that ndomod can't connect to the socket.

 

I've checked the location of the socket in both configuration files is the same, I've also confirmed it exists where it should and the permissions look fine on it (the same as my other server where it works).

 

Is there anyway I can test the connection to the socket?  This is starting to get a bit beyond my Linux knowledge.

 

BTW I upgraded to 3.0.1 in case this helped but it didn't!

 

Thanks

 

Joe

 

From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi
Sent: 04 April 2008 13:19
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] RE : NDOUtils Problem

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080404/7188f67c/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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- 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