Re: [Nagios-devel] ndomod: Could not open data
Posted: Thu Jan 19, 2006 11:46 pm
Hallo Mike,
you musst start the ndo2db-Daemon start with the same User as Nagios! I've=
start the Daemon with the User Nagios!
Bye
Michael L=FCbben
Hendrik Baecker schrieb am 20.01.06 07:28:11:
Hello Mike,
did you check the file permissions for the pipe=3F
is the pipe there=3F
You can get out of the way from the most problems when you start the=20
ndo2db process with:
su - YOUR-NAGIOS-USER
ndo2b ARGs
Best wishes
Hendrik
Mike Koponick schrieb:
>Hello,
>
>
>
>I seem to be having a bit of trouble with NDOMOD.=20
>
>
>
>I compiled Nagios version 2.0rc2 with the --enable-event-broker
> option.
>
>
>
>I added the following into my nagios.cfg file:
>
>
>
>event=5Fbroker=5Foptions=3D-1
>
>
>
>broker=5Fmodule=3D/usr/local/nagios/bin/ndomod.o config=5Ffile=3D/usr/local/n
>agios/etc/ndomod.cfg
>
>
>
>I have the ndo2db process running and piping to a unix socket (of
> the same one listed in my ndomod.cfg file).
>
>
>
>My ndomid.cfg file contains the following:
>
>
>
>instance=5Fname=3Dsensor1
>
>output=5Ftype=3Dunixsocket
>
>output=3D/usr/local/nagios/var/ndo-mysql.sock
>
>tcp=5Fport=3D5668
>
>output=5Fbuffer=5Fitems=3D5000
>
>file=5Frotation=5Finterval=3D14400
>
>file=5Frotation=5Ftimeout=3D60
>
>reconnect=5Finterval=3D15
>
>reconnect=5Fwarning=5Finterval=3D15
>
>data=5Fprocessing=5Foptions=3D-1
>
>config=5Foutput=5Foptions=3D1
>
>
>
>>From Syslog during startup:
>
>
>
>Jan 19 09:45:31 sensor1 nagios: Nagios 2.0rc2 starting... (PID=3D29561)
>
>Jan 19 09:45:31 sensor1 nagios: LOG VERSION: 2.0
>
>Jan 19 09:45:31 sensor1 nagios: ndomod: NDOMOD 1.2 Copyright (c)
> 2005-2006 Ethan Galstad ([email protected])
>
>Jan 19 09:45:31 sensor1 nagios: ndomod: Could not open data sink!
> I'll keep trying, but some output may get lost...
>
>Jan 19 09:45:31 sensor1 nagios: Event broker module '/usr/local/nagios/bi=
>n/ndomod.o' initialized successfully.
>
>Jan 19 09:45:31 sensor1 nagios: Finished daemonizing... (New PID=3D29562)
>
>
>
>
>
>I see the "nagios: ndomod: Could not open data sink! I'll keep
> trying, but some output may get lost..." messages multiple times,
> and never goes away.
>
>
>
>Also, I don't see any data in the MySQL tables, but I think that's
> the next issue after resolving this one.
>
>
>
>Thanks in advance,
>
>
>
>Mike
>
>
>
>
>
>-----------------------
>
>The mailing list archive is found here:
>
>http://www.nagiosexchange.org/nagios-devel.33.0.html
>
> =09
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
>for problems=3F Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel=3Fcmd=3 ... dat=121642
>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
>Nagios-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/lis ... gios-devel
>
>
> =20
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fil=
es
for problems=3F Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel=3Fcmd=3 ... t=3D121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
you musst start the ndo2db-Daemon start with the same User as Nagios! I've=
start the Daemon with the User Nagios!
Bye
Michael L=FCbben
Hendrik Baecker schrieb am 20.01.06 07:28:11:
Hello Mike,
did you check the file permissions for the pipe=3F
is the pipe there=3F
You can get out of the way from the most problems when you start the=20
ndo2db process with:
su - YOUR-NAGIOS-USER
ndo2b ARGs
Best wishes
Hendrik
Mike Koponick schrieb:
>Hello,
>
>
>
>I seem to be having a bit of trouble with NDOMOD.=20
>
>
>
>I compiled Nagios version 2.0rc2 with the --enable-event-broker
> option.
>
>
>
>I added the following into my nagios.cfg file:
>
>
>
>event=5Fbroker=5Foptions=3D-1
>
>
>
>broker=5Fmodule=3D/usr/local/nagios/bin/ndomod.o config=5Ffile=3D/usr/local/n
>agios/etc/ndomod.cfg
>
>
>
>I have the ndo2db process running and piping to a unix socket (of
> the same one listed in my ndomod.cfg file).
>
>
>
>My ndomid.cfg file contains the following:
>
>
>
>instance=5Fname=3Dsensor1
>
>output=5Ftype=3Dunixsocket
>
>output=3D/usr/local/nagios/var/ndo-mysql.sock
>
>tcp=5Fport=3D5668
>
>output=5Fbuffer=5Fitems=3D5000
>
>file=5Frotation=5Finterval=3D14400
>
>file=5Frotation=5Ftimeout=3D60
>
>reconnect=5Finterval=3D15
>
>reconnect=5Fwarning=5Finterval=3D15
>
>data=5Fprocessing=5Foptions=3D-1
>
>config=5Foutput=5Foptions=3D1
>
>
>
>>From Syslog during startup:
>
>
>
>Jan 19 09:45:31 sensor1 nagios: Nagios 2.0rc2 starting... (PID=3D29561)
>
>Jan 19 09:45:31 sensor1 nagios: LOG VERSION: 2.0
>
>Jan 19 09:45:31 sensor1 nagios: ndomod: NDOMOD 1.2 Copyright (c)
> 2005-2006 Ethan Galstad ([email protected])
>
>Jan 19 09:45:31 sensor1 nagios: ndomod: Could not open data sink!
> I'll keep trying, but some output may get lost...
>
>Jan 19 09:45:31 sensor1 nagios: Event broker module '/usr/local/nagios/bi=
>n/ndomod.o' initialized successfully.
>
>Jan 19 09:45:31 sensor1 nagios: Finished daemonizing... (New PID=3D29562)
>
>
>
>
>
>I see the "nagios: ndomod: Could not open data sink! I'll keep
> trying, but some output may get lost..." messages multiple times,
> and never goes away.
>
>
>
>Also, I don't see any data in the MySQL tables, but I think that's
> the next issue after resolving this one.
>
>
>
>Thanks in advance,
>
>
>
>Mike
>
>
>
>
>
>-----------------------
>
>The mailing list archive is found here:
>
>http://www.nagiosexchange.org/nagios-devel.33.0.html
>
> =09
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
>for problems=3F Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel=3Fcmd=3 ... dat=121642
>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
>Nagios-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/lis ... gios-devel
>
>
> =20
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fil=
es
for problems=3F Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel=3Fcmd=3 ... t=3D121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]