Welcome to Pandora FMS Community › Forums › Soporte de la comunidad › Agente Local Pandora parado
-
Agente Local Pandora parado
Posted by kikelin on October 27, 2014 at 13:47Buenos días,
Resulta que el propio servidor de Pandora, no está mandando señal de sus agentes así mismo. De 30 monitores que tiene disponible, solo 4 son los que está enviando información al sistema.
Cosas hechas:
– Reiniciar servicio pandora_server y pandora_agent_daemon. Resultado, nada.
– Reiniciar la máquina. Nada¿Alguna idea? ¿os ha pasado?
Muchas gracias
smartin replied 10 years, 4 months ago 2 Members · 13 Replies -
13 Replies
-
-
-
-
-
::
Buenas, Adjunto algunos logs. Dime de que te vendrían bien las capturas y te las envió. Muchísimas gracias.
Log de Pandora_server.log
2014-10-27 10:12:36 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ Shutdown by signal
2014-10-27 10:12:38 Pandora-CPA [V1] Launching 4.0.3 130118
2014-10-27 10:12:38 Pandora-CPA [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 5 sec, verbosity at 1, Alert Threshold at 60, ServerName is ‘Pandora-CPA’
2014-10-27 10:33:24 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 354.2014-10-27 10:33:24 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:24 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 400.2014-10-27 10:33:24 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:24 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 400.2014-10-27 10:33:24 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:25 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 377.2014-10-27 10:33:25 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:25 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 400.2014-10-27 10:33:25 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:25 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ Shutdown by signal
2014-10-27 10:33:25 Pandora-CPA [V1] [E] ‘Pandora-CPA’: DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 579.2014-10-27 10:33:25 Pandora-CPA [V1] Pandora FMS Server ‘Pandora-CPA’ unhandled error.
2014-10-27 10:33:41 Pandora-CPA [V1] Launching 4.0.3 130118
2014-10-27 10:33:41 Pandora-CPA [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 5 sec, verbosity at 1, Alert Threshold at 60, ServerName is ‘Pandora-CPA’Log de Pandora_server.ERROR
2014-10-27 10:12:38 – Pandora-CPA Starting Pandora FMS Server. Error logging activated.
Use of uninitialized value in string eq at /usr/lib/perl5/PandoraFMS/SNMPServer.pm line 68.
Use of uninitialized value in string eq at /usr/lib/perl5/PandoraFMS/SNMPServer.pm line 71.
DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 354.
DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 400.
DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 400.
DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 377.
DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 579.
DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 579.
Perl exited with active threads:
10 running and unjoined
3 finished and unjoined
0 running and detached
2014-10-27 10:33:41 – Pandora-CPA Starting Pandora FMS Server. Error logging activated.
Use of uninitialized value in string eq at /usr/lib/perl5/PandoraFMS/SNMPServer.pm line 68.
Use of uninitialized value in string eq at /usr/lib/perl5/PandoraFMS/SNMPServer.pm line 71. -
::
Podrías pasarme la capturas de:
Servidores de Pandora
tu_dirección_ip/pandora_console/index.php?sec=gservers&sec2=godmode/servers/modificar_server&refr=60
Y también la config del agente y del servidor?
De todos modos viendo el log tienes algún problema de base de datos. Prueba a dar privilegios en mysql al usuario pandora. Sería así:
grant all privileges on *.* to ‘pandora’@’dirección_ip_’ identified by ‘password’;
-
::
El comando me da error. Con comillas, sin comillas, pass de user, pass de database, …
grant all privileges on *.* ‘pandora@mi_ip’ identified by ‘password_user’;
Adjunto ficheros. Muchas gracias!!
-
-
::
Buenas, este es el resultado!
mysql> grant all privileges on *.* to ‘pandora’@’10.10.21.15’ identified by ‘pan dora’;
ERROR 1045 (28000): Access denied for user ”@’localhost’ (using password: NO)
mysql> grant all privileges on *.* to ‘pandora’@’10.10.21.15’ identified by pand ora;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘pando ra’ at line 1
mysql> ERROR 1045 (28000): Access denied for user ”@’localhost’ (using password : NO)
-> mysql> grant all privileges on *.* to ‘pandora’@’10.10.21.15’ identified by pandora;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ERROR 1045 (28000): Access denied for user ”@’localhost’ (using password: NO)
m’ at line 1 -
-
-
-
::
Puedes descargártelo desde aqui: