No data in mysql database

LEUNG Wing Yee 010465845 at stu.vtc.edu.hk
Tue Apr 13 09:51:27 CEST 2004


Dear All,
Hi!
I just compiled Nagios with mysql support.
And I made a few changes in the configuration files.
Then I created 12 tables using the  scripts given in /contrib/database.

(1)I added the following lines in cgi.cfg:
x?ddb_host=localhost
x?ddb_port=3306
x?ddb_database=mydb
x?ddb_username=root
x?ddb_password=root

(2)I added the following lines in resource.cfg:
x?ddb_host=localhost
x?ddb_port=3306
x?ddb_database=mydb
x?ddb_username=root
x?ddb_password=root
x?ddb_optimize_data=1

(3)I commented this line in resource.cfg:
# downtime_file=/usr/local/nagios/var/downtime.log
# comment_file=/usr/local/nagios/var/comment.log
....

But there is no data in the tables. Have I missed any important steps?
Please help. Thanks very much.

Regards,
Mil



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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