Pandora FMS Community

4.0RC2 SNMP v3 - errors on line 355 and 495

kemper451 · 20 sept 2011, 19:52 · 10 mensajes · 61 visitas

  1. Inicio del debate

    I set up a SNMP v3 monitor to query a remote server.  I successfully ran snmpget to test and got back results.  When the monitor launches, it throws an error and seems to stop the server. This doesn't happen when I query for SNMP v1 or v2c (although I don't get any results). Pandora_Server.error Can't exec "25": No such file or directory at /usr/lib/perl5/PandoraFMS/NetworkServer.pm line 355. Can't exec "0": No such file or directory at /usr/lib/perl5/PandoraFMS/NetworkServer.pm line 355. Can't exec "13": No such file or directory at /usr/lib/perl5/PandoraFMS/NetworkServer.pm line 355. Pandora_Server.log 2011-09-20 11:37:57 EDIMON03 [V1] [E] 'EDIMON03': Undefined subroutine &SNMP::translateObj called at /usr/lib/perl5/PandoraFMS/NetworkServer.pm line 495. 2011-09-20 11:37:57 EDIMON03 [V1] Pandora FMS Server 'EDIMON03' unhandled error. 2011-09-20 11:37:57 EDIMON03 [V1] Pandora FMS Server 'EDIMON03' Shutdown by signal 2011-09-20 11:37:57 EDIMON03 [V10] Generating event 'EDIMON03 dataserver going DOWN' for agent ID 0 module ID 0. 2011-09-20 11:37:57 EDIMON03 [V10] Generating event 'EDIMON03 networkserver going DOWN' for agent ID 0 module ID 0.

  2. It was even worse than I originally thought.  I have to disable all SNMP modules or the Pandora server won't start.  As soon as I enable one, even a SNMP v1 module, the server stops immediately and cannot be started.  If I disable all of my SNMP monitors then it starts ok. Is there any other logging that I can enable?

  3. It looks like you're missing some dependencies... Make sure you have net-snmp, net-snmp-utils and perl-SNMP installed in your server. Regards.

  4. k, I'll check on those and let you know the results. thx!

  5. I seem to already have net-snmp and perl-SNMP installed but I've having a horrible time finding the net-snmp-utils.  I have Linux SUSE 11.4 that came with the VMWare image.  Do you have any links to this so that I can download and test?  If not, then can you point me in the right direction? thx!

  6. hmm, according to the research that I've done, it seems that the net-snmp package already includes the utilities.  I've tried to download a couple of files that were built for other systems but they won't install without a fight. So I'm kind of stuck at this point.  Sorry I'm not better at this.

  7. Has anyone here been able to get SNMP queries working using the VMWare image for 4.0?  I would like to compare our versions together.

  8. To test this out, I installed an Ubuntu server from scratch and installed Pandora FMS 4.0RC2.  I got the same error in the same way when I tried to SNMP query another server via a monitor, followed by the pandora server shutdown. I tried to find the net-snmp-util package but that also seems unavailable for Ubuntu. I soooo badly want to get this server working!  :)

  9. I just noticed that I'm not getting error on line 355 with the Ubuntu build, just 495 which reads: /var/log/Pandora_Server.log 2011-09-22 08:10:42 edimon01 [V1] [E] 'edimon01': Undefined subroutine &SNMP::translateObj called at /usr/lib/perl5/PandoraFMS/NetworkServer.pm line 495. /usr/lib/perl5/PandoraFMS/NetworkServer.pm: line 495 my $oid = SNMP::translateObj ($obj); Not sure why the subroutine is undefined or what that means exactly.

  10. I think it is fixed now.  I was reading through the update notes and it looks like it was fixed about 10 days ago.  I updated to the latest SVN and it was like magic! Thank you everyone for your help.

Entra en tu cuenta para publicar.