mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Allow F5 APM graphs to display automatically (#9377)
* Update f5.inc.php RRD file needs to be named bigip_apm_sessions for the graph to automatically appear. * Update and rename bigip_apm_curr_sessions.inc.php to bigip_apm_sessions.inc.php It seems that both this file and the RRD file need to be named bigip_apm_sessions for the graphs to appear automatically * Create 270.sql Missed this from the original pull request - the graph has to be named bigip_apm_sessions to automatically display
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename = rrd_name($device['hostname'], 'apm_sessions');
|
||||
$rrd_filename = rrd_name($device['hostname'], 'bigip_apm_sessions');
|
||||
|
||||
require 'includes/graphs/common.inc.php';
|
||||
|
@@ -15,6 +15,6 @@ if (is_numeric($sessions)) {
|
||||
);
|
||||
|
||||
$tags = compact('rrd_def');
|
||||
data_update($device, 'apm_sessions', $tags, $fields);
|
||||
$graphs['apm_sessions'] = true;
|
||||
data_update($device, 'bigip_apm_sessions', $tags, $fields);
|
||||
$graphs['bigip_apm_sessions'] = true;
|
||||
}
|
||||
|
1
sql-schema/270.sql
Normal file
1
sql-schema/270.sql
Normal file
@@ -0,0 +1 @@
|
||||
update graph_types set graph_subtype = 'bigip_apm_sessions' where graph_subtype = 'apm_sessions';
|
Reference in New Issue
Block a user