Skip to content

Commit

Permalink
Merge pull request #3897 from Rosiak/asa-hw
Browse files Browse the repository at this point in the history
Detect Cisco ASA-X Firewall Hardware
  • Loading branch information
laf committed Jul 28, 2016
2 parents 4c3d4fe + 3595b37 commit 84872b3
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 8 deletions.
4 changes: 4 additions & 0 deletions includes/polling/os/asa.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@
if (isset($data[1]['entPhysicalSerialNum']) && $data[1]['entPhysicalSerialNum'] != '') {
$serial = $data[1]['entPhysicalSerialNum'];
}

if (empty($hardware)) {
$hardware = snmp_get($device, 'sysObjectID.0', '-Osqv', 'SNMPv2-MIB:CISCO-PRODUCTS-MIB');
}
Loading

0 comments on commit 84872b3

Please sign in to comment.