Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zabbix_export:
- version: '6.0'
- date: '2023-05-25T22:56:25Z'
- groups:
- -
- uuid: 23b4cb78db6e4cd194f3600a0006af6c
- name: MyTemplates
- templates:
- -
- uuid: e2bee82fab3a4d2085894ad4ee3453e0
- template: 'Lynis Security Check'
- name: 'Lynis Security Check'
- groups:
- -
- name: MyTemplates
- items:
- -
- uuid: d6070ec5c5824bd49ebb753f438c7934
- name: 'Lynis exit code'
- key: 'vfs.file.contents[{$SCRIPT_DIR}/lynis-exitcode.txt]'
- trends: '0'
- value_type: LOG
- preprocessing:
- -
- type: DISCARD_UNCHANGED
- parameters:
- - ''
- tags:
- -
- tag: security
- value: lynis
- -
- uuid: 1ab37d07ca814955801def24c010c97a
- name: 'Lynis Warnings'
- key: 'vfs.file.contents[{$SCRIPT_DIR}/lynis-warnings.txt]'
- trends: '0'
- value_type: LOG
- preprocessing:
- -
- type: DISCARD_UNCHANGED
- parameters:
- - ''
- tags:
- -
- tag: security
- value: lynis
- triggers:
- -
- uuid: 88fcc3d7ae554dcf86bcbf8640144375
- expression: 'find(/Lynis Security Check/vfs.file.contents[{$SCRIPT_DIR}/lynis-warnings.txt],,,"All is OK")=0'
- name: 'Lynis check get WARNINGS'
- priority: WARNING
- manual_close: 'YES'
- macros:
- -
- macro: '{$SCRIPT_DIR}'
- value: /etc/zabbix/scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement