From 5815b836bf2c1454f46c841ac71aa8f37bdee730 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sat, 19 Nov 2011 12:30:05 +0000 Subject: [PATCH] add another check to junos cpu git-svn-id: http://www.observium.org/svn/observer/trunk@2730 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/processors/junos.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/processors/junos.inc.php b/includes/discovery/processors/junos.inc.php index 77bc45a46..9022718a0 100755 --- a/includes/discovery/processors/junos.inc.php +++ b/includes/discovery/processors/junos.inc.php @@ -13,7 +13,7 @@ if ($device['os'] == "junos") { foreach ($processors_array as $index => $entry) { - if ($entry['jnxOperatingDescr'] == "Routing Engine" || $entry['jnxOperatingDRAMSize'] && !strpos($entry['jnxOperatingDescr'], "sensor") && !strstr($entry['jnxOperatingDescr'], "fan")) + if ($entry['jnxOperatingDescr'] == "Routing Engine" || $entry['jnxOperatingDescr'] == "Processor" || $entry['jnxOperatingDRAMSize'] && !strpos($entry['jnxOperatingDescr'], "sensor") && !strstr($entry['jnxOperatingDescr'], "fan")) { if ($debug) { echo($index . " " . $entry['jnxOperatingDescr'] . " -> " . $entry['jnxOperatingCPU'] . " -> " . $entry['jnxOperatingDRAMSize'] . "\n"); } $usage_oid = ".1.3.6.1.4.1.2636.3.1.13.1.8." . $index;