meerkat-dashboard/meerkat

Rules for handling of return results regardless of number of results

sol1-matt opened this issue · 0 comments

When results for a service are returned there can be zero, 1 or many results (depending on the request used).

For results that are status based:
Zero results: Makes the element blank (nothing shown on UI) or the No Match value if it exists
One result: Makes the element the result status
Many results: Returns the worst status in the results

For results that are attribute based (eg: output or perfdata)
Zero results: Makes the element blank (nothing shown on UI) or the No Match value if it exists
One result: Makes the element the result status and the result attribute value
Many results: Make the element the worst result status and the latest worst result attribute value