order areca harddisk temperatures correctly then

git-svn-id: http://www.observium.org/svn/observer/trunk@1164 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-13 19:52:21 +00:00
parent 77f43dee79
commit 545e50fd5b

View File

@@ -96,7 +96,7 @@ if ($device['os'] == "areca")
$descr = "Hard disk $temp_id";
if ($temp != -128)
{
discover_temperature($valid_temp, $device, $temp_oid, $temp_id, "areca", $descr, 1, NULL, NULL, $temp);
discover_temperature($valid_temp, $device, $temp_oid, zeropad($temp_id), "areca", $descr, 1, NULL, NULL, $temp);
}
}
}