ndoutils help.

Mike Koponick mkoponick at redhawk.info
Mon Feb 13 23:05:39 CET 2006


Alessandro,

 

I have been using both, since I wish to dump to MySQL.

 

This is what I see when I start Nagios:

 

Feb  6 12:03:39 screech nagios: Nagios 2.0rc2 starting... (PID=4517)

Feb  6 12:03:39 screech nagios: LOG VERSION: 2.0

Feb  6 12:03:39 screech nagios: ndomod: NDOMOD 1.2 Copyright (c)
2005-2006 Ethan Galstad (nagios at nagios.org)

Feb  6 12:03:40 screech nagios: ndomod: Successfully connected to data
sink.  0 queued items to flush.

Feb  6 12:03:40 screech nagios: Event broker module
'/usr/local/nagios/bin/ndomod.o' initialized successfully.

Feb  6 12:03:40 screech nagios: Finished daemonizing... (New PID=4519)

Feb  6 12:03:40 screech ndo2db: Successfully connected to MySQL database

 

 

Mike

 

-----Original Message-----
From: Alessandro Ren [mailto:alessandro.ren at opservices.com.br] 
Sent: Monday, February 13, 2006 12:33 PM
To: Mike Koponick
Cc: nagios-devel at lists.sourceforge.net
Subject: Re: [Nagios-devel] ndoutils help.

 


    Hello Mike,

I dont get any messages on /var/log/messages concerning ndoutils. I get
this message on nagios.cfg

[1139855284] ndomod: Successfully connected to data sink.  0 queued
items to flu
sh.
[1139855284] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized suc
cessfully.

    The ndo2db is running ok, but no messages in the logs either. It
creates the ndo.sock file and running.
    If I am running ndomod.o to dump to a file, I dont need to have
ndo2db, right?
    In the ndo.dat file I get this messages and nothing else.

HELLO
PROTOCOL: 2
AGENT: NDOMOD
AGENTVERSION: 1.3
STARTTIME: 1139858944
DISPOSITION: REALTIME
CONNECTION: FILE
CONNECTTYPE: INITIAL
INSTANCENAME: default
STARTDATADUMP

    Nagios runs ok, allthought does't dump anyting.
    Thanks for any clue in the matter Mike.

    []s.


Mike Koponick wrote: 

Alessandro,

 

Make sure you also have the following running:

 

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 

(your directory structure may vary)

 

Also, you have want to send a tail of your /var/log/messages (If you are
sending to syslog) just to make sure you are seeing the module is being
initialized and connecting to the SQL server.

 

I have been using NDO for quite a while and don't have any issues. I do
need to upgrade to the stable release of software this week, but
currently I'm using 2.0rc.

 

Mike

 

-----Original Message-----
From: nagios-devel-admin at lists.sourceforge.net
[mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of
Alessandro Ren
Sent: Monday, February 13, 2006 12:11 PM
To: nagios-devel at lists.sourceforge.net
Subject: [Nagios-devel] ndoutils help.

 

    
    Hello,

i've been trying to use ndoutils and I can no get nagios to dump
anything. The broker gets loaded and logs in nagios.log that has been
loaded, and either dumping in file or to a unix socket, I dont get
anything.
    I've made some changes on the code to dump all logs to mysql by
myself already, but I'd like to use ndoutils, as they dump more
information and it'd be more complience for futures upgrades.
    I am using nagios-2.0 stable release and tried ndoutis-1.2 and
ndoutils-1.3, the broker_module entry is in the nagios.cfg, it creates
de file ndo.dat and writes the start informantion but does't dump
anything.

    Thanks.  
   

-- 
__________________________________________________

Alessandro Ren

OpServices
Luciana de Abreu, 471 - Sala 403
Porto Alegre, RS - CEP 90570-060

 

*   phone 55(51)3061-3588
*    fax 55(51)3061-3588

*   mobile 55(51)8151-8212
*   email alessandro.ren at opservices.com.br
<mailto:%22alessandro.ren at opservices.com.br%22> 

__________________________________________________

 

-- 
__________________________________________________

Alessandro Ren

OpServices
Luciana de Abreu, 471 - Sala 403
Porto Alegre, RS - CEP 90570-060

 

*   phone 55(51)3061-3588
*    fax 55(51)3061-3588

*   mobile 55(51)8151-8212
*   email alessandro.ren at opservices.com.br
<mailto:%22alessandro.ren at opservices.com.br%22> 

__________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060213/3fa33f88/attachment.html>


More information about the Developers mailing list