mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
parent
35d2e3cf27
commit
295b112fa9
1 changed files with 11 additions and 4 deletions
|
|
@ -389,11 +389,18 @@ if ntop.isEnterprise() then
|
|||
]]
|
||||
|
||||
if(info["version.enterprise_edition"] == true) then
|
||||
if ifs["type"] == "zmq" then
|
||||
print('<li><a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/flowdevices_stats.lua">') print(i18n("flows_page.flow_exporters")) print('</a></li>')
|
||||
print('<li><a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/flowdevices_stats.lua?sflow_filter=All">') print(i18n("flows_page.sflow_devices")) print('</a></li>')
|
||||
end
|
||||
print('<li><a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/snmpdevices_stats.lua">') print(i18n("prefs.snmp")) print('</a></li>')
|
||||
if ifs["type"] == "zmq" then
|
||||
if table.len(interface.getSFlowDevices() or {}) > 0 then
|
||||
print('<li><a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/flowdevices_stats.lua?sflow_filter=All">') print(i18n("flows_page.sflow_devices")) print('</a></li>')
|
||||
end
|
||||
|
||||
print('<li class="divider"></li>')
|
||||
print('<li class="dropdown-header">') print(i18n("flows")) print('</li>')
|
||||
|
||||
print('<li><a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/flowdevices_stats.lua">') print(i18n("flows_page.flow_exporters")) print('</a></li>')
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
print("</ul> </li>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue