Re: [gentoo-user] Nagios and MySql
I already set the database correctly and create the tables and the nagios is alread inserting data at the tables but none information are displayed by the cgis ... it said that the service is disabled ( not true it is running I don't know nagios at all but maybe mysql is still bound to 127.0.0.1 (i.e. only listening locally) and you try to connect from a different machine? If so, look into /etc/mysql/my.cnf and search for bind-address and comment it out. But be sure to have good passwords then because then everybody can connect to the database if you haven't protected it via iptables. Christian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Nagios and MySql
Hi Christian I was wondering about that too... but my bind adress is 0.0.0.0 and I try to connect from a diferent machine and I could do it On 9/6/05, Christian Schill [EMAIL PROTECTED] wrote: I already set the database correctly and create the tables and the nagios is alread inserting data at the tables but none information are displayed by the cgis ... it said that the service is disabled ( not true it is running I don't know nagios at all but maybe mysql is still bound to 127.0.0.1 (i.e. only listening locally) and you try to connect from a different machine? If so, look into /etc/mysql/my.cnf and search for bind-address and comment it out. But be sure to have good passwords then because then everybody can connect to the database if you haven't protected it via iptables. Christian -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Nagios and MySql
Good night to you all :) I was wondering if some one can help me with nagios; I installed nagios on a server that has MySql installed so for my surprise nagios got compilled with MySql support even without mysql use flag . Now I got two options . learn how to disable MySql support Or for the best learn how to show data at the database... I already set the database correctly and create the tables and the nagios is alread inserting data at the tables but none information are displayed by the cgis ... it said that the service is disabled ( not true it is running ) PS. I already changed check_command from cgi.cfg to usr/bin/perl /usr/nagios/libexec/something.db.pl I forgot the scrit name and my machine is unreacheble now . If some know anything I will be trully glad. Thanks, Allan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Nagios and MySql
On Monday 05 September 2005 21:00, Allan Spagnol Comar wrote: Good night to you all :) I was wondering if some one can help me with nagios; I installed nagios on a server that has MySql installed so for my surprise nagios got compilled with MySql support even without mysql use flag . Now I got two options . learn how to disable MySql support Or for the best learn how to show data at the database... I already set the database correctly and create the tables and the nagios is alread inserting data at the tables but none information are displayed by the cgis ... it said that the service is disabled ( not true it is running ) PS. I already changed check_command from cgi.cfg to usr/bin/perl /usr/nagios/libexec/something.db.pl I forgot the scrit name and my machine is unreacheble now . If some know anything I will be trully glad. Thanks, Allan I've not installed nagios on gentoo, just from sources on other systems. However, even if the programs are compiled with db support, the config files can still not use it. if you want to send me your config files, offline, I'll look at them. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list