Pandora FMS Community

First time install - "A problem occurred when adding the module"

catdude · 10 dic 2014, 20:49 · 14 mensajes · 54 visitas

  1. Inicio del debate

    Greetings. I have just installed PandoraFMS 5.1 SP1 on a Centos 6.5 machine. I've created an agent for my first ffmpeg server following the tutorial at http://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Remote\_Monitoring. I then click on the Modules tab, "Create a new network server module", and Create. I then select "Network Management", "Host Alive", assign a name of Host Alive, type of "Remote Network Agent, boolean data", and click Create. I then get "ERROR: A problem occurred when adding the module. Processing error". I don't see any clues in /var/log/pandora/pandora_server.log, pandora_server.error, or pandora_agent.log. I verified that tentacle server is running. Any suggestions?

  2. Hi, can you attach a screenshot? Have you written in the "Target IP"? Regards

  3. Yes, I have entered the target IP. Screenshot attached.

    [

    ](//pandorafms.com/community/media/forum/0/17843=737-Screen-Shot-2014-12-10-at-10.57.12-AM.png)

  4. Top right, in "Manual Setup", select "Host Alive". Therefore the module is created. When you select "Network Management" in the right combo, you have to select the type of network module you want to use. Regards

  5. I did so (first screenshot attached), and still get the same error (second screenshot). Should there be clues in any log files? It doesn't look like the files in /var/log/pandora have been updated in over an hour.

    [

    ](//pandorafms.com/community/media/forum/0/17845=738-Screen-Shot-2014-12-10-at-11.16.01-AM.png)

    [

    ](//pandorafms.com/community/media/forum/0/17845=739-Screen-Shot-2014-12-10-at-11.16.20-AM.png)

  6. It's rare that you leave not create the module. I am creating like you and works for me. Can you tell me step by step how you've done? regards

  7. From Pandora console, I'm clicking Manage monitoring/Manage agents, selecting agent "ffmpeg1" (screenshot 1).  From "ffmpeg1 - Setup" window am clicking "Modules" tab. Select "Create a new network server module" then "Create". In "Using module component" dropdown select "Network Management", then select "Host Alive" from right-hand dropdown. Leave the "Name" field set to "Host Alive", don't check "Disabled", select "Remote ICMP agent, boolean data", leave "Module Group" set to Networking, leave "Warning status" and "Critical status" fields all untouched (zeros), leave "FF threshold" untouched, select "Historical data", enter "Target IP" of 10.0.0.2, leave Port at default of 0, and click Create (screenshot 2). Result is shown in screenshot 3.

    [

    ](//pandorafms.com/community/media/forum/0/17850=740-Screen-Shot-2014-12-10-at-11.31.28-AM.png)

    [

    ](//pandorafms.com/community/media/forum/0/17850=741-Screen-Shot-2014-12-10-at-11.37.33-AM.png)

    [

    ](//pandorafms.com/community/media/forum/0/17850=742-Screen-Shot-2014-12-10-at-11.37.54-AM.png)

  8. Try to do it in manual mode to see if the module is created. Select "Manual Setup" and type fields manually. Regards

  9. No, sorry, same results. Could I have misinstalled PandoraFMS in any way that could cause this?

  10. I'm not sure whether this is related, but I was clicking through other menu choices, and clicked on System Audit Log/System logfiles. In that window I see: /VAR/WWW/HTML/PANDORA_CONSOLE/PANDORA_CONSOLE.LOG (0.2 KB) [10-Dec-2014 09:14:29] PHP Warning:  array_fill(): Number of elements must be positive in /var/www/html/pandora_console/include/functions_custom_graphs.php on line 185 ERROR Cannot find file(/var/log/pandora/pandora_server.log) ERROR Cannot find file(/var/log/pandora/pandora_server.error) Those last two puzzle me, as those files do exist: [root@wowza godmode]# ls -al /var/log/pandora/ total 104 drwxrwx---  2 pandora root  4096 Dec 10 04:11 . drwxr-xr-x. 22 root    root  4096 Dec  9 15:10 .. -rw-r--r--  1 root    root  986 Dec 10 09:37 pandora_agent.log -rw-r--r--  1 root    root 50375 Dec 10 04:11 pandora_agent.log-20141210.gz -rw-rw-rw-  1 root    root  164 Dec 10 09:36 pandora_server.error -rw-r--r--  1 root    root 28969 Dec 10 09:52 pandora_server.log Any idea what that first message (the "number of elements" one) means, and whether it indicates some sort of problem that might be affecting my ability to create modules? I'm running 5.1 SP1 build PC141031, just installed yesterday.

  11. Update: I changed the ownership of the /var/log/pandora directory to apache:apache and restarted Pandora, and now the error messages reporting inability to access the log files is gone. The message about "number of elements must be positive" remains.

  12. hello, The owner of the logs must be root:root. Can you attach a copy of: pandora_server.log, pandora_server.error and agent log too. Regards

  13. Attaching the log files. I'm thinking that my best approach now might be to uninstall PandoraFMS, remove all files, and reinstall. Since I don't have agents or modules configured yet, that might be the simplest course.

    pandora_agent.log

    pandora_server.error

    pandora_server.log

  14. It's weird ... I agree with you. Try reinstalling the server and agents. Keep me posted with any developments. Regards

Entra en tu cuenta para publicar.