<%page expression_filter="h"/> <%inherit file="//layout/base.html" /> <%namespace name="lib" file="//lib.html" import="*"/> <%namespace name="helpers" file="//view/_helpers.html" import="*"/> <%def name="css()"> <%coreCSSFiles = [ "/static/css/view.css", "/static/css/skins/default/default.css" ] %> <%lib:stylesheet_tags files="${coreCSSFiles}" /> <%def name="custom_css()"> <%lib:stylesheet_tags files="${['/static/app/%s/application.css' % app, '/static/app/%s/unix_setup.css' % app]}" /> <%lib:script_tags files="${['/static/app/%s/unix_setup.js' % app]}" /> <%def name="gen_form(method='POST', action=None, id=None)">
<%def name="gen_radio_row(input, type='monitor', error_key=None)"> <% name = input.name fname = input.name.split('/')[-1] %> ${fname if type in ['scripted'] else name} % if type in ['scripted']: %endif <% error_key = None %>

The Splunk for Unix App provides pre-built data inputs to facilitate Linux and Unix system monitoring using Splunk. Check out the Splunk for Unix App page on Splunkbase for support information, the latest updates, and more.

% if errors: <% error_key = errors.name %> % for error in errors.errors:

Error in ${errors.name}: ${error}

% endfor % endif
${gen_form(method='POST', action=make_url(['custom', app , 'unixsetup', app, 'save']), id="unix_form")} ${csrf_hidden_input()}

File and Directory Inputs:

% for m in mon: ${gen_radio_row(m, error_key=error_key)} % endfor
Name Enable (All) Disable (All)

Scripted Inputs:

% for s in scripted: ${gen_radio_row(s, type='scripted', error_key=error_key)} % endfor
Name Enable (All) Disable (All) Interval (sec)