final fix for processors. I believe it all works now.

git-svn-id: http://www.observium.org/svn/observer/trunk@906 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-21 02:29:00 +00:00
parent 0f4400393b
commit d568c226cc
+1 -1
View File
@@ -21,7 +21,7 @@
$descr_oid = "entPhysicalName." . $entPhysicalIndex;
$descr = snmp_get($device, $descr_oid, "-Oqv", "ENTITY-MIB");
if(!$descr) { $descr = "Processor $index" }
if(!$descr) { $descr = "Processor $index"; }
$old_rrd = $config['rrd_dir'] . "/".$device['hostname']."/" . safename("cpmCPU-" . $index . ".rrd");
$new_rrd = $config['rrd_dir'] . "/".$device['hostname']."/" . safename("processor-cpm-" . $index . ".rrd");