%inherit file="base.html"/>
<% 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