#11679 Move IRC nagios alerts to Matrix
Closed: Fixed a month ago by leo. Opened 2 months ago by leo.

Now that the matrix-irc bridge is dead, we need a way for nagios to send alerts to
matrix as it used to for IRC.

We could directly connect to matrix from noc01 using curl, but I’m not sure how we could store the token securely.

The old setup used fedmsg-irc to send messages from noc01 to value02 then to IRC.

CC @kevin on this since they originally talked about it

Metadata Update from @leo:
- Issue assigned to leo

2 months ago

Curl query to use Matrix directly from noc01:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "{
  \"msgtype\": \"m.text\",
  \"body\": \"$BODY\"
}" "$MX_SERVER/_matrix/client/unstable/rooms/$MX_ROOM/send/m.room.message/$MX_TXN?access_token=$MX_TOKEN"

Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: high-gain, medium-trouble, ops

2 months ago

This seems to be done? Or is there anything left to do here?

Metadata Update from @leo:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a month ago

Login to comment on this ticket.

Boards 1
ops Status: Backlog