Comments (3)
I just ran a test, and if I take the formated line of the log, which makes a json like the following:
{
"@type":"MessageCard",
"@context":"http://schema.org/extensions",
"themeColor":"FFA500",
"summary":"Server High Memory usage",
"title":"Prometheus Alert (firing)",
"sections": [
{
"activityTitle":"[xxxxxxx](http://alertmanager:9093)",
"facts": [
{
"name":"description",
"value":"xxxxxxx"
},
{
"name":"summary",
"value":"Server High Memory usage"
},
{
"name":"alertname",
"value":"high memory load"
},
{
"name":"instance",
"value":"10.80.40.11:9100"
},
{
"name":"job",
"value":"docker nodes"
},
{
"name":"monitor",
"value":"master"
},
{
"name":"severity",
"value":"warning"
}
],
"markdown":true
}
]
}
And post it directly to the webhook, it works, I see the post on channel.
from prometheus-msteams.
That is weird. Could you please try to run prometheus-msteams
locally and try send a message again (this is what I am always doing)? Do this by following these steps:
-
export RUN_ARGS="-l localhost \ -p 2000 \ -w https://outlook.office.com/webhook/xxx/xxx \ --log-level DEBUG"
make run-osx
(for Mac, if on linux or windows, first build it with the corresponding target in the Makefile, then run it similar to that command- open a new tab in your terminal, navigate to
./alert/testdata
and executecurl -X POST -d @prom_post_request.json http://localhost:2000/alertmanager
from prometheus-msteams.
closing this issue as I think it's due to misconfiguration. @revelnode feel free to re-open if you disagree.
from prometheus-msteams.
Related Issues (20)
- [BUG] Helm repo no longer working HOT 4
- [FEATURE] Upgrade github.com/go-kit/kit to 0.12.0
- Release dependeny updates HOT 1
- Direct integration into Alertmanager? HOT 5
- [BUG] Give up the way to run "prometheus-msteams" in docker
- Image ARM Architecture HOT 2
- Grafana dashboard
- [BUG] Simulating a Prometheus Alerts to Teams Channel - results in not found
- Security Vulnerability [BUG]
- [BUG] cannot recieve alerts in MSTeams HOT 1
- [BUG] services dies when using systemctl reload prometheus_msteams.service HOT 1
- [BUG] Invalid memory address on Kubernetes v1.24 HOT 3
- [Message: Not Found] using uir static or dynamic. No Alerts are send to Teams channel
- Sunset of this repository HOT 3
- [BUG] When alerts are grouped, the card does not differentiate between status firing and resolved
- [BUG] Image tag v1.5.2 is not available anymore
- [FEATURE] Turn off automountServiceAccountToken
- [FEATURE] Timeline of new release HOT 4
- [BUG] The DEBUG logging level cannot be changed
- [BUG] Unable to pull the image from M2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-msteams.