How to configure ndoutils to store data in MySQL?

how to configure ndoutils to store data in MySQL? do anyone has an idea how to configure ndoutils to store data in MySQL?

Hi,

Please see the document from Sourceforge:

nagios.sourceforge.net/docs/ndou … OUtils.pdf

If you still encounted error and cannot send data to MySQL, Please see nagios/var/nagios.log
for debug. and check nagios/etc/ndo2db.cfg :

db_host = localhost <---- change it to db_host = 127.0.0.1
db_user = ndouser
db_pass = <ndouser_pwd>

Note: you must set ndouser has right to access nagios db from localhost and 127.0.0.1
GRANT ALL PRIVILEGES ON nagios TO ndouser@‘127.0.0.1’ WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON nagios TO ndouser@‘localhost’ WITH GRANT OPTION;
flush privileges;

Regards,

J.M. Luo
06/14/2010