SNMP::Info::Layer3::PaloAlto - SNMP Interface to Palo Alto devices
# Let SNMP::Info determine the correct subclass for you.
my $pa = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $pa->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Subclass for Palo Alto devices
- PAN-COMMON-MIB
- PAN-PRODUCTS-MIB
- Inherited Classes' MIBs
- See SNMP::Info::Layer3 for its own MIB requirements.
These are methods that return scalar value from SNMP
- $pa->vendor()
- Returns 'palo alto networks'.
- $pa->os()
- Returns 'PAN-OS'.
- $pa->model()
- Returns the value of
"panChassisType.0".
- $pa->os_ver()
- Returns the value of
"panSysSwVersion.0".
- $pa->serial()
- Returns the value of
"panSysSerialNumber.0".
- $pa->layers()
- Returns 01001100. Palo Alto doesn't report layers, modified to reflect
Layer 3,4,7 functionality.
See documentation in SNMP::Info::Layer3 for details.
These are methods that return tables of information in the form of a reference
to a hash.
See documentation in SNMP::Info::Layer3 for details.