If a host does not exist, the plugin fails. Would be great to have an error message instead:
Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/check_katello_currency.py", line 547, in <module>
main(options)
File "/usr/lib64/nagios/plugins/check_katello_currency.py", line 533, in main
check_systems()
File "/usr/lib64/nagios/plugins/check_katello_currency.py", line 87, in check_systems
SYSTEM_ERRATA[system]["content_facet_attributes"]["errata_counts"]
KeyError: 'pinkepank.giertz.loc'
If a host does not exist, the plugin fails. Would be great to have an error message instead: