aalicea
Jr. Member

Karma: 0
Offline
Posts: 19
|
 |
« Reply #15 on: February 20, 2008, 03:11:55 PM » |
|
I had to inject spaces to h t t p strings because it wont let me post anything that resembles a u r l.
Perl
perl-libwww-perl-5.805-1.1.1 perl-Time-modules-2003.1126-4.fc6 perl-Class-Gomor-1.01-2.fc7.1 perl-Crypt-DES-2.05-4.fc7 perl-Bit-Vector-6.4-2.2.2.1 perl-DateTime-0.37-3.fc7 perl-Time-Period-1.20-1.fc6 perl-NetAddr-IP-4.004-3.fc7 perl-Set-Infinite-0.61-3.fc7 perl-DateTime-Format-Mail-0.30-4.fc6 perl-CPAN-1.76_02-27.fc7 mod_perl-2.0.3-9.1.fc7 perl-Params-Validate-0.88-1.fc7 perl-Net-Libdnet-0.01-3.fc7.1 perl-Time-Duration-1.06-2.fc7 perl-Net-IP-1.25-3.fc7 perl-IO-Tty-1.07-2.fc6 perl-DateTime-Format-Builder-0.7807-4.fc6 perl-Time-Format-1.02-1.n0i.2 perl-Test-Harness-3.07-1.fc7.rf perl-HTML-Tagset-3.10-5.fc7 perl-Digest-MD4-1.5-3.fc6 perl-DateManip-5.44-3.fc7 perl-Net-Write-1.00-2.fc7 perl-Net-IPv6Addr-0.2-3.fc7.1 perl-Net-Packet-3.25-2.fc7 newt-perl-1.08-14 perl-SNMP_Session-1.08-3.fc6 perl-Net-IP-CMatch-0.02-4.fc6 perl-TermReadKey-2.30-1.2.2.1 perl-POE-0.9989-1.fc7 perl-DateTime-Event-Recurrence-0.16-4.fc7 perl-DateTime-Format-h t t p-0.37-2.fc6 perl-DateTime-Format-MySQL-0.04-4.fc6 perl-Net-SNMP-5.2.0-1.2.fc7.rf perl-Net-SNMP-HostInfo-0.04-1.2.fc7.rf perl-Test-Simple-0.74-1.fc7.rf perl-ExtUtils-Embed-1.26-27.fc7 perl-CGI-Session-4.20-2.fc7 perl-Net-IPv4Addr-0.10-2.fc7.1 perl-URI-1.35-3 perl-DBD-Pg-1.49-3.fc7 perl-Compress-Zlib-1.42-1.fc6 perl-XML-Parser-2.34-6.1.2.2.1 perl-DBIx-DBSchema-0.36-1.fc7 perl-Digest-HMAC-1.01-15 perl-Net-Pcap-0.14-2.fc7.2 perl-Class-Singleton-1.03-4.fc7 perl-Math-Base85-0.2-3.fc7 perl-Time-Piece-MySQL-0.05-3.fc6 perl-IO-Socket-INET6-2.51-2.fc6 perl-Net-Netmask-1.9012-3.fc6 perl-Event-1.09-1.fc7 perl-DateTime-Event-ICal-0.09-3.fc7 perl-DateTime-Format-W3CDTF-0.04-2.fc7 perl-DateTime-Format-ICal-0.08-4.fc7 perl-libs-5.8.8-27.fc7 perl-ExtUtils-MakeMaker-6.30-27.fc7 perl-String-CRC32-1.4-2.fc6 perl-DBD-MySQL-3.0008-1.fc7 perl-Socket6-0.19-3.fc6 perl-IO-Interface-1.03-1.fc7 perl-Time-Piece-1.09-2.fc6 perl-TimeDate-1.16-3.2.1 perl-Tk-804.028-3.fc7 perl-Class-Factory-Util-1.7-1.fc7 perl-DateTime-Format-IBeat-0.161-4.fc6 perl-5.8.8-27.fc7 perl-Digest-SHA1-2.11-1.2.1 perl-DBI-1.53-2.fc7 perl-HTML-Parser-3.56-1.fc7 perl-XML-Simple-2.16-2.fc7 perl-Carp-Clan-5.9-1.fc7 perl-Curses-1.15-1.fc6 perl-DateTime-Set-0.25-4.fc7 perl-DateTime-Format-Strptime-1.0700-3.fc7 perl-POE-Component-SNMP-1.07-1.fc7.rf perl-devel-5.8.8-27.fc7 perl-BSD-Resource-1.28-1.fc6.1 perl-FreezeThaw-0.43-5.fc6
SNMP net-snmp-5.4-16.fc7 php-snmp-5.2.4-1.fc7 perl-SNMP_Session-1.08-3.fc6 perl-Net-SNMP-5.2.0-1.2.fc7.rf perl-Net-SNMP-HostInfo-0.04-1.2.fc7.rf snmpbrowser-0.4-2.fc7.rf net-snmp-utils-5.4-16.fc7 net-snmp-libs-5.4-16.fc7 perl-POE-Component-SNMP-1.07-1.fc7.rf
Thanks.
AA
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by aalicea »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #16 on: February 20, 2008, 03:53:27 PM » |
|
Ummm, I've just thought about the excellent manual one of the members of the forum, Roberto, did some months ago about installing pandora in FC7. You might want to read http://robertolitrico.blogspot.com/2007/10/how-to-install-pandora-on-fedora-server.html in order to check if you have all the perl packages he marked as "dependencies" for pandora in FC7 Let us know what happens
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by manu »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #17 on: February 20, 2008, 03:57:13 PM » |
|
Ok I think I am getting closer...
Database was generated on Tue, 19 Feb 2008 11:30:48 GMT Net::SNMP is up to date (v5.2.0).
Are there any other modules I might be missing? 1.3.1 version comes with a simplified subroutine to get snmp data that do not use snmp session anymore, try it: http://artica.homelinux.com/pandora_tarball/1.3.x/?C=M;O=DCheck also the little doc about changes between 1.3.1 and 1.3 (basically a collection of fixes and improved functionalities). http://www.openideas.info/wiki/index.php?title=Pandora_1.3:DocumentationHope this helps to get a fully Pandora FMS experience ! :-)
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by nil »
|
Logged
|
-- See you in the other screen.
|
|
|
|
aalicea
Jr. Member

