notes:zabbix:certificate_monitoring
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:zabbix:certificate_monitoring [2024/11/13 22:40] – david | notes:zabbix:certificate_monitoring [2024/11/13 22:44] (current) – david | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Certificate monitoring with Zabbix Agent 2 | Certificate monitoring with Zabbix Agent 2 | ||
| - | = Overview = | + | ===== Overview |
| - Details for each individual FQDN are stored in json files. | - Details for each individual FQDN are stored in json files. | ||
| - each json file contains the following information | - each json file contains the following information | ||
| - | == json monitoring files == | + | ==== json monitoring files ==== |
| < | < | ||
| { | { | ||
| Line 29: | Line 29: | ||
| - | = setup = | + | ===== setup ===== |
| - install jq to parse the json files , and Zabbix Agent 2 | - install jq to parse the json files , and Zabbix Agent 2 | ||
| - configure zabbix agent to allow ' | - configure zabbix agent to allow ' | ||
| Line 37: | Line 37: | ||
| - | - | ||
| - | == script == | + | ==== script |
| discover-certs.sh | discover-certs.sh | ||
| <code bash> | <code bash> | ||
| Line 55: | Line 55: | ||
| an item "get hosts to monitor" | an item "get hosts to monitor" | ||
| - | == Discovery === | + | ==== Discovery |
| For discovery: | For discovery: | ||
| - Create a discovery rule as a dependent item of "get hosts to monitor" | - Create a discovery rule as a dependent item of "get hosts to monitor" | ||
| Line 67: | Line 67: | ||
| {#PORT} : $.port | {#PORT} : $.port | ||
| | | ||
| - | == Item prototypes == | + | === Item prototypes |
| - | == Trigger prototypes == | + | Item prototypes |
| + | Item prototype 1 | ||
| + | Name: cert monitor for {# | ||
| + | |||
| + | === Trigger prototypes === | ||
| + | Trigger prototypes | ||
notes/zabbix/certificate_monitoring.1731555608.txt.gz · Last modified: by david
