2011/7/20 CAVAGNINI Damien <damien.cavagn...@thalesgroup.com>
> Hello,****
>
> ** **
>
> I'm trying to implement *npcd* and *ndo* with *Shinken 0.6.5*.****
>
> ** **
>
> For *ndo*, i'vd loaded the *ToNdodb_Mysql* module in my broker's
> configuration, but i've got this message in *brokerd.log* :****
>
> *2011-07-20 11:50:44,758 [1311155444] [broker-1] Warning : the module type
> ndodb_mysql for ToNdodb_Mysql was not found in modules!*
>
Hi,
I might be mistaken but I seem to remember having this kind of error output
when I hadn't installed MySQLdb module
>From the wiki "Export status into a NDO/Mysql database. It needs the python
module MySQLdb (apt-get install python-mysqldb or easy_install
MySQL-python). " I also remember that it didn't work because I had python2.4
and python2.6, and by default it installed the lib for 2.4 while I used 2.6
But if you already installed it, then the problem isn't there...
Denis
> **
>
> * *
>
> * *
>
> For *npcd*, i fail to use *host_perfdata_file_processing_command *and *
> service_perfdata_file_processing_command* (which are a *mv* to another
> cirectory)****
>
> * *
>
> I tried to use it in *nagios.cfg* and *shinken-specific.cfg (in
> Host-Perfdata *and* Service-Perfdata)*, without success. In both cases, my
> files *service-perfdata* and *host-perfdata* are written, but they are
> never moved.****
>
> ** **
>
> Here is what i put in my nagios.cfg :****
>
> ** **
>
> *host_perfdata_file=/var/spool/nagios/tmp/ramdisk0/host-perfdata*
>
> *service_perfdata_file=/var/spool/nagios/tmp/ramdisk0/service-perfdata*
>
> * *
>
> *
> service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$
> *
>
> * *
>
> *
> host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$
> *
>
> *host_perfdata_file_mode=a*
>
> *service_perfdata_file_mode=a*
>
> *host_perfdata_file_processing_command=process-host-perfdata-file*
>
> *host_perfdata_file_processing_interval=15*
>
> *service_perfdata_file_processing_command=process-service-perfdata-file*
>
> *service_perfdata_file_processing_interval=15*
>
> * *
>
> And here are my commands in commands.cfg :****
>
> ** **
>
> *define command {*
>
> * command_name
> process-host-perfdata-file*
>
> * command_line /bin/mv
> /var/spool/nagios/tmp/ramdisk0/host-perfdata /npcd/tmp/host-perfdata.$TIMET$
> *
>
> *}*
>
> * *
>
> *define command {*
>
> * command_name
> process-service-perfdata-file*
>
> * command_line /bin/mv
> /var/spool/nagios/tmp/ramdisk0/service-perfdata
> /npcd/tmp/service-perfdata.$TIMET$*
>
> *}*
>
> ** **
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel