From: Yves M. <yme...@li...> - 2004-10-26 08:05:44
|
> I have no problem seing the results, but the error appears just the > same. I only found the error because i am making tests for a real > production environment. > >> Could you run >> perfparse-log2db <your options here> --show-config > > I only have the perfparse-db-tool. Ooops, perfparse-log2db is the new version of perparse. With 0.100.x, I w= as meaning perfparse --show_config. But perfparse-db-tool answers the same thing so it's OK. OK, I see nothing unusual here. I have another idea. Check your mysql config file. Do you have 3306 as th= e tcp port for mysqld ? Same question for the client even if I don't know if this is imp= ortant. Is skip-networking defined ? If yes, comment it. Well, if this is not enough, the last thing I would do is : telnet localhost 3306 If the connection is refused, stop searching on perfparse side and read t= he documentation about mysql. If the connection is accepted, for me, it's ga= me over, and just hope that somebody else can help you :) For information for Ricardo and those who would try to help, nagios conne= cts to mysql thanks to a local socket (some file in /tmp/...). Perfparse connects to m= ysql thanks to the network (socket IPv4). I don't know for the client mysql, but it prov= ides a -P option for the port, and -h for the host name. Maybe this can help ? Yves > # ./perfparse-db-tool --show_config > DB_User =3D "nagios" > DB_Name =3D "nagios" > DB_Pass =3D "******" > DB_Host =3D "127.0.0.1" > Drop_File =3D "/tmp/perfparse.drop" > Service_Log =3D "/usr/local/nagios/var/serviceperf.log" > Host_Log =3D "/usr/local/nagios/var/hostperf.log" > Dummy_Hostname =3D "dummy" > Delete_Service_Log =3D "No" > Delete_Host_Log =3D "No" > Nagios_Lock =3D "/usr/local/nagios/var/nagios.lock" > Lock_File =3D "/var/lock/perfparse.lock" > Be_Silent =3D "no" > Do_Report =3D "no" > Accept_Odd_Chars_in_Label =3D "no" > Default_user_permissions_Policy =3D "rw" > Default_user_permissions_Host_groups =3D "rw" > > Regards > > -- > Ricardo David Martins > _______________________________________________________________________= ______________________________ > > AVISO > > Esta mensagem (incluindo quaisquer anexos) pode conter informa=E7=E3o > confidencial para uso exclusivo do destinat=E1rio. Se n=E3o for o > destinat=E1rio pretendido, n=E3o dever=E1 usar, distribuir ou copiar es= te > e-mail. Se recebeu esta mensagem por engano, por favor informe o > emissor e elimine-a imediatamente. Obrigado. > > DISCLAIMER > > This e-mail (including any attachments) may contain confidential > information for exclusive use of its recipient. If you are not the > intended recipient you must not use, distribute or copy this e-mail. > If you have received this e-mail in error please notify the sender and > delete it immediately. Thank You. > > _______________________________________________________________________= ______________________________ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > Use IT products in your business? Tell us what you think of them. Give = us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - |