<%= paginate_ui(connections, 'streamConnections', 'stream connections') %>
<% if (connections.items.length > 0) { %> <%= group_heading('streamConnections', 'Overview', [vhosts_interesting, nodes_interesting, true]) %> <% if (!disable_stats) { %> <%= group_heading('streamConnections', 'Details', []) %> <%= group_heading('streamConnections', 'Network', []) %> <% } %> <% if (vhosts_interesting) { %> <% } %> <% if(disable_stats) { %> <% } else { %> <% } %> <% if (nodes_interesting) { %> <% } %> <% if (show_column('streamConnections', 'user')) { %> <% } %> <% if (!disable_stats) { %> <% if (show_column('streamConnections', 'state')) { %> <% } %> <% if (show_column('streamConnections', 'ssl')) { %> <% } %> <% if (show_column('streamConnections', 'ssl_info')) { %> <% } %> <% if (show_column('streamConnections', 'protocol')) { %> <% } %> <% if (show_column('streamConnections', 'frame_max')) { %> <% } %> <% if (show_column('streamConnections', 'auth_mechanism')) { %> <% } %> <% if (show_column('streamConnections', 'client')) { %> <% } %> <% if (show_column('streamConnections', 'from_client')) { %> <% } %> <% if (show_column('streamConnections', 'to_client')) { %> <% } %> <% if (show_column('streamConnections', 'heartbeat')) { %> <% } %> <% if (show_column('streamConnections', 'connected_at')) { %> <% } %> <% } %> <% for (var i = 0; i < connections.items.length; i++) { var connection = connections.items[i]; %> > <% if (vhosts_interesting) { %> <% } %> <% if(connection.client_properties) { %> <% } else { %> <% } %> <% if (nodes_interesting) { %> <% } %> <% if (show_column('streamConnections', 'user')) { %> <% } %> <% if (!disable_stats) { %> <% if (show_column('streamConnections', 'state')) { %> <% } %> <% if (show_column('streamConnections', 'ssl')) { %> <% } %> <% if (show_column('streamConnections', 'ssl_info')) { %> <% } %> <% if (show_column('streamConnections', 'protocol')) { %> <% } %> <% if (show_column('streamConnections', 'frame_max')) { %> <% } %> <% if (show_column('streamConnections', 'auth_mechanism')) { %> <% } %> <% if (show_column('streamConnections', 'client')) { %> <% } %> <% if (show_column('streamConnections', 'from_client')) { %> <% } %> <% if (show_column('streamConnections', 'to_client')) { %> <% } %> <% if (show_column('streamConnections', 'heartbeat')) { %> <% } %> <% if (show_column('streamConnections', 'connected_at')) { %> <% } %> <% } %> <% } %>
+/-
<%= fmt_sort('Virtual host', 'vhost') %><%= fmt_sort('Name', 'name') %><%= fmt_sort('Name', 'client_properties.connection_name') %><%= fmt_sort('Node', 'node') %><%= fmt_sort('User name', 'user') %><%= fmt_sort('State', 'state') %><%= fmt_sort('SSL / TLS', 'ssl') %>SSL Details<%= fmt_sort('Protocol', 'protocol') %><%= fmt_sort('Frame max', 'frame_max') %><%= fmt_sort('Auth mechanism', 'auth_mechanism') %><%= fmt_sort('Client', 'properties') %><%= fmt_sort('From client', 'recv_oct_details.rate') %><%= fmt_sort('To client', 'send_oct_details.rate') %><%= fmt_sort('Heartbeat', 'timeout') %><%= fmt_sort('Connected at', 'connected_at') %>
<%= fmt_string(connection.vhost) %> <%= link_stream_conn(connection.vhost, connection.name) %> <%= fmt_string(short_conn(connection.client_properties.connection_name)) %> <%= link_stream_conn(connection.vhost, connection.name) %><%= fmt_node(connection.node) %><%= fmt_string(connection.user) %><%= fmt_object_state(connection) %><%= fmt_boolean(connection.ssl, '') %> <% if (connection.ssl) { %> <%= connection.ssl_protocol %> <%= connection.ssl_key_exchange %> <%= connection.ssl_cipher %> <%= connection.ssl_hash %> <% } %> <%= connection.protocol %><%= fmt_string(connection.frame_max, '') %><%= fmt_string(connection.auth_mechanism, '') %><%= fmt_client_name(connection.client_properties) %><%= fmt_detail_rate_bytes(connection, 'recv_oct') %><%= fmt_detail_rate_bytes(connection, 'send_oct') %><%= fmt_time(connection.timeout, 's') %><%= fmt_timestamp_mini(connection.connected_at) %>
<% } else { %>

... no connections ...

<% } %>