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 30 April 2021 13:07:26 by magenbrot
Updated 30 April 2021 13:07:32 by magenbrot