lozzd / Nagdash

A full screen, clean interface for Nagios designed for A dashboard/NOC/monitoring screen.
MIT License
296 stars 62 forks source link

Guard against missing object stats from nagios-api. #35

Closed cornet closed 3 years ago

cornet commented 10 years ago

Currently we don't get the number of objects back in some (all?) cases when using nagios-api.

Possibly "fix" for #29 ?

mrtazz commented 10 years ago

Hmm I think we should rather make sure the APIs always return server_stats even if they are empty as otherwise we technically should guard around all stats which makes that code kinda ugly.