mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed if
This commit is contained in:
@@ -35,7 +35,7 @@ if ($device['os'] == "junos")
|
||||
{
|
||||
foreach ($srx_processors_array as $index => $entry)
|
||||
{
|
||||
if ($index)
|
||||
if (isset($index) && $index >= 0)
|
||||
{
|
||||
$usage_oid = ".1.3.6.1.4.1.2636.3.39.1.12.1.1.1.4." . $index;
|
||||
$descr = "CPU"; # No description in the table?
|
||||
|
||||
Reference in New Issue
Block a user