Problem With nagios with mysql

Manuel Alejandro Peña Sánchez psma at mpsnet.net.mx
Wed Jul 28 01:11:36 CEST 2004


I compiled nagios with suport of mysql, this are my parameters of configure:

 

./configure --prefix=/usr/local/nagios --with-cgiurl=/cgi-bin
--with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios
--with-mysql-lib=/usr/lib --with-mysql-inc=/usr/include/mysql
--with-mysql-status  --with-mysql-comments  --with-mysql-extinfo
--with-mysql-retention  --with-mysql-downtime --with-mysql-xdata
--libexecdir=/usr/local/nagios/libexec

 

The version of my nagios is 1.2

 

And the problem that I have is that nagios.log sends me this output:

 

[1090941392] Nagios 1.2 starting... (PID=18906)

[1090941392] Finished daemonizing... (New PID=18907)

[1090941392] Error: Could not connect to MySQL database '' on host '' using
user

name '' and password ''.  Status data will not be saved!

[1090941392] Error: Could not connect to MySQL database '' on host '' using
user

name '' and password ''.  Retention data will not be processed or saved!

[1090941392] Error: Could not re-connect to database server on host '' for
statu

s data.  I'll keep trying every 60 seconds...

[1090941392] Error: Could not connect to MySQL database '' on host '' using
user

name '' and password '' for comment data!

[1090941392] Error: Could not connect to MySQL database '' on host '' using
user

name '' and password '' for downtime data!

 

And it starts but when it tries to check a host it doesn’t recognize any
check program and sends this output: 

 

[1090941492] HOST ALERT: linux1;DOWN;SOFT;9;CRITICAL - Plugin timed out
after 10

 Seconds

 

And on some times it sends that nagios doesn’t found a check_xxx plugin,
beside I have compiled also the nagios-plugins source.

 

May any one help me, also I want to know if any one have a dump of mysql
tables for nagios.

 

Regards

 

Manuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040727/a718079f/attachment.html>


More information about the Users mailing list