mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Better services graphing support (#10185)
* Move services graph code from device to service and remove unused code * Add proper support for services to dashboard graph weidget * Fix phpdoc in ServiceController still pointing to MuninPluginController
This commit is contained in:
@@ -113,8 +113,8 @@ if (count($services) > '0') {
|
||||
$graphs = json_decode($service['service_ds'], true);
|
||||
foreach ($graphs as $k => $v) {
|
||||
$graph_array['device'] = $device['device_id'];
|
||||
$graph_array['type'] = 'device_service';
|
||||
$graph_array['service'] = $service['service_id'];
|
||||
$graph_array['type'] = 'service_graph';
|
||||
$graph_array['id'] = $service['service_id'];
|
||||
$graph_array['ds'] = $k;
|
||||
|
||||
echo '<tr>';
|
||||
|
||||
Reference in New Issue
Block a user