Karma: 0
Offline
Posts: 19
|
 |
« Reply #18 on: February 20, 2008, 10:30:30 PM » |
|
Ok The following module was missing: SNMP inside CPAN (must have got broken after install)
Also: net-snmp-perl-5.4-16.fc7 (Required in FC7 for CPAN SNMP to install correctly.
Reinstalled the CPAN SNMP module and Pandora 1.3 snmp polling worked!
Upgraded to 1.3.1, got now an error on the pandora_server.error file:
Use of uninitialized value in multiplication (*) at /usr/bin/pandora_network line 433. Use of uninitialized value in numeric lt (<) at /usr/bin/pandora_snmpconsole line 99. Use of uninitialized value in numeric le (<=) at /usr/bin/pandora_snmpconsole line 106. readline() on closed filehandle SNMPLOGFILE at /usr/bin/pandora_snmpconsole line 117.
The first one is affecting my snmp polling. The other 3, I am not sure what they will affect.
These new values inside /etc/pandora/pandora_server.conf have been included:
snmp_timeout 5 snmp_checks 2 tcp_checks 3 tcp_timeout 5
Thanks for the help on the SNMP issue... I am sure this one is a small detail.
AA
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by aalicea »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #19 on: February 20, 2008, 10:47:00 PM » |
|
Ok The following module was missing: SNMP inside CPAN (must have got broken after install) Also: net-snmp-perl-5.4-16.fc7 (Required in FC7 for CPAN SNMP to install correctly. Reinstalled the CPAN SNMP module and Pandora 1.3 snmp polling worked! Upgraded to 1.3.1, got now an error on the pandora_server.error file: Use of uninitialized value in multiplication (*) at /usr/bin/pandora_network line 433.
Wow, this is too easy: Line 433: my $snmp_timeout = 1000 * 1000 * $pa_config->{"snmp_timeout"}; $pa_config hash item there is defined on Config.pm of 1.3.1 version, Config.pm of 1.3 don't have that, so probably you have not replaced old PandoraFMS/Config.pm with new one. Try to make a fully Pandora install from make: perl Makefile.PL make make install (this one copy Config.pm). You're the king of patience :-)
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by nil »
|
Logged
|
-- See you in the other screen.
|
|
|
|
aalicea
Jr. Member

Karma: 0
Offline
Posts: 19
|
 |
« Reply #20 on: February 20, 2008, 11:42:46 PM » |
|
did a make clean did a perl Makefile.PL then ran make
saw the cp statement regarding Config.pm (it copies it to blib/lib?)
I even copied the /blib/lib/Config.pm to /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/ manually then restarted the server and the error still there.
:-/
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by aalicea »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #21 on: February 21, 2008, 12:14:34 AM » |
|
did a make clean did a perl Makefile.PL then ran make
saw the cp statement regarding Config.pm (it copies it to blib/lib?)
I even copied the /blib/lib/Config.pm to /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/ manually then restarted the server and the error still there.
:-/ mmm do a: find / -name "Config.pm" And make a manual diff with contents of latest ( Feb 20 2008 ) tarball of 1.3.1 Config.pm
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by nil »
|
Logged
|
-- See you in the other screen.
|
|
|
|
|
|
 |
« Reply #22 on: February 21, 2008, 12:28:57 AM » |
|
Confirmed, a simple make is not enought to replace .pm:
$ make cp lib/PandoraFMS/Tools.pm blib/lib/PandoraFMS/Tools.pm cp lib/PandoraFMS/Config.pm blib/lib/PandoraFMS/Config.pm cp lib/PandoraFMS/DB.pm blib/lib/PandoraFMS/DB.pm cp bin/pandora_recon blib/script/pandora_recon /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pandora_recon cp bin/pandora_snmpconsole blib/script/pandora_snmpconsole /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pandora_snmpconsole cp bin/pandora_server blib/script/pandora_server /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pandora_server cp bin/pandora_network blib/script/pandora_network /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pandora_network
slerena@alioth:/tmp/pandora_server$ sudo make install [sudo] password for slerena: Installing /usr/local/share/perl/5.8.8/PandoraFMS/Config.pm Installing /usr/local/share/perl/5.8.8/PandoraFMS/Tools.pm Installing /usr/local/share/perl/5.8.8/PandoraFMS/DB.pm Installing /usr/local/bin/pandora_server Installing /usr/local/bin/pandora_snmpconsole Installing /usr/local/bin/pandora_recon Installing /usr/local/bin/pandora_network Writing /usr/local/lib/perl/5.8.8/auto/PandoraFMS/.packlist Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod
Try again ! :-)
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by nil »
|
Logged
|
-- See you in the other screen.
|
|
|
|
aalicea
Jr. Member

Karma: 0
Offline
Posts: 19
|
 |
« Reply #23 on: February 21, 2008, 02:20:18 PM » |
|
Did the make install (tried it shortly before your last post) But I am still getting the same message.
This was my locate Config.pm result: /root/pandora/pandora_server/blib/lib/PandoraFMS/Config.pm /root/pandora/pandora_server/lib/PandoraFMS/Config.pm /usr/lib/perl5/5.8.8/CPAN/Config.pm /usr/lib/perl5/5.8.8/CPAN/Config.pm~ /usr/lib/perl5/5.8.8/CPAN/HandleConfig.pm /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Config.pm /usr/lib/perl5/5.8.8/Net/Config.pm /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Config.pm /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode/Config.pm /usr/lib/perl5/site_perl/5.8.8/Module/Build/Config.pm /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/Config.pm /usr/lib/perl5/vendor_perl/5.8.8/ExtUtils/PkgConfig.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk/Config.pm
Thanks
AA
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by aalicea »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #24 on: February 24, 2008, 10:20:02 PM » |
|
Did the make install (tried it shortly before your last post) But I am still getting the same message.
This was my locate Config.pm result: /root/pandora/pandora_server/blib/lib/PandoraFMS/Config.pm /root/pandora/pandora_server/lib/PandoraFMS/Config.pm
Let's try again from the scratch. svn co https://pandora.svn.sourceforge.net/svnroot/pandora/branches/pandora_1.3.x/pandora_server(as root) rm /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/Config.pm cd pandora_server perl Makefile.pl make make install This week probably freeze code for 1.3.x and make a beta vmware image to test it more easily. I hope if this don't work for you know, using a vmware image could be able to find the problem, this issue are going crazy all of us :-)
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by nil »
|
Logged
|
-- See you in the other screen.
|
|
|
|
aalicea
Jr. Member

Karma: 0
Offline
Posts: 19
|
 |
« Reply #25 on: February 27, 2008, 02:50:46 PM » |
|
Yes!! the rm (deleting the Config.pm) seem to do the trick!
Now I am only left dealing with the reported values in K instead of GB or MB (from Windows agents). I did see your replies on this subject in another thread... cant wait for the normalization to be possible.
Thank you very much for your outstanding help and such a beautiful product!
|
|
|
|
« Last Edit: January 01, 1970, 01:00:00 AM by aalicea »
|
Logged
|
|
|
|
|
|
|
|