adriaaah / monit-dashboard

A web dashboard for rule all monit servers at a glance
GNU Affero General Public License v3.0
26 stars 8 forks source link

Unresponsive hosts #21

Open jonhattan opened 2 years ago

jonhattan commented 2 years ago

When a host is not responding (monit stopped, or host down) the application crashes with

ConnectionError: HTTPConnectionPool(host='example.com', port=2812): Max retries exceeded with url: /_status?format=xml (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f13380c7dd0>: Failed to establish a new connection: [Errno -2] Name or service not known',))    

What about marking the host somehow as down?