Advertisement
Guest User

Untitled

a guest
May 25th, 2023
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.62 KB | Software | 0 0
  1. zabbix_export:
  2.   version: '6.0'
  3.   date: '2023-05-25T22:56:25Z'
  4.   groups:
  5.    -
  6.       uuid: 23b4cb78db6e4cd194f3600a0006af6c
  7.       name: MyTemplates
  8.   templates:
  9.    -
  10.       uuid: e2bee82fab3a4d2085894ad4ee3453e0
  11.       template: 'Lynis Security Check'
  12.       name: 'Lynis Security Check'
  13.       groups:
  14.        -
  15.           name: MyTemplates
  16.       items:
  17.        -
  18.           uuid: d6070ec5c5824bd49ebb753f438c7934
  19.           name: 'Lynis exit code'
  20.           key: 'vfs.file.contents[{$SCRIPT_DIR}/lynis-exitcode.txt]'
  21.           trends: '0'
  22.           value_type: LOG
  23.           preprocessing:
  24.            -
  25.               type: DISCARD_UNCHANGED
  26.               parameters:
  27.                - ''
  28.           tags:
  29.            -
  30.               tag: security
  31.               value: lynis
  32.         -
  33.           uuid: 1ab37d07ca814955801def24c010c97a
  34.           name: 'Lynis Warnings'
  35.           key: 'vfs.file.contents[{$SCRIPT_DIR}/lynis-warnings.txt]'
  36.           trends: '0'
  37.           value_type: LOG
  38.           preprocessing:
  39.            -
  40.               type: DISCARD_UNCHANGED
  41.               parameters:
  42.                - ''
  43.           tags:
  44.            -
  45.               tag: security
  46.               value: lynis
  47.           triggers:
  48.            -
  49.               uuid: 88fcc3d7ae554dcf86bcbf8640144375
  50.               expression: 'find(/Lynis Security Check/vfs.file.contents[{$SCRIPT_DIR}/lynis-warnings.txt],,,"All is OK")=0'
  51.               name: 'Lynis check get WARNINGS'
  52.               priority: WARNING
  53.               manual_close: 'YES'
  54.       macros:
  55.        -
  56.           macro: '{$SCRIPT_DIR}'
  57.           value: /etc/zabbix/scripts
  58.  
Tags: zabbix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement