kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« on: September 20, 2011, 04:52:31 PM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #1 on: September 20, 2011, 05:07:13 PM » |
|
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?
|
|
|
|
|
Logged
|
|
|
|
|
tpalacios
Administrator
Sr. Member
   
Karma: 8
Offline
Posts: 190
The Game
|
 |
« Reply #2 on: September 20, 2011, 09:47:08 PM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #3 on: September 20, 2011, 10:33:18 PM » |
|
k, I'll check on those and let you know the results. thx!
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #4 on: September 20, 2011, 11:36:35 PM » |
|
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!
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #5 on: September 21, 2011, 03:51:41 AM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #6 on: September 21, 2011, 07:12:12 PM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #7 on: September 22, 2011, 03:47:39 AM » |
|
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! :)
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #8 on: September 22, 2011, 01:18:00 PM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
kemper451
Jr. Member

Karma: 0
Offline
Posts: 21
|
 |
« Reply #9 on: September 23, 2011, 04:03:48 AM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
|