Pandora FMS Community

There was a problem adding module

nathonline · 13 oct 2008, 4:07 · 10 mensajes · 49 visitas

  1. Inicio del debate

    Hello, When i m trying to add a snmp module, i have this error : "There was a problem adding module" When i click on "snmpwalk" i have the oid snmp ... but when i click on "add" i have this error : "There was a problem adding module" How can i resolve this problem ? regards

  2. It only happens with that SNMP module? I mean, what if you create for instance a network module? Or a SNMP module using one which is already in the webconsole?

  3. If i'm adding a network module, it's working very well. if i'm adding an other snmp module, i have the same error message

  4. Are you using the vmware image?

  5. no no I'm using the current stable Pandora release (1.3) on a debian distribution ...

  6. Are you completing all the needed fields? Some of the are compulsory (I'm afraid they are not stated as compulsory). If so, you can try to "debug" what is happening by adding an echo to the SQL sentence and then try to launch the SQL using the Mysql command line, to see the error. It is around line 601 of pandora_consolegodmodeagentesconfigurar_agente.php file, the code is:

    $sql_insert = "INSERT INTO tagente_modulo (id_agente,id_tipo_modulo,nombre,descripcion,max,min,snmp_oid,snmp_community,id_module_group,module_interval,ip_target,tcp_port,tcp_rcv,tcp_send) VALUES (".$id_agente.",".$id_tipo_modulo.",'".$nombre."','".$descripcion."','".$modulo_max."','".$modulo_min."', '$snmp_oid', '$snmp_community', '$id_module_group', '$module_interval', '$ip_target', '$tcp_port', '$tcp_rcv', '$tcp_send')";
    

    Add, just below:

     echo "debug:".$sql_insert."" ;
    

    And you'll see the INSERT send to the database. Try to use that MySQL sentence. Raul

  7. The reason : When i click on snmpwalk, the module type field is empty... I have to select manually the module type

  8. destination has "public" snmp community, is correct the IP target, pandora_network have access to 161/udp in remote host ?, do you have installed php-snmp module ?

  9. My Snmp and snmptrap have the default configuration...

  10. can you make a snmpwalk -v1 -c public from the pandora_network system ?

Entra en tu cuenta para publicar.