diff --git a/includes/discovery/processors-junos.inc.php b/includes/discovery/processors-junos.inc.php new file mode 100755 index 000000000..ced11c37a --- /dev/null +++ b/includes/discovery/processors-junos.inc.php @@ -0,0 +1,28 @@ + $entry) { + + if($entry['jnxOperatingDRAMSize'] && !strpos($entry['jnxOperatingDescr'], "sensor") && !strstr($entry['jnxOperatingDescr'], "fan")) { + echo($index . " " . $entry['jnxOperatingDescr'] . " -> " . $entry['jnxOperatingCPU'] . " -> " . $entry['jnxOperatingDRAMSize'] . "\n"); + + $usage_oid = ".1.3.6.1.4.1.2636.3.1.13.1.8." . $index; + $descr = $entry['jnxOperatingDescr']; + $usage = $entry['jnxOperatingCPU']; + if(!strstr($descr, "No") && !strstr($usage, "No") && $descr != "" ) { + discover_processor($valid_processor, $device, $usage_oid, $index, "junos", $descr, "1", $usage, NULL, NULL); + } + } + } +} ## End JUNOS Processors + + unset ($processors_array); + +?>