diff --git a/html/includes/graphs/device/bigip_apm_curr_sessions.inc.php b/html/includes/graphs/device/bigip_apm_curr_sessions.inc.php new file mode 100644 index 000000000000..9f3818870859 --- /dev/null +++ b/html/includes/graphs/device/bigip_apm_curr_sessions.inc.php @@ -0,0 +1,19 @@ +addDataset('sessions', 'GAUGE', 0); + + $fields = array( + 'sessions' => $sessions, + ); + + $tags = compact('rrd_def'); + data_update($device, 'apm_sessions', $tags, $fields); + $graphs['apm_sessions'] = true; +} diff --git a/sql-schema/269.sql b/sql-schema/269.sql new file mode 100644 index 000000000000..1fe4ce556409 --- /dev/null +++ b/sql-schema/269.sql @@ -0,0 +1 @@ +INSERT INTO `graph_types`(`graph_type`, `graph_subtype`, `graph_section`, `graph_descr`, `graph_order`) VALUES ('device', 'apm_sessions', 'apm', 'Active Sessions', 0);