SNMP::Info::Layer7::Gigamon - SNMP Interface to Gigamon devices
# Let SNMP::Info determine the correct subclass for you.
my $g = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $g->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Subclass for Gigamon devices
- GIGAMON-SNMP-MIB
- Inherited Classes' MIBs
- See SNMP::Info::Layer7 for its own MIB requirements.
These are methods that return scalar value from SNMP
- $g->vendor()
- Returns 'gigamon'.
- $g->os()
- Returns 'gigamon'.
- $g->os_ver()
- Returns
"GIGAMON-SNMP-MIB::version".
- $g->model()
- Returns "GIGAMON-SNMP-MIB::model".
- $g->serial()
- Returns
"GIGAMON-SNMP-MIB::serialNumber".
- $g->fan()
- Returns "GIGAMON-SNMP-MIB::fans".
- $g->ps1_status()
- Returns
"GIGAMON-SNMP-MIB::powerSupply".
See documentation in SNMP::Info::Layer7 for details.
These are methods that return tables of information in the form of a reference
to a hash.
See documentation in SNMP::Info::Layer7 for details.