<%! title = 'Splunk Server Control' %> <%namespace name="lib" file="//lib.html" import="*"/> <%namespace name="helpers" file="_helpers.html"/> <%inherit file="//layout/admin.html" /> <% from splunk.appserver.mrsparkle.lib.msg_pool import MsgPoolMgr, UI_MSG_POOL sessionId = cherrypy.session.id %> <% msg_obj = MsgPoolMgr.get_poolmgr_instance()[UI_MSG_POOL].pop(msgid) %> % if msg_obj: <%helpers:message content="${msg_obj.text}" level="${msg_obj.severity}"/> % endif

${_('Splunk is restarting')}

${_('Please wait. This may take a few minutes.')}

${_('Splunk is restarting')}

${_('Check the web_service.log file to determine when Splunk has restarted and then click here to continue.')}

% if displayRestartButton: % if canRestartSplunkweb:
${_('Click the button below to restart Splunk.')}
<%helpers:displayrestartbutton displayRestartButton="${displayRestartButton}" return_to="${return_to}" /> % else:
${_('The Splunkweb interface has been disabled. You must restart Splunk via the command line (or services control panel).')}
% endif % else:
${_('You do not have permission to restart splunk.')}
% endif
% if displayClearRestartButton:

${_('Clear restart message')}

${_('Click the button below to clear restart messages from Splunk.')}
${csrf_hidden_input()}
% endif
<%def name="js_initialization()"> <% parent.js_initialization() %> % if displayRestartButton and auto_restart: % endif