NAME
SysAdmin::SNMP - Perl SNMP class wrapper module
SYNOPSIS
use SysAdmin::SNMP;
my $ip_address = "192.168.1.1";
my $community = "public";
my $snmp_object = new SysAdmin::SNMP(IP => "$ip_address",
COMMUNITY => "$community");
my $sysName = '.1.3.6.1.2.1.1.5.0';
my $query_result = $snmp_object->snmpget("$sysName");
print "$ip_address\'s System Name is $query_result
DESCRIPTION
This is a sub class of SysAdmin. It was created to harness Perl Objects and keep code abstraction to a minimum. This class acts as a master class for SNMP objects.
SysAdmin::SNMP uses Net::SNMP to interact with SNMP enabled equipment.
EXPORT
SEE ALSO
Net::SNMP - Object oriented interface to SNMP
AUTHOR
Miguel A. Rivera
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.