mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more junos mempool debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@1410 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -2,7 +2,10 @@
|
||||
|
||||
$oid = $mempool['mempool_index'];
|
||||
|
||||
if($debug) {echo("JunOS Mempool");}
|
||||
|
||||
if(!is_array($mempool_cache['junos'])) {
|
||||
if($debug) {echo("caching");}
|
||||
$mempool_cache['junos'] = array();
|
||||
$mempool_cache['junos'] = snmpwalk_cache_multi_oid($device, "jnxOperatingBuffer", $mempool_cache['junos'], "JUNIPER-MIB" , "+".$config['install_dir']."/mibs/junos");
|
||||
$mempool_cache['junos'] = snmpwalk_cache_multi_oid($device, "jnxOperatingDRAMSize", $mempool_cache['junos'], "JUNIPER-MIB" , "+".$config['install_dir']."/mibs/junos");
|
||||
|
Reference in New Issue
Block a user