Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › None of the network modules initialize
-
None of the network modules initialize
Posted by tiainpa on January 17, 2011 at 13:43I recently installed Pandora FMS and for the most part it is working quite nicely. The master server is on Ubuntu 10.04.1 and the agents are on Windows XP and Red Hat Enterprise Linux 5.5.
I have also agent running in the monitoring machine to check if the other agents are alive via ICMP echoing. I set these alive checks via web console already a while back, but they are still in ‘Not init’ state. Same thing with one other Red Hat’s network module, it’s not initializing at all.
To my knowledge, the master server is running network server as it is shown with green status in the tactical view – however with 0% load.
What could I try to get the pings & latency checks working?
Thank you in advance!
-Pasi
luismi replied 13 years, 10 months ago 2 Members · 14 Replies -
14 Replies
-
::
Hi tiainpa,
Have you tried to reset pandora server? If it not works, then you should try doing it from the server, in the terminal to be sure that the monitorized machine is really accesible from pandora server.
Be sure too that the machines that doesn’t report, has its firewall disable.
Cheers.
-
::
Pandora server reset was one of the first things I tried, but it doesn’t help.
I logged in to the machines which should do the ping testing with network modules in Pandora, and they can send and receive ping packets just fine against the tested machines.
I cannot disable any firewalls because of the company policy, but I don’t see it would make any difference.
BTW, this is the only error I see in the pandora_server.error:
Use of uninitialized value in string ne at /usr/lib/perl5/PandoraFMS/Core.pm line 793. -
-
::
Hello,
Can you try replacing your Core.pm by this one? Before that, search where is this file and then make a backup of your current Core.pm, rename it for example:
# find / -name Core.pm # mv Core.pm Core.pm.bk
Put the file attached in the same path before and test it.
Cheers.
-
-
-
::
Hi Luis,
Thanks, now there was something in the file 🙂
However, now the Pandora server doesn’t start at all, here’s the info it prints out:
Subroutine pandora_ping redefined at /usr/lib/perl5/PandoraFMS/Core.pm line 1355.
Subroutine pandora_ping_latency redefined at /usr/lib/perl5/PandoraFMS/Core.pm line 1371.
Not enough arguments for PandoraFMS::Core::pandora_create_agent at /usr/lib/perl5/PandoraFMS/ReconServer.pm line 225, near “$dbh)”
Not enough arguments for PandoraFMS::Core::pandora_create_agent at /usr/lib/perl5/PandoraFMS/ReconServer.pm line 234, near “$dbh)”
Compilation failed in require at /usr/bin/pandora_server line 35.
BEGIN failed–compilation aborted at /usr/bin/pandora_server line 35.
Cannot start Pandora FMS Server. Aborted.
Check Pandora FMS log files at ‘/var/log/pandora/pandora_server.error & pandora_server.log’
There’s nothing in the server.log and server.error files.
-Pasi
-
-
-
-
::
I think there is already that line in the original Core.pm file:
use DBI; use XML::Simple; use HTML::Entities; use Time::Local; use POSIX qw(strftime); # Force XML::Simple to use XML::Parser instead SAX to manage XML # due a bug processing some XML with blank spaces. # See http://www.perlmonks.org/?node_id=706838 $XML::Simple::PREFERRED_PARSER='XML::Parser';
.. Or am I missing something here?
-
-
-