mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more code cleanups, modify renamehost to also take a source parameter so we can build a renamehost function into the web gui some day
git-svn-id: http://www.observium.org/svn/observer/trunk@1980 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -21,7 +21,7 @@ if ($device['os'] == "junos")
|
||||
$usage_oid = ".1.3.6.1.4.1.2636.3.1.13.1.8." . $index;
|
||||
$descr = $entry['jnxOperatingDescr'];
|
||||
$usage = $entry['jnxOperatingBuffer'];
|
||||
if (!strstr($descr, "No") && !strstr($usage, "No") && $descr != "" )
|
||||
if (!strstr($descr, "No") && !strstr($usage, "No") && $descr != "")
|
||||
{
|
||||
discover_mempool($valid_mempool, $device, $index, "junos", $descr, "1", NULL, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user