Problems with NDOUtils

Ronaldo A. Bueno Filho ronaldobf at linkway.com.br
Wed Sep 3 22:25:46 CEST 2008


Hi people!

I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7.
The problem is related with NDOUtils. I can not populate the nagios
database. I followed all steps and rechecked everything. According to my
serach, probably there is a bug. (Not sure).

I just found people asking for some help, sometimes I got useful hints, but
I did not find the root cause of my problem. 

I've tried several things, but did not work. 

- I could connect to the nagios database using the user nagios and its
password. I checked the files to make sure that it is with the correct user,
password and database name. 
- I checked the owner (user) and group that the files belong to
(nagios:nagios).
- I checked the permitions of the files
- I tried to use both TCP and unix in the socket_type and got the same
error.
- I just stoped nagios and NDOUtils. I started the NDOUtils and then nagios.
Did not work
- I got no errors in the installation.



I really appreciate any help.


Las part of Nagios log:

[1220472069] ndomod: Error writing to data sink!  Some output may get
lost...
[1220472085] ndomod: Successfully reconnected to data sink!  0 items lost,
84 queued items to flush.
[1220472085] ndomod: Successfully flushed 84 queued items to data sink.
[1220472085] ndomod: Error writing to data sink!  Some output may get
lost...
[1220472101] ndomod: Successfully reconnected to data sink!  0 items lost,
80 queued items to flush.
[1220472101] ndomod: Successfully flushed 80 queued items to data sink.
[1220472101] ndomod: Error writing to data sink!  Some output may get
lost...
[1220472117] ndomod: Successfully reconnected to data sink!  0 items lost,
80 queued items to flush.
[1220472117] ndomod: Successfully flushed 80 queued items to data sink.
[1220472117] ndomod: Error writing to data sink!  Some output may get
lost...


==================================
ndo2db.conf is as shown below:

ndo2db_user=nagios
ndo2db_group=nagios

socket_type=unix
#socket_type=tcp

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=nagios

max_timedevents_age=1440

max_systemcommands_age=10080

max_servicechecks_age=10080

max_hostchecks_age=10080

max_eventhandlers_age=44640



================================
ndomod.conf is as shown below:

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


================================

nagios.conf is as shown below:

event_broker_options=-1

broker_module=/usr/local/nagios/bin/ndomod-3x.o
config_file=/usr/local/nagios/etc/ndomod.cfg

================================

To initialize I run /usr/local/nagios/bin/ndo2db-3x -c
/usr/local/nagios/etc/ndo2db.cfg (get no errors)


Thanks in advance.


--
Ronaldo A. Bueno Filho




--
Essa mensagem foi verificada contra vírus e conteúdo malicioso pelo Lisa Antivírus.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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