{{ t('Security notice') }}

{{ t('User defined macros can also be used inside of check commands. This could lead to unwanted code execution.') }}
{{ t('It is recommended to only provide access for a certain group of users to edit commands and user defined macros.') }}

{{ t('Macros') }} {{ t('overview') }}
@if (!initialized) { } @if (initialized) { @if (macros) { @for (macro of macros; track macro) { } }
{{ t('Name') }} {{ t('Value') }} {{ t('Description') }} {{ t('Actions') }}
{{ macro.name }} {{ macro.value }} {{ macro.description }}
@if (macro.password == 1) { } @if (macro.password == 0) { }
} @if (macros && macros.length === 0) { } {{ t('Nagios supports up to 256 $USERx$ macros ($USER1$ through $USER256$)') }}
 
{{ t('Add user defined macro') }}
@if (currentMacro) {
{{ macro }}
{{ t('Blur macro value to prevent accidentally leak values if your PC is connected to a projector or television.') }}
{{ t('Security notice: The value will be still written to the HTML document in plaintext!') }}
}
{{ t('Edit user defined macro') }}
@if (currentMacro) {
@for (macroName of availableMacroNames; track macroName) { {{ macroName }} }
{{ t('If you change the macro name, you manually need to edit all occurrences of the macro!') }}
{{ t('Blur macro value to prevent accidentally leak values if your PC is connected to a projector or television.') }}
{{ t('Security notice: The value will be still written to the HTML document in plaintext!') }}
}