mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
cleanup html entities etc, to make htmltidy a bit happier (but not blissful at all yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1981 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -19,7 +19,7 @@ if (mysql_result(mysql_query("SELECT COUNT(*) FROM `sensors` WHERE `device_id` =
|
||||
$descr_oid = ".1.3.6.1.4.1.9.9.13.1.3.1.2.$index";
|
||||
$descr = snmp_get($device, $descr_oid, "-Oqv", "CISCO-ENVMON-MIB");
|
||||
$temperature = snmp_get($device, $oid, "-Oqv", "CISCO-ENVMON-MIB");
|
||||
if (!strstr($descr, "No") && !strstr($temperature, "No") && $descr != "" )
|
||||
if (!strstr($descr, "No") && !strstr($temperature, "No") && $descr != "")
|
||||
{
|
||||
$descr = str_replace("\"", "", $descr);
|
||||
$descr = str_replace("temperature", "", $descr);
|
||||
|
||||
Reference in New Issue
Block a user