I was wondering if it is possible to add a receiver by some sort of post to the
api provided by alertmanager...
Also I could not find the swagger page of my alertmanager that I could use..
Thanks for any help!
--
You received this message because you are subscribed to the Google Groups
Yeah I eliminated startsAt endsAt and fingerprint and its working now ...
but i read in other answers that to resolve an alert when generating an
alert we can use endsAt and mention some past time to disable that alert...
Thanks once again for the help...
--
You received this message because
Could you please send a simple(bare minimum) alert sample that should be
sent...
and do i have to make a major change in moving from v1 to v2 or just the
url will change?
thanks
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To
e acts as "empty value" so if you're not
> trying to set a custom endsAt then try skipping it
>
> You're using v1 API, which will go away soon, you're better of switching
> to v2, which has openapi spec so you can generate a client using
> https://github.com/prometheus
Hie all,
I was trying to generate alerts from a custom application which will do a
POST at the alertmanager endpoint /api/v1/alerts
When sending alerts as a json I'm getting an error saying:
level=error ts=2020-04-15T08:48:28.224Z caller=api.go:780 component=api
version=v1 msg="API error"
I read similar related questions and I think I found the answer to my
question here:
https://groups.google.com/forum/#!searchin/prometheus-users/alerts$20client|sort:date/prometheus-users/ZR_HRCG9ODg/BUYBvjzIAgAJ
Thanks for the response though .. I really appreciate you taking the time
to help
to Prometheus..
Thanks..
On Sunday, 12 April 2020 12:24:57 UTC+5:30, Christian Hoffmann wrote:
>
> Hi,
>
> On 4/12/20 8:32 AM, Adarsh Kumar Pandey wrote:
> > I just wanted to know that is it possible to get alerts generated from
> > sources other than Prometheus alertin
Hie Brian first of all thanks for your contribution to Prometheus ...
I also had a similar need and I did read the documentation but I could not
find the API endpoint where I need to do the POST ..like to reload we had
/-/reload
Forgive me if the question seems a little basic.. I hope to hear
Hi all,
I just wanted to know that is it possible to get alerts generated from
sources other than Prometheus alerting rules ? can you please point me to
the documentation of that.
Thanks and Regards
Adarsh
--
You received this message because you are subscribed to the Google Groups
Apologies for that..
On Thursday, 9 April 2020 16:38:40 UTC+5:30, Brian Candler wrote:
>
> What do you mean by "can even have a simple boolean expression in alerting
> expression in the configuration file"?
>
> Can you paste an example of the expression you have a problem
> understanding?
>
>
I just watched Julius mention that we can even have a simple boolean
expression in alerting expression in the configuration file.
Please refer a video on YouTube named something like "Intro+Deep dive into
prometheus" at time around 15:51
My question is how we can we do that because my
Much appreciate your response..I will look into these links..thanks !
On Wednesday, 8 April 2020 16:52:01 UTC+5:30, Brian Candler wrote:
>
> No I haven't - my alerting rules are implemented by hand. I don't have to
> add any new rules when adding new hosts, because the rules apply to all
>
Thanks so much Brian I really needed an insight on this ... so I guess you
have implemented this. If its not too much to ask then can I ask for a
sample code please.
On Wednesday, 8 April 2020 12:20:52 UTC+5:30, Brian Candler wrote:
>
> Yes: write a script to write the new alerting rules to a
Hie there .. I hope you are good and safe.
>From what I have read, I have an understanding that in prometheus we have
to mention all the alert generating rules in a rules file before we can use
it to generate alerts.
Is there any other possibility to have the alerting rules comming from some
t; /MR
>
> On Tue, Apr 7, 2020 at 3:44 PM Adarsh Kumar Pandey > wrote:
>
>> Hie Im new to prometheus and I need your expert advice on whether we can
>> have alerts from alertmanager sent to kafka for facilitating some model
>> where I can get the data about the
Yeah after this much only I was not able to implement the database saving
function so I was wondering if someone has any codes or suggestions for
that.
On Tuesday, 7 April 2020 21:32:20 UTC+5:30, Matthias Rampke wrote:
>
> I don't think looking at alertmanager's internal storage is a good
>
If you have a alertmanager-kafka-producer for this and if you could share
that with us it would be great and we all will be humbled by your
generosity .
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and
/alerts.json','a') as f:
json.dump(data,f)
return redirect('/')
else:
return "nothing"
if __name__=='__main__':
app.run()
On Monday, 6 April 2020 12:20:16 UTC+5:30, Adarsh Kumar Pandey wrote:
>
> I saw that alertmanager generates a nflog file ..I w
this issue
then you have just helped a lot of users and a ton of thanks to you for
that !!!
On Monday, 6 April 2020 12:20:16 UTC+5:30, Adarsh Kumar Pandey wrote:
>
> I saw that alertmanager generates a nflog file ..I was wondering how that
> works and can i get all the alerts fired from that
Hie Im new to prometheus and I need your expert advice on whether we can
have alerts from alertmanager sent to kafka for facilitating some model
where I can get the data about the alerts fired , in addition to having the
alerts as email or sms ...
Thanks for your time !!
--
You received this
Does prometheus (not the alertmanager log)stores the alerts generated
somewhere and where to find it...?
Thanks for any suggestion and insights...I really appreciate the community
efforts.
On Monday, 6 April 2020 12:20:16 UTC+5:30, Adarsh Kumar Pandey wrote:
>
> I saw that alertm
I saw that alertmanager generates a nflog file ..I was wondering how that
works and can i get all the alerts fired from that log file?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails
Anyone has any other solutions for this please let me know
Thanks.
On Thursday, 2 April 2020 08:48:02 UTC+5:30, Adarsh Kumar Pandey wrote:
>
> I wanted to store the alerts generated by prometheus into a separate
> database and I know that alertsnitch provides this feature but what if
Thanks for the hint I will try that but I'm not much of a coder so I will
have to learn to do that ..meanwhile if you could make my life easier by
pointing me to the right direction I will be humbled by that.
Rgards,
Adarsh
On Thursday, 2 April 2020 08:48:02 UTC+5:30, Adarsh Kumar Pandey
I wanted to store the alerts generated by prometheus into a separate
database and I know that alertsnitch provides this feature but what if I
want to use another database then how to do that?
Does prometheus logs the alerts firing internally and how to access that
any idea?
Thanks and much
25 matches
Mail list logo