mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
another processor fix!
git-svn-id: http://www.observium.org/svn/observer/trunk@904 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
$descr_oid = "entPhysicalName." . $entPhysicalIndex;
|
||||
$descr = snmp_get($device, $descr_oid, "-Oqv", "ENTITY-MIB");
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user