Welcome to Pandora FMS Community › Forums › Community support › First time install – “A problem occurred when adding the module”
-
First time install – “A problem occurred when adding the module”
Posted by catdude on December 10, 2014 at 20:49Greetings. 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?
smartin replied 10 years, 4 months ago 2 Members · 13 Replies -
13 Replies
-
-
-
-
-
-
::
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.
-
-
-
::
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.logAny 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.
-
-
-
::
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.
-