Pandora FMS Community

pandora_manage perl have some problem

PeterCheung · 1 sept 2018, 9:00 · 3 mensajes · 52 visitas

  1. Inicio del debate

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_CLI

    perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_agent 'My agent' Windows Databases Central-Server 192.168.12.123 'Agent description' 600
    

    use this command to add agent unable to use network tools

    SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1 ('select ip from taddress where id_a in ()') in /var/www/html/pandora_console/include/db/mysql.php on line 93 The agent doesn't have an IP yet.

    i thank the other  IP Address is None, how to fix this problem?

  2. Find the SQL Code  use pandora_manage.pl to add agent will not update to "taddress" The "taddress" is save agent  IP

  3. https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_CLI

    perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_agent 'My agent' Windows Databases Central-Server 192.168.12.123 'Agent description' 600
    

    use this command to add agent unable to use network tools

    SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1 ('select ip from taddress where id_a in ()') in /var/www/html/pandora_console/include/db/mysql.php on line 93 The agent doesn't have an IP yet.

    i thank the other  IP Address is None, how to fix this problem?

    Good morning PeterCheung, First of all, thanks for telling us this problem on the plugin. First off all tell you that the None cant be changed until version 727 come out, because of a bug in the "save" option of the agents. Please try to use the option -- update_agent and put the IP again to solve the problem of the None IP: https://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Anexo\_CLI#Update\_agent If the problem persists let us know please. Alberto

Entra en tu cuenta para publicar.