short script to display Icinga status on the commandline
Create a config file in either /etc/qicinga or ~/.config/.qicinga with contents as below
[Main] icinga_url: https://icinga.example.com/icinga/ username: myicingauser password: mypass
As this file contains your password ENSURE it is permissioned correctly (ie chmod 0600).
-h, --help show this help message and exit -a, --all show all statuses (not just non-OK) -c colour output -q quiet - no output, no summary, just return code
The colour output option works best on black background terminals.
This won't work with stock Nagios as it relies on Icinga's ability to output in JSON format.