mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
code standard/cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1978 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -26,22 +26,22 @@ if ($device['os'] == "cometsystem-p85xx")
|
||||
preg_match($regexp, $line, $match);
|
||||
if ($match['name'])
|
||||
{
|
||||
$out[$match['id']]['name'] = $match['name'];
|
||||
$out[$match['id']]['name'] = $match['name'];
|
||||
}
|
||||
|
||||
if ($match['temp_intval'])
|
||||
{
|
||||
$out[$match['id']]['temp_intval'] = $match['temp_intval'];
|
||||
$out[$match['id']]['temp_intval'] = $match['temp_intval'];
|
||||
}
|
||||
|
||||
if ($match['limit_high'])
|
||||
{
|
||||
$out[$match['id']]['limit_high'] = $match['limit_high'];
|
||||
$out[$match['id']]['limit_high'] = $match['limit_high'];
|
||||
}
|
||||
|
||||
if ($match['limit_low'])
|
||||
{
|
||||
$out[$match['id']]['limit_low'] = $match['limit_low'];
|
||||
$out[$match['id']]['limit_low'] = $match['limit_low'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user