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
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