Ask a Question related to PERL Modules, Design and Development.
-
rob merritt #1
Activestate net::SNMP question
Hi I was hoping to use the
net::SNMP module to dump all hardware addresses in a switches table
and find what port they each are on
and have gotten this far (able to dump the uptime of the switch)
anyone out there know how to get all the addresses on each port?
I am reading the doc and man pages and its a little complicated>
use Net::SNMP;
$hostname = shift || '172.16.0.11';
$community = shift || 'public';
$port = shift || 161;
($session, $error) = Net::SNMP->session(
Hostname => $hostname,
Community => $community,
Port => $port
);
if (!defined($session)) {
printf("New Session ERROR: %s\n", $error);
exit 1;
}
$sysUpTime = '1.3.6.1.2.1.1.3.0';
if (!defined($response = $session->get_request($sysUpTime))) {
printf("System Uptime ERROR: %s\n", $session->error);
rob merritt Guest
-
Namespace question for new SNMP modules
I'm currently working on releasing a new distribution which I'm calling Class::SNMP. As this is my first release to CPAN, I'm a bit apprehensive... -
ppm.activestate.com down?
just trying to install perl in my WinXP computer, trying to install some modules using PP3 and it gives me an error that it can't reach... -
ActiveState installation question
If I am using the MSI do I need to uninstall the old version before installing the new one? -
UCD-SNMP / NET-SNMP config for hostmib AIX 4.3.3
Has anyone ever configured/used hostmib variables for AIX v4.3.3? I want to get hostmib statistics (RFC-1514) like storage/cpu and so on from a... -
little question about snmp
in /usr/tmp/snmpd.log ..... 06/22/03 18:44:51 EXCEPTIONS: authentication error: invalid community name: xyz 06/25/03 18:43:08 EXCEPTIONS:...




