67 lines
1.9 KiB
YAML
Executable File
67 lines
1.9 KiB
YAML
Executable File
zabbix_export:
|
|
version: '6.0'
|
|
date: '2023-12-14T18:00:00Z'
|
|
groups:
|
|
-
|
|
uuid: 57b7ae836ca64446ba2c296389c009b7
|
|
name: Templates/Modules
|
|
templates:
|
|
-
|
|
uuid: 83294c6d820c429789f8256ca0654ff3
|
|
template: 'SSL certificates'
|
|
name: 'SSL certificates'
|
|
description: 'SSL certificates information'
|
|
groups:
|
|
-
|
|
name: Templates/Modules
|
|
items:
|
|
-
|
|
uuid: 5974a58a626c451b86ccfbf062ad1539
|
|
name: Expires
|
|
type: EXTERNAL
|
|
key: 'cert-info.sh["{$URL}","-r"]'
|
|
delay: 6h
|
|
history: 14d
|
|
trends: 90d
|
|
units: day
|
|
tags:
|
|
-
|
|
tag: component
|
|
value: certificate
|
|
triggers:
|
|
-
|
|
uuid: 0de5c427901f4ff8993a547bedf5ff22
|
|
expression: 'last(/SSL certificates/cert-info.sh["{$URL}","-r"],#1)<1'
|
|
name: 'SSL certificate expired'
|
|
priority: HIGH
|
|
-
|
|
uuid: 1cb9a236e3cb4eafb95d425e5746da61
|
|
expression: 'last(/SSL certificates/cert-info.sh["{$URL}","-r"],#1)<7'
|
|
name: 'SSL certificate expires'
|
|
priority: WARNING
|
|
-
|
|
uuid: 61a2ed70a8ce4e49bc2b5d4798b1bb01
|
|
expression: 'last(/SSL certificates/cert-info.sh["{$URL}","-r"],#1)<3'
|
|
name: 'SSL certificate expires soon'
|
|
priority: AVERAGE
|
|
tags:
|
|
-
|
|
tag: component
|
|
value: certificate
|
|
macros:
|
|
-
|
|
macro: '{$URL}'
|
|
value: host.domain.zone
|
|
graphs:
|
|
-
|
|
uuid: 7b84a25da6d940f183edbd5a1b057e24
|
|
name: Expires
|
|
show_triggers: 'NO'
|
|
graph_items:
|
|
-
|
|
drawtype: GRADIENT_LINE
|
|
color: 00FF00
|
|
item:
|
|
host: 'SSL certificates'
|
|
key: 'cert-info.sh["{$URL}","-r"]'
|