Currently if list_nodes fails in the define-nagios-hosts.py
script, the entire script will fail with some unknown
error. This change updates the script to better catch
and report any exceptions that happen.
Change-Id: I0e33f47af8ad8f69f2f1e4a5b377d0e31d0c0819