mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
add service history RRD and graph
git-svn-id: http://www.observium.org/svn/observer/trunk@926 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -148,7 +148,7 @@ if($config['enable_inventory'] && @mysql_result(mysql_query("SELECT * FROM `entP
|
||||
#}
|
||||
|
||||
|
||||
if(mysql_result(mysql_query("select count(service_id) from services WHERE service_host = '" . $device['device_id'] . "'"), 0) > '0') {
|
||||
if(mysql_result(mysql_query("select count(service_id) from services WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
|
||||
echo('<li class="' . $select['srv'] . '">
|
||||
<a href="'.$config['base_url'].'/device/' . $device['device_id'] . '/srv/">
|
||||
<img src="images/16/server_cog.png" align="absmiddle" border="0" /> Services
|
||||
|
||||
Reference in New Issue
Block a user