mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
updates
git-svn-id: http://www.observium.org/svn/observer/trunk@426 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+12
-1
@@ -51,6 +51,18 @@ if($health) {
|
||||
");
|
||||
}
|
||||
|
||||
$cisco_sensors = mysql_result(mysql_query("SELECT count(*) FROM `entPhysical` WHERE device_id = '".$device['device_id']."' AND entSensorType != '' AND entSensorType NOT LIKE 'No%'"),0);
|
||||
|
||||
if($cisco_sensors) {
|
||||
echo("
|
||||
<li class=" . $select['ciscosensors'] . ">
|
||||
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/ciscosensors/'>
|
||||
<img src='images/16/contrast.png' align=absmiddle border=0> Sensors
|
||||
</a>
|
||||
</li>
|
||||
");
|
||||
}
|
||||
|
||||
if(is_dir($config['collectd_dir'] . "/" . $device['hostname'] ."/")) {
|
||||
echo("
|
||||
<li class=" . $select['collectd'] . ">
|
||||
@@ -61,7 +73,6 @@ if(is_dir($config['collectd_dir'] . "/" . $device['hostname'] ."/")) {
|
||||
");
|
||||
}
|
||||
|
||||
|
||||
if(@mysql_result(mysql_query("select count(interface_id) from interfaces WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
|
||||
echo("
|
||||
<li class=" . $select['ports'] . ">
|
||||
|
||||
Reference in New Issue
Block a user