Hi, is there an option to add $value from prometheus in the alert header?
$value works in description but i can't insert it into header like in
zabbix.
The second question is whether $value can be made eye-friendly, that will
reduce the decimals to 0 or 1?
Another question about alerts, is it
Hi, I have problem with repeat_interval. I want to specify in routes
diffrent repeating.
alertmanager.yml
```
global:
route:
receiver: alert-emailer-default-30m
group_by: ['alertname', 'priority', 'instance']
group_wait: 1m
group_interval: 1m
repeat_interval: 30s
routes:
- receiv
Ok I have done 1st problem:
```
severity: "[Average] {{ $labels.instance }}"
```
There can't be $labels.instance - without it works great.
czwartek, 25 lutego 2021 o 14:27:18 UTC+1 Sebastian Glock napisał(a):
> Hi, I have problem with repeat_interval. I want to specify in
Hi, is there any option to insert 2 instances in 1 query? Something like
that:
```
(100 - avg_over_time(probe_success{instance="instance1" , "instance2"}[5m])
* 100)
```
I want to set query just for 2 insances of 10 and I'm looking for
possibilities :)
And yes i need it in just ONE query, no
Thanks mate!
czwartek, 25 lutego 2021 o 21:07:17 UTC+1 Julien Pivotto napisał(a):
> On 25 Feb 11:57, Sebastian Glock wrote:
> > Hi, is there any option to insert 2 instances in 1 query? Something like
> > that:
> >
> > ```
> > (100 - avg_over_time(
Hi I need an clearly information how to delete instance from prometheus and
from grafana.
If i change TSDB storage for ex 10s it remove, but all of data from grafana
too. Is there any possibly way to delete for example just 1 instance from
prometheus & grafana?
Thanks for all your replies!
--
e series, enable administrative APIs and
>> use the DeleteSeries endpoint:
>>
>> https://prometheus.io/docs/prometheus/latest/querying/api/
>>
>> To match all metrics from a given instance, use a matcher like
>>
>> {instance="xxx:1234"}
>>
>>
Thanks a lot for your replies!
wt., 16 mar 2021 o 10:02 Stuart Clark napisał(a):
> On 16/03/2021 07:35, Sebastian Glock wrote:
> >
> > I see it removes from prometheus, but when it removes from grafana?
> > after about 24h?
> Grafana doesn't store any data, it
Hi, is there any way to configure send resolved without slack? I only found
configuration with slack channel. I tried to add send resolved on true but
it's not working. Is that even possible?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
olved, second with send resolved: true. I thought
i'll get an email "alert-emailer-cpu-1h-resolved" after 5 minutes when 1st
alert "alert-emailer-cpu-1h" goes out. Is there any other way to solve that?
Thanks for your help!
pon., 29 mar 2021 o 14:05 Stuart Clark
napis
that alert has been resolved, but in prometheus that alert is just green
and show nothing.
wt., 30 mar 2021 o 12:24 Matthias Rampke
napisał(a):
> I *think* you can have one email config, and toggle whether to show
> [RESOLVED] as part of the template. Looking at the default templates
> <
Hi,
I have a problem with absent hours in prometheus:
hour(v=vector(time()) instant-vector) returns the hour of the day for each
of the given times in UTC. Returned values are from 0 to 23.
minute(v=vector(time()) instant-vector) returns the minute of the hour for
each of the given times in UT
done based on the state of each notification, you can see how it's
> done in the default value of the "color" setting:
> https://prometheus.io/docs/alerting/latest/configuration/#slack_config
>
> You need only one receiver and set send_resolved: true on it. Then you c
Ok I see problem, but how can i separate email subjects from alert and
alert-resolved? Can I somehow insert 2 templates of email or 2 templates of
subject into 1 alert? How alertmanager will know when to use 1st template
and second?
pt., 14 maj 2021 o 08:45 Sebastian Glock napisał(a):
> Ok
Hi,
I have send resolved set to true and I found an interesting option to show
the alert time in the alert:
duration: {{(.EndsAt.Sub .StartsAt).Truncate 10}}
But when alerts fires i have something like this:
-2562047h47m16s
When resolved alert comes it looks gr8:
2m15s
How can i separ
. I just want to see that
word "RESOLVED" if alert is resolved. If still firing i don't want to see
"FIRING".
Thanks for your help!
śr., 19 maj 2021 o 01:17 Julien Pivotto
napisał(a):
> On 14 May 13:57, Sebastian Glock wrote:
> > Hi,
> >
> > I
Hi,
Does anyone know how to set the time between firing and resolved alert?
I thought it is resolve_timeout after "global" line in alertmanager.yml,
but it not working. Is there something that need to be configured
additionally?
Thanks for replies!
--
You received this message because you are
Hi,
Have u got any idea how to silence alert for from ex. 6.00 to 6.15?
I'm using absent(hours) but absent(minutes) will silence every hour for
those minutes that I'll set, I'm right? :D
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To
Hi,
I have config in alertmanager with 3 levels of alert:
1. fire if >=70% <80%
2. fire if >=80 < 90%
3. fire if >= 90%
and I have send_resolved set on true.
Now my problem is as follows:
When 1st alert is over 90% it sends me "RESOLVED", even if VM is over 91%
for ex. CPU.
Is is possible t
Hi,
I'm having trouble setting up an alert that will send a notification when a
value is different from 0 and the value is missing (i.e. null).
expression:
windows_mscluster_resourcegroup_state {name!~"Available Storage"} != 0 or
on() vector(0)
The alert goes off non-stop. How can I set the me
20 matches
Mail list logo