Project

General

Profile

Bug #28587

Mattermost alerter does not work

Added by Christian FitzGerald Forberg about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Expected
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
Reason for Closing:
Duplicate
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Hi there,

I've tried the mattermost alerter and and seems not to work. We run a mattermost instance (no cluster) and we use incoming webhooks for some of our services without problems. But when I enter the web-hook-URL and the service name in the right dialog and click 'Send Fake Alert' nothing happens but freenas logs 'Fake alert has been sent'.
(I only enter the webhook-url and the channel name, the rest stays empty)

The way we use mm-webhooks looks like this:

(some bash-snippet)
...
local logstring=$logdate" "$logparam
local matterchannel=https://<domain>/hooks/<somekey>
curl -i -X POST -d 'payload={"text": "'"$logstring"'"}' $matterchannel

... which works everytime.

Thanks a lot for your help in advance!


Related issues

Related to FreeNAS - Feature #26679: Add System -> Alerts for configuring alert frequencyDone

History

#1 Updated by Christian FitzGerald Forberg about 2 years ago

  • File debug-atlas-20180219120328.txz added
  • Private changed from No to Yes

#2 Updated by Christian FitzGerald Forberg about 2 years ago

I meant:
"... when I enter the web-hook-URL and the channel name in the according dialog ...'

#3 Updated by Dru Lavigne about 2 years ago

  • Reason for Blocked set to Need additional information

Christian: does the issue persist if you update to 11.1-U1?

#4 Updated by Christian FitzGerald Forberg about 2 years ago

  • Priority changed from Nice to have to Expected

Dru Lavigne wrote:

Christian: does the issue persist if you update to 11.1-U1?

I just updated to FreeNAS-11.1-U2 and the problem still persits.
Let me know if you need any more info.

#5 Updated by Dru Lavigne about 2 years ago

  • Category changed from OS to Middleware
  • Assignee changed from Release Council to Vladimir Vinogradenko
  • Target version set to 11.2-RC2
  • Seen in changed from Unspecified to 11.1-U2
  • Reason for Blocked deleted (Need additional information)

#6 Updated by Vladimir Vinogradenko about 2 years ago

  • Status changed from Not Started to Closed
  • Reason for Closing set to Duplicate

Alerts have been fully reworked in http://bugs.freenas.org/issues/26679. Mattermost alerts are now sent using FreeNAS itself.

#7 Updated by Dru Lavigne about 2 years ago

  • Related to Feature #26679: Add System -> Alerts for configuring alert frequency added

#8 Updated by Dru Lavigne about 2 years ago

  • File deleted (debug-atlas-20180219120328.txz)

#9 Updated by Dru Lavigne about 2 years ago

  • Target version changed from 11.2-RC2 to N/A
  • Private changed from Yes to No

Also available in: Atom PDF