Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(monitoring): Display 0 in top counter if SQL result is empty #5826

Merged
merged 1 commit into from
Nov 3, 2017

Conversation

lpinsivy
Copy link
Contributor

Add conditional operator for OK_TOTAL, WARNING_TOTAL, CRITICAL_TOTAL, UNKNOWN_TOTAL and PENDING_TOTAL to display 0 instead of empty string

Ref: #5758

@kduret kduret merged commit ffc0b16 into 2.8.x Nov 3, 2017
@kduret kduret deleted the lpinsivy-patch-3 branch November 3, 2017 09:13
@chgautier
Copy link
Contributor

Validated on 2.8.16
Problem was still present on 2.8.15

0 is now displayed on OK and pending statuses for services upon fresh install/upgrade where no service is added yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants