ignore silly aggregate processor on hrDevice index 1 on arista-eos

git-svn-id: http://www.observium.org/svn/observer/trunk@2263 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-06 10:32:32 +00:00
parent 5f61444122
commit 4a2004a53a

View File

@@ -36,6 +36,9 @@ if (is_array($hrDevice_array))
rename($old_rrd,$new_rrd);
echo("Moved RRD ");
}
if($device['os'] = "arista-eos" && $index == "1") { unset($descr); }
if (isset($descr) && $descr != "An electronic chip that makes the computer work.")
{
discover_processor($valid['processor'], $device, $usage_oid, $index, "hr", $descr, "1", $usage, NULL, $hrDeviceIndex);