Icinga2 | check for certification validation
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 "# icinga2 daemon -C " (version: r2.9.1-1)
-
-
- - - -
Quellen/Source:
- Github | matteocorti/check_ssl_cert
-
-
-
-
-
-
-
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 "# icinga2 daemon -C " (version: r2.9.1-1)
steps | on Icinga2 | ||
1 | # cd /usr/lib/nagios/pluginsCustom | ||
# wget https://raw.githubusercontent.com/matteocorti/check_ssl_cert/master/check_ssl_cert | |||
# chmod +x check_ssl_cert | |||
# ./check_ssl_cert -H kozo.ch -w 30 -c 15 SSL_CERT OK - x509 certificate 'kozo.ch' from 'Let's Encrypt Authority X3' valid until Sep 14 22:41:31 2018 GMT (expires in 32 days)|days=32;30;15;; |
|||
b | |||
c | vi /etc/icinga2/conf.d/07_urls/0_check_x509.conf | ||
object CheckCommand "check_x509" { command = [ PluginCustomDir + "/check_ssl_cert" ] arguments = { "-H" = "$http_url$" "-w" = "30" "-c" = "15" } } |
|||
vi /etc/icinga2/conf.d/07_urls/0_tpl-x509.conf | |||
template Service "x509" { host_name = "icinga2-01.kozo.ch" max_check_attempts = 3 check_interval = 3m retry_interval = 30s } |
|||
vi /etc/icinga2/conf.d/07_urls/x509_xxxxxxxxx.conf cd /etc/icinga2/conf.d/07_urls/ |
|||
object Service "check_url-alvearium-info" { import "x509" vars.http_url = "alvearium.info" display_name = "X.509-Zertifikate --> " + vars.http_url check_command = "check_x509" } |
|||
|
|||
# icinga2 daemon -C # time systemctl reload icinga2 # time systemctl restart icinga2 # multitail /var/log/icinga2/icinga2.log |
|||
<Timeout exceeded.><Terminated by signal 9 (Killed).> after update to (version: r2.10.1-1) | 520 TIMEOUT="15" | change to 30 | |
-
- - - -
Quellen/Source:
- Github | matteocorti/check_ssl_cert
-
-
-
-
-
-
-
- 00 Digi-Bee übersicht
- 02 Digi-Bee Stand01 Gewicht
- 01 Digi-Bee Stand01 Wetter
- 04 Digi-Bee Stand02 Gewicht
- 03 Digi-Bee Stand02 Wetter
- SparkFun LoRa Gateway - 1-Channel (ESP32) | WRL-15006
- Solar - TTGO - LORA
- 2 Stück LILYGO® TTGO LORA32 868 Mhz ESP32 LoRa OLED 0,96 Zoll Blaues Display Bluetooth WIFI ESP-32 Entwicklungsboard Modul Mit Antenne
- Budget Solar Set 2W mit Laderegler für Lipo Akku
- SparkFun LiPo Battery Manager - Battery Babysitter
- ESP8266 Universal Raw e-Paper Driver Board WiFi
- Batterie Shield 5V 3A / 3V 1A (2 x 18650 Lithium)
- linux scripts
- Chip Sensoren List
- 4-ch Current/Voltage/Power Monitor HAT for Raspberry Pi, I2C/SMBus
- Raspberry | Raspberry Pi Zero W - Full Kit
- telegraf influxdb grafana on raspberrypi from scratch
- load wifi-credentials file with
- Luxxus Starter Pack - 3 bulbs - Model NCL302E27
- Raspberry | Raspberry Pi 4 Model B 4GB RAM
- Raspberry | Raspberry Pi 4 Model B 4GB RAM
- Raspberry | Raspberry Pi 4 Model B 4GB RAM | IoT05
- my IoT zoo - Software part
- Phoscon deConz - Raspbee II, ZigBee-Aufsatzmodul für Raspberry Pi
- Audio-Technica | AT-LP120XUSB - Plattenspieler