%inherit file="base.html"/>
<% from bottle import url %>
<% goptions = dict(client.get_global_options()) %>
% for watcher, options in client.watchers:
% if watcher not in client.plugins:
${options['numprocesses']}
${options['cmd']} ${options['args']}
${options['shell']}
${options['uid']}
${options['gid']}
%endif
%endfor
<%def name='draw_graph_div(watcher, name=None, display_status=False, socket=False)'>
${name or watcher}
%if display_status:
%endif
%if socket:
Reads
0
%else:
CPU
0 %
Mem
0 %
%endif
%def>
${draw_graph_div('circus')}
${draw_graph_div('circusd-stats')}
%if client.embed_httpd:
${draw_graph_div('circushttpd', 'circushttpd')}
%endif
%if client.use_sockets:
${draw_graph_div('socket-stats', 'Socket Activity (
see all the sockets)', socket=True)}
%endif
%for plugin in client.plugins:
${draw_graph_div(plugin, plugin.split(':')[1].replace('-', '.'), True)}
%endfor
ZeroMQ endpoint used to connect clients like circusctl or
circushttpd
|
${goptions.get('endpoint', 'N/A')}
|
ZeroMQ endpoint used for pub/sub
|
${goptions.get('pubsub_endpoint', 'N/A')}
|
ZeroMQ endpoint used for the pub/sub stats
|
${goptions.get('stats_endpoint', 'N/A')}
|
Delay in seconds for the ZMQ polling.
|
${goptions.get('check_delay', 'N/A')}
|