tech:zabbix_external_check_script_lances_cote_serveur
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:zabbix_external_check_script_lances_cote_serveur [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:zabbix_external_check_script_lances_cote_serveur [2026/05/29 11:50] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Zabbix External Check - Script lancés coté serveur | ||
| + | |||
| + | Exemple supervision date expiration certificat | ||
| + | |||
| + | NB : pour que les modif soient prises en compte il fait attendre. | ||
| + | Le fait de redémarer le service zabbix-server n'est pas suffisant | ||
| + | |||
| + | `/ | ||
| + | ~~~ini | ||
| + | ExternalScripts=/ | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | usermod -s bash zabbix | ||
| + | mkdir / | ||
| + | service zabbix-server restart | ||
| + | ~~~ | ||
| + | |||
| + | `/ | ||
| + | ~~~bash | ||
| + | #! /bin/bash | ||
| + | |||
| + | ssl-cert-check $* |sed -e ' | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | Create item with **key** field : | ||
| + | '' | ||
| + | |||
| + | En cas de pb | ||
| + | |||
| + | **Configuration / Hosts / Items** | ||
| + | Colone " | ||
| + | |||
| + | et | ||
| + | |||
| + | ~~~bash | ||
| + | tail -F / | ||
| + | ~~~ | ||
| + | |||
| + | |||
