• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PERL SNMP Question - Anyone good at this?

ProUser

Senior member
I'm getting desperate here, and I can't find *anything* useful on the web or any really good documentation.

I need to send an SNMP GET Request, Via Perl for approximately 80 variables. Via the command line, I know how to send a bulk request but via Perl I can't seem to figure out how to send such a request... only 1 at a time, which takes FOREVER with that many variables.

Can anyone please help? Or point me in a good direction..

For example:

#!/usr/bin/perl

use SNMP;


$ip = 'xxx.xxx.xxx.xxx';

$s = new SNMP::Session ( 'DestHost' => $ip ,
'Community' => 'public',
'Version' => '2c' ) ;


$sw_ver = $s->get("swVersion.0"); # This gets them one at a time.. but I need 70+ others, and sending a new request for each one has great latency/etc
 
Back
Top