<%inherit file="base.html"/> <% goptions = dict(client.get_global_options()) %>
Watchers
Name
Processes
Command
Shell
uid
gid
Status
% for watcher, options in client.watchers: % if watcher not in client.plugins:
${watcher}
${options['numprocesses']}
${options['cmd']} ${options['args']}
${options['shell']}
${options['uid']}
${options['gid']}
%endif %endfor
Circus Daemons
CPU
Memory
%if client.use_sockets:
Socket reads
%endif
<%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
${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
Options
ZeroMQ endpoint used to connect clients like circusctl or circushttpd ${goptions['endpoint']}
ZeroMQ endpoint used for pub/sub ${goptions['pubsub_endpoint']}
ZeroMQ endpoint used for the pub/sub stats ${goptions['stats_endpoint']}
Delay in seconds for the ZMQ polling. ${goptions['check_delay']}