Comments (8)
Can you try manually sending an alert to your teamreceiver.
curl -X POST -d @sample_alert.json http://TEAM_RECEIVER_IP:2000/alertmanager
Where sample_alert.json
is like:
{
"version": "4",
"groupKey": "{}:{alertname=\"high_memory_load\"}",
"status": "firing",
"receiver": "teams_proxy",
"groupLabels": {
"alertname": "high_memory_load"
},
"commonLabels": {
"alertname": "high_memory_load",
"monitor": "master",
"severity": "warning"
},
"commonAnnotations": {
"summary": "Server High Memory usage"
},
"externalURL": "http://alertmanager:9093",
"alerts": [
{
"labels": {
"alertname": "high_memory_load",
"instance": "10.80.40.11:9100",
"job": "docker_nodes",
"monitor": "master",
"severity": "warning"
},
"annotations": {
"description": "xxxxxxx",
"summary": "Server High Memory usage"
},
"startsAt": "2018-03-07T06:33:21.873077559-05:00",
"endsAt": "0001-01-01T00:00:00Z"
}
]
}
from prometheus-msteams.
I will create a file called alert.json?
from prometheus-msteams.
Yes Now it worked
from prometheus-msteams.
@dibya001 the curl commands works? Maybe you have a communication issue between alert manager and the prometheus-msteams. Please ensure that you can resolve the host teamreceiver:2000
from your alertmanager host or container (if you are using docker).
from prometheus-msteams.
Hey I am seeing a weird issue When I curl manually with the ip address, then the prometheus alert manager which is running through docker is able to send an alert . So then when I restart docker-compose, it does not work
from prometheus-msteams.
getting this error
Error: 400 Bad Request
alertmanager_1 | level=debug ts=2018-09-06T13:44:12.769512Z caller=notify.go:668 component=dispatcher msg="Notify attempt failed" attempt=9 integration=webhook receiver=receiver err="unexpected status code 500 from http://teamreceiver:2000/alertmanager"
from prometheus-msteams.
@dibya001 may I see the log of the alertmanager container? I'm suspecting that you may have misconfigured something.
from prometheus-msteams.
@dibya001 feel free to reopen this issue if you still encounter errors. Please provide logs of the prometheus-msteams server/container as requested.
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.