Cgi still reads from files and not from mySQL?
Jan Johansson
jan.johansson at nwl.se
Fri Oct 11 15:38:14 CEST 2002
Well, nagios inputs the data into the DB alrightm, but the CGI does not
read them, it still goes for the files. What might I have missed here?
argus:/usr/local/nagios/etc# cat cgi.cfg | grep db
# the program mode to active or standby. By default, *no one*
xeddb_host=localhost
xeddb_port=3306
xeddb_database=nagios
xeddb_username=nagios
xeddb_password=nagios
xsddb_host=localhost
xsddb_port=3306
xsddb_database=nagios
xsddb_username=nagios
xsddb_password=nagios
xcddb_host=localhost
xcddb_port=3306
xcddb_database=nagios
xcddb_username=nagios
xcddb_password=nagios
xdddb_host=localhost
xdddb_port=3306
xdddb_database=nagios
xdddb_username=nagios
xdddb_password=nagios
argus:/usr/local/nagios/etc# cat resource.cfg | grep db
xsddb_host=localhost
xsddb_port=3306
xsddb_database=nagios
xsddb_username=nagios
xsddb_password=nagios
xsddb_optimize_data=1
xsddb_optimize_interval=3600
xcddb_host=localhost
xcddb_port=3306
xcddb_database=nagios
xcddb_username=nagios
xcddb_password=nagios
xcddb_optimize_data=1
xdddb_host=localhost
xdddb_port=3306
xdddb_database=nagios
xdddb_username=nagios
xdddb_password=nagios
xdddb_optimize_data=1
xrddb_host=localhost
xrddb_port=3306
xrddb_database=nagios
xrddb_username=nagios
xrddb_password=nagios
xrddb_optimize_data=1
argus:/usr/local/nagios/etc#
I seem to have all the settings there?
-----
Jan Johansson
IT-Coordinator
NEW WAVE LOGISTICS Scandinavia AB
Exportgatan 28, Box 4114
S-422 04 HISINGS BACKA, Sweden
Phone: +46(0) 31 742 48 00
Direct: +46(0) 31 742 48 23
Fax: +46(0) 31 7424801
www.newwavelogistics.com <http://www.newwavelogistics.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021011/489fa8a2/attachment.html>
More information about the Users
mailing list