Icinga2 Snippets

Icinga2 Check Kommando via CLI holen:

eval $(/usr/sbin/icinga2 console --connect https://console:geheim@localhost:5665/ --eval 'get_service("icinga.ovtec.it", "Icinga Web 2").last_check_result.command' | sed -e "s/,/ /g;s/\"/\'/g;s/\[//;s/\]//;")

Revision #1
Created 2021-04-30 13:07:26 UTC by magenbrot
Updated 2021-04-30 13:07:32 UTC by magenbrot