Coder Social home page Coder Social logo

munin-mattermost's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

munin-mattermost's Issues

Pre-Requirements

  • Add curl to list of pre-requirements
  • Check if curl is installed in script

Unable to parse [ERROR]

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.