summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2021-03-18 21:53:32 +0200
committerGitHub <noreply@github.com>2021-03-18 21:53:32 +0200
commit477f26fd7ba73e2c60a71d0240df111e616b294a (patch)
tree317a14b1b50d292406a91ccf60a5cd41e12dc1e1 /backends
parente2a845cce7174d852b5ddc1b6a4a82923b9a34cf (diff)
Don't show alarms for charts without data (#10804)
Diffstat (limited to 'backends')
-rw-r--r--backends/backends.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/backends.c b/backends/backends.c
index 6bf583e17d..bc718cb29a 100644
--- a/backends/backends.c
+++ b/backends/backends.c
@@ -206,7 +206,7 @@ inline int backends_can_send_rrdset(BACKEND_OPTIONS backend_options, RRDSET *st)
}
}
- if(unlikely(!rrdset_is_available_for_backends(st))) {
+ if(unlikely(!rrdset_is_available_for_exporting_and_alarms(st))) {
debug(D_BACKEND, "BACKEND: not sending chart '%s' of host '%s', because it is not available for backends.", st->id, host->hostname);
return 0;
}