Flow user scripts enhancements

- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
This commit is contained in:
emanuele-f 2019-11-20 19:51:59 +01:00
parent a893e0a2c0
commit 1fd65ac44c
25 changed files with 280 additions and 154 deletions

View file

@ -901,6 +901,8 @@ local function printConfigTab(entity_type, entity_value, page_name, page_params,
trigger_alerts_checked = "checked"
end
local enable_label = options.enable_label or i18n("show_alerts.trigger_alert_descr")
print[[
<br>
<form id="alerts-config" class="form-inline" method="post">
@ -911,7 +913,7 @@ local function printConfigTab(entity_type, entity_value, page_name, page_params,
<td>
<input type="checkbox" name="trigger_alerts" value="1" ]] print(trigger_alerts_checked) print[[>
<i class="fa fa-exclamation-triangle fa-lg"></i>
]] print(i18n("show_alerts.trigger_alert_descr")) print[[
]] print(enable_label) print[[
</input>
</td>
</tr>]]