bjoernr-de / munin-mattermost Goto Github PK
View Code? Open in Web Editor NEWSends Munin alerts to a Mattermost channel
License: MIT License
Sends Munin alerts to a Mattermost channel
License: MIT License
Hello there,
So first issue on your repo.
Thank you for your scrip which i think can be really helpfull.
I follow your guide and made a test with a df test to send an alerts.
I never been able to have it working fine.
I got an error on the mattermost side
CET] [EROR] /hooks/to8199i3kidk5eerp1w8jgz1ey:IncomingWebhookRequestFromJson code=400 rid=irkdfujsatfatfirhshx9gcydr uid= ip=... Unable to parse incoming data [details: invalid character '\' after object key:value pair]
There is the command line which is sent by munin:
`
curl -s -o /dev/null -X POST -d 'payload={"channel":"Alerts", "username":"Munin Alert", "icon_url":"https://munin.tata.it/funny_crow.jpg", "text":"##### doc.tata.it - disk Disk usage in percent
Category | Value |
---|---|
Group | VMserver |
Host | doc.tata.it |
Munin graph category | disk |
Level | โ UNKNOWN |
Alert name | Disk usage in percent |
"\u000A* WARNINGs\u000A * / is 64.45 "
https://munin.tata.it
https://munin.tata.tiVMserver/doc.tata.it#disk"}' https://chat.tata.it/hooks/to8199i3kidk5eerp1w8jgz1ey
`
What do you think ? How could i help?
Thanks
Zwordi
curl
to list of pre-requirementsA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.