mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix descriptions for lmsensors with space in them
git-svn-id: http://www.observium.org/svn/observer/trunk@758 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
foreach(explode("\n", $oids) as $data) {
|
||||
$data = trim($data);
|
||||
if($data) {
|
||||
list($oid,$descr) = explode(" ", $data);
|
||||
list($oid,$descr) = explode(" ", $data,2);
|
||||
if (substr($descr,0,5) == "temp-")
|
||||
{
|
||||
$split_oid = explode('.',$oid);
|
||||
|
Reference in New Issue
Block a user