mySQL support

Bill Hults ehults at paydata.com
Thu Jun 19 18:14:33 CEST 2003


I set up Nagios last week without db support & it was working fine. It's a
RH8.0 system using Nagmin 1.5.1 for configuration.
The first thing I discovered is that you apparently can't use the same
database for Nagmin & Nagios. Nagmin tries to parse all the table that
Nagios uses which won't work.  I created a database called nagiosdata to
hold my data and ran the table creation utility against that. I configured,
compiled & did a make all for Nagios adding db support with no errors.
I added the information in resouce.cfg & cgi.cfg as per the documentation.
Nagios is running but I have no web interface. I get e-mails when I should
from monitored events. The only error I can find is in nagios.log

[1056025791] Nagios 1.1 starting... (PID=21473)
[1056025791] Warning: Host 'FS1' is not a member of any host groups!
[1056025791] Finished daemonizing... (New PID=21474)
[1056025791] Error: Could not connect to MySQL database '' on host '' using
username '' and password ''.  Status data will not be saved!
[1056025791] Error: Could not connect to MySQL database '' on host '' using
username '' and password ''.  Retention data will not be processed or saved!
[1056025791] Error: Could not re-connect to database server on host '' for
status data.  I'll keep trying every 60 seconds...
[1056025791] Error: Could not connect to MySQL database '' on host '' using
username '' and password '' for comment data!
[1056025791] Error: Could not connect to MySQL database '' on host '' using
username '' and password '' for downtime data!

What did I miss?
TIA

Bill Hults

This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com)


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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