All Questions
Tagged with prometheus-alertmanager prometheus-blackbox-exporter
21
questions
0
votes
0
answers
104
views
How can I exclude any hosts in prometheus alerting rules
Here is my alert_rules.yml file
groups:
- name: http_alerts
rules:
- alert: ssl expire in 30 days
expr: probe_ssl_earliest_cert_expiry - time() < 86400 * 30
for: 5m
labels:
...
2
votes
0
answers
172
views
Prometheus Alerting when Kubernetes service are down
I have few services in my Kubernetes cluster. I need to get alert when any of the service is down.
Right now, I'm getting alerts for other scenarios like pod not ready, Crashloopbackoff etc.
I'm using ...
0
votes
1
answer
1k
views
I am trying to setup Prometheus alert before 30 days and one before 15 days and daily alerts before 7 days of SSL certificate expiry
Here is the rule I am trying but it is not triggering any alert.
- alert: SSL-Cert-Expiring-In-30-days
expr: probe_ssl_earliest_cert_expiry - time() == 86400 * 30
for: 1m
labels:
...
0
votes
1
answer
683
views
Node Hostname in Prometheus Alert email
Is there any way to add Host-name in Prometheus alert email, along with IP address and Port. current alert configuration is as follows:
- alert: instance_down
expr: 'up{job="node_exporter&...
2
votes
2
answers
2k
views
Prometheus x509: certificate signed by unknown authority
I was trying to monitor one of our webservices by using Prometheus but I faced some problem for some our endpoints.
my prometheus.yml
job_name: 'blackbox'
metrics_path: /probe
params:
module: [...
1
vote
2
answers
2k
views
Promethues check external API json response
We are using the kube-prom-stack installed in our cluster and we need now to check an endpoint (outside the cluster) . the endpoint return the response in JSON format and we need to take some property ...
3
votes
2
answers
6k
views
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "prometheus-kube
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "prometheus-kube-state-metrics" in namespace "" ...
1
vote
0
answers
244
views
Unable to generate slack alert
I am trying to setup slack alerting for when a probe for an endpoint is down. I am using black box exporter for this.
First ive managed to get the alerts for when a probe returns failure by using the ...
1
vote
1
answer
1k
views
Alerts with several expressions
I'm a thinking of a concept in terms how to define alerts based on latency.
Essentially I would need that for the blackbox exporter alerts.
Based on the reponse time I won't have alert stating the ...
0
votes
2
answers
1k
views
Prometheus : How to check if there is atleast one time series for a given metric and label combination?
I have metric, LATENCY and label, status.
I want to fire an alert when LATENCY has status=CRITICAL
LATENCY{status="CRITICAL"}
LATENCY status will be critical only if latency is beyond a ...
-2
votes
1
answer
3k
views
Alert manager in prometheus give exit code error and ignoring assignment for alert manager in prometheus
I am new to prometheus, while trying to install alert manager export tool in prometheus, I got the following error after checking with systemctl status alertmanager
alertmanager.service - AlertManager ...
1
vote
1
answer
2k
views
Prometheus blackbox probe helpful metrics
I have around 1000 targets that are probed using HTTP.
job="http_2xx", env="prod", instance="x.x.x.x"
job="http_2xx", env="test", instance="y.y.y....
6
votes
1
answer
18k
views
sum of rate function in prometheus
Given the following prometheus time series called requests :
the vector query requests[3 seconds] is :
and the rate of the vector query requests[3 seconds], rate(requests[3 sec]) (computed by the ...
0
votes
1
answer
966
views
How to show http response code in slack alert while using prometheus, blackbox exporter and alertmanager
I want to get the HTTP response code when the alert is triggered on slack on failure as currently i am getting many of them.
alert.rules.yml
groups:
- name: alert.rules
rules:
- alert: ...
4
votes
1
answer
5k
views
Creating alert using prometheus everytime there is an error
I am new to prometheus and alerting system.
I have developed a microservice and added metrics code to get the total number of increments whenever there is an error.
Now I am trying to create an alert ...