mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add mib and fix silly typo
git-svn-id: http://www.observium.org/svn/observer/trunk@1087 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
if($device['os'] == "ios" || $device['os_type'] == "ios") {
|
||||
if($device['os'] == "ios" || $device['os_group'] == "ios") {
|
||||
|
||||
echo("CISCO-ENHANCED-MEMORY-POOL: ");
|
||||
|
||||
$array = snmpwalk_cache_multi_oid($device, "cempMemPoolEntry", array(), "CISCO-ENHANCED-MEMPOOL-MIB");
|
||||
$array = snmpwalk_cache_multi_oid($device, "cempMemPoolEntry", NULL, "CISCO-ENHANCED-MEMPOOL-MIB");
|
||||
|
||||
if(is_array($array)) {
|
||||
foreach($array[$device[device_id]] as $index => $entry) {
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
## Ignore this discovery module if we have already discovered things in CISCO-ENHANCED-MEMPOOL-MIB. Dirty duplication.
|
||||
|
||||
$cemp_count = mysql_result(mysql_query("SELECT COUNT(*) FROM `mempools` WHERE `device_id` = '".$device['device_id']."' AND `mempool_type` = 'cemp'"),0);
|
||||
if(($device['os'] == "ios" || $device['os_type'] == "ios") && $cemp_count == "0") {
|
||||
|
||||
if(($device['os'] == "ios" || $device['os_group'] == "ios") && $cemp_count == "0") {
|
||||
|
||||
echo("OLD-CISCO-MEMORY-POOL: ");
|
||||
|
||||
|
||||
2273
mibs/CISCO-REMOTE-ACCESS-MONITOR-MIB.my
Normal file
2273
mibs/CISCO-REMOTE-ACCESS-MONITOR-MIB.my
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user