zabbix_export:
  version: '6.0'
  date: '2022-11-01T12:02:52Z'
  groups:
    -
      uuid: 730ef0b168104e01bc69354413763243
      name: Templates/Linux
  templates:
    -
      uuid: 6cce209219ba400e807f772713db6b55
      template: 'Simple SSL Expire Date Check'
      name: 'Simple SSL Expire Date Check'
      description: 'Followed the below docs https://www.cloudkb.net/'
      groups:
        -
          name: Templates/Linux
      items:
        -
          uuid: 97a662c7ab9a4c469209af9792d78315
          name: 'SSL Check'
          key: 'system.run[/etc/zabbix/zabbix_agentd.conf.d/checkssl.sh localhost]'
          delay: 120m
          history: 60d
          trends: '0'
          value_type: FLOAT
          triggers:
            -
              uuid: 8203408c5fdf4afa9d38402e7cd964c4
              expression: 'last(/Simple SSL Expire Date Check/system.run[/etc/zabbix/zabbix_agentd.conf.d/checkssl.sh localhost])<=1'
              name: '{HOSTNAME} - SSL certificate will be expired in 1 days'
              priority: DISASTER
              manual_close: 'YES'
              tags:
                -
                  tag: P0
            -
              uuid: 7d6125ec2da746a2b7c97f9ba0ee6eec
              expression: 'last(/Simple SSL Expire Date Check/system.run[/etc/zabbix/zabbix_agentd.conf.d/checkssl.sh localhost])<=5'
              name: '{HOSTNAME} - SSL certificate will be expired in 5 days'
              priority: DISASTER
              manual_close: 'YES'
              tags:
                -
                  tag: P0
            -
              uuid: a85e2c6ea5e7449ebe3409b5c8070148
              expression: 'last(/Simple SSL Expire Date Check/system.run[/etc/zabbix/zabbix_agentd.conf.d/checkssl.sh localhost])<=15'
              name: '{HOSTNAME} - SSL certificate will be expired in 15 days'
              priority: HIGH
              manual_close: 'YES'
            -
              uuid: 5731b30bd3614a7296fc63a16b372e4d
              expression: 'last(/Simple SSL Expire Date Check/system.run[/etc/zabbix/zabbix_agentd.conf.d/checkssl.sh localhost])<=30'
              name: '{HOSTNAME} - SSL certificate will be expired in 30 days'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                -
                  tag: P2