Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion zabbix_integration_examples/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
* `template_ssl_basic.xml` - basic template and userparameters for monitoring of one SSL cert per host
* copy `userparameters_ssl_cert_check.conf file` into `/etc/zabbix/zabbix_agentd.d` on host
* copy `ssl_cert_check.sh` and `userparameters_ssl_cert_check.conf file` into `/etc/zabbix/zabbix_agentd.d` on host
* import template in zabbix server, assign to host
* fill macroses for that host:
* `{$IPADDR}`
Expand All @@ -12,4 +12,5 @@
* `template_ssl_advanced.xml` - advanced template and userparameters for monitoring of multiple ssl certs per host
* copy `userparameters_ssl_cert_check.conf` and `userparameters_ssl_cert_discovery.conf` files into `/etc/zabbix/zabbix_agentd.d`
* copy `ssl_cert_list.json` into `/etc/zabbix/zabbix_agentd.d` and modify to monitor your hosts. Parameter names are self-descriptive.
* copy `ssl_cert_check.sh` into `/etc/zabbix/zabbix_agentd.d`
* import template in zabbix server, assign to host, wait for auto discovery
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Parameters:
# <hostname or IP> [port[/starttls protocol]] [domain for TLS SNI] [check timeout] [tls version] [tls_version,[self_signed_ok]]
UserParameter=ssl_cert_check_valid[*], /usr/local/bin/ssl_cert_check.sh valid "$1" "$2" "$3" "$4" "$5"
UserParameter=ssl_cert_check_expire[*], /usr/local/bin/ssl_cert_check.sh expire "$1" "$2" "$3" "$4" "$5"
UserParameter=ssl_cert_check_json[*], /usr/local/bin/ssl_cert_check.sh json "$1" "$2" "$3" "$4" "$5"
UserParameter=ssl_cert_check_valid[*], /etc/zabbix/zabbix_agentd.d/ssl_cert_check.sh valid "$1" "$2" "$3" "$4" "$5"
UserParameter=ssl_cert_check_expire[*], /etc/zabbix/zabbix_agentd.d/ssl_cert_check.sh expire "$1" "$2" "$3" "$4" "$5"
UserParameter=ssl_cert_check_json[*], /etc/zabbix/zabbix_agentd.d/ssl_cert_check.sh json "$1" "$2" "$3" "$4" "$5"