SNMP::Info::Layer7::CiscoIPS - Cisco Adaptive Security Appliance IPS module
Moe Kraus
# Let SNMP::Info determine the correct subclass for you. my $info = new SNMP::Info( AutoSpecify => 1, Debug => 1, # These arguments are passed directly to SNMP::Session DestHost => 'myIPS', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $ips->class(); print "SNMP::Info determined this device to fall under subclass: $class\n";
Subclass for Cisco IPS Module
See classes listed above for their required MIBs.
These are methods that return scalar value from SNMP
Returns base mac. Matches only on e4:d3:f1
Fetches serial from Module
overrides Entity->e_index() since entity table the IPS delivering is buggy.
Returns '01001000'
Returns model name
Retruns the product name
Returns the serial number
Returns the system description
See documentation in "GLOBALS" in SNMP::Info::Layer7 for details.
See documentation in "GLOBALS" in SNMP::Info::Entitiy for details.
These are methods that return tables of information in the form of a reference to a hash.
See documentation in "TABLE METHODS" in SNMP::Info::Layer7 for details.
See documentation in "TABLE METHODS" in SNMP::Info::Entity for details.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.