louis
(Louis Wevers)
May 29, 2020, 10:35am
1
Hi,
For some reason the graphs are not working for the rspamd plugin. It monitors rspamd just fine, but all the graphs seem to crash. Looks something like this:
It’s no major issue, more an annoyance. So if someone knows how to fix this, that would be great.
kokel
(Tobias Hachmer)
July 22, 2020, 8:47am
2
Hey @louis ,
I have the same Problem here with CMK Raw 1.6.0p14.
Do you solved this problem, yet?
Maybe @r.sander can help here …
louis
(Louis Wevers)
July 22, 2020, 9:00am
3
Hi Kokel,
Sorry, no. I’m at a total loss why this happens. And alas, nobody has yet replied with a suggestion where to look.
kokel
(Tobias Hachmer)
July 22, 2020, 11:35am
4
Here I attach the error image from my system.
kokel
(Tobias Hachmer)
November 30, 2020, 10:45am
6
It turned out that the problem is “stacked” in the graph info section, this has to be “stack”:
File “~/local/share/check_mk/web/plugins/metrics/rspamd.py”:
graph_info.append({
'title': _('Rspamd HAM/SPAM'),
'metrics': [ ( 'rspamd_ham_count_rate', 'stack' ),
( 'rspamd_spam_count_rate', 'stack' ),
( 'rspamd_scanned_rate', 'line' ),
],
})
graph_info.append({
'title': _('Rspamd Actions'),
'metrics': [ ( 'rspamd_actions_no_action_rate', 'stack' ),
( 'rspamd_actions_reject_rate', 'stack' ),
( 'rspamd_actions_soft_reject_rate', 'stack' ),
( 'rspamd_actions_greylist_rate', 'stack' ),
( 'rspamd_actions_rewrite_subject_rate', 'stack' ),
( 'rspamd_actions_add_header_rate', 'stack' ),
( 'rspamd_scanned_rate', 'line' ),
],
})
@louis ^^
2 Likes
louis
(Louis Wevers)
November 30, 2020, 12:43pm
7
Thanks! I never would have found that. It does indeed solve the issue.
r.sander
(Robert Sander)
November 30, 2020, 4:31pm
8
Thenks for finding that. I just created a new MKP which should be available on exchange.checkmk.com shortly.
1 Like