| SNMP::Info::CiscoStats(3pm) | User Contributed Perl Documentation | SNMP::Info::CiscoStats(3pm) |
SNMP::Info::CiscoStats - Perl5 Interface to CPU and Memory stats for Cisco Devices
Eric Miller, Max Baker, Sam Stickland
# Let SNMP::Info determine the correct subclass for you.
my $ciscostats = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly on to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $ciscostats->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
SNMP::Info::CiscoStats is a subclass of SNMP::Info that provides cpu, memory, os and version information about Cisco Devices.
Use or create in a subclass of SNMP::Info. Do not use directly.
None.
'cisco'
Available values:
'ios' for Cisco IOS
'ios-xe' for Cisco IOS XE
'ios-xr' for Cisco IOS XR
'pix' for Cisco PIX
'asa' for Cisco ASA
'fwsm' for Single-mode FWSM
'fwsm-admin' for Admin context of multi-context FWSM
'fwsm-context' for Standard context of multi-context FWSM
'ace-admin' for Admin context of ACE module
'ace-context' for Standard context of ACE module (NB: No OS version
detection is available, but will be the same as it's
'ace admin')
'css' for Cisco Content Switch
'css-sca' for Cisco Content Switch Secure Content Acceleration
'san-os' for Cisco SAN-OS
1.3.6.1.4.1.9.2.1.56.0 = "OLD-CISCO-CPU-MIB:avgBusyPer"
1.3.6.1.4.1.9.2.1.57.0
1.3.6.1.4.1.9.2.1.58.0
"CISCO-PROCESS-MIB::cpmCPUTotal5sec.9"
"CISCO-PROCESS-MIB::cpmCPUTotal1min.9"
"CISCO-PROCESS-MIB::cpmCPUTotal5min.9"
"CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree"
"CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolUsed"
"CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree" + "CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolUsed"
"CISCO-FLASH-MIB::ciscoFlashDeviceSize"
("ciscoMemoryPoolFree")
("ciscoMemoryPoolUsed")
("ciscoFlashDeviceSize")
"ciscoImageString"
| 2023-09-30 | perl v5.36.0 |