[prometheus-users] AlertManager is not sending alert emails

2020-03-31 Thread Madhu Kuriti
Hi,
My alertmanager email config (below) is not working, could you share a 
sample(redacted) that works for you.

  global*:*

smtp_smarthost*: **mail.* *abcxyz.com*

smtp_from*: alertmana...@abcxyz.com*

resolve_timeout*: 5m*

  route*:*

group_wait*: 30s*

group_interval*: 5m*

repeat_interval*: 12h*

receiver*: default*

routes*:*

*- *match*:*

alertname*: KubeNodeNotReady*

severity*: warning*

  repeat_interval*: 5m*

  receiver*: team-emaillist*

  receivers*:*

*  - *name*: default*

*  - *name*: deadmansswitch*

*  - *name*: team-emaillist*

email_configs*:*

*- *to*: use...@abcxyz.com*

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c2d78a51-0a3d-4205-8a7c-9fa1ecc3dce1%40googlegroups.com.


[prometheus-users] Alert emails not being sent

2020-03-31 Thread Madhu Kuriti
Hi,
I have the following alert manager config setup, but it's not giving the 
expected results like sending the alert emails. Is there something missing 
here?

openshift_cluster_monitoring_operator_alertmanager_config*: |+*

  global*:*

smtp_smarthost*: **mail.* *abc.com*

smtp_from*: alertmana...@abc.com*

resolve_timeout*: 5m*

  route*:*

group_wait*: 30s*

group_interval*: 5m*

repeat_interval*: 12h*

receiver*: default*

routes*:*

*- *match*:*

alertname*: KubeNodeNotReady*

severity*: warning*

  repeat_interval*: 5m*

  receiver*: team-emaillist*

  receivers*:*

*  - *name*: default*

*  - *name*: deadmansswitch*

*  - *name*: team-emaillist*

email_configs*:*

*- *to*: use...@abc.com*


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/df65fda8-2d85-4aed-b16c-697055ec7249%40googlegroups.com.


Re: [prometheus-users] Prometheus Usage

2020-03-27 Thread Madhu Kuriti
Ben, thanks for the prompt response, super helpful. I will add 
clarification to your question as soon as I have it.

On Friday, March 27, 2020 at 1:44:23 PM UTC-4, Ben Kochie wrote:
>
>
>
> On Fri, Mar 27, 2020, 18:35 Madhu Kuriti > 
> wrote:
>
>> Hi,
>> I have a few questions related to the practical use of this 
>>
>>- Process mapping, where are the shortcuts to adding new monitors?
>>
>> This was an ask from a colleague, reached back to him for clarification. 
> I think this may be in the context of configuring data sources via 
> alertmanager, but I am not sure.
> I'm not sure what you mean for this.
>
>
>>- How can we have multiple people working on this?
>>
>> I highly recommend a git workflow and Ansible.
>
>
>>- Any tips on how to best utilize Ansible?
>>
>>
> We have semi-official Ansible roles.
>
> https://github.com/cloudalchemy/ansible-prometheus
>
>>
>>- SNMP webhooks for Prometheus and alert manager?
>>
>> I found a few of these (SNMP exporter 
<https://github.com/prometheus/snmp_exporter> as well as the SNMP webhook 
<https://github.com/SUSE/prometheus-webhook-snmp> for alerts) 

> I may have seen something like this as a alertmanager webhook receiver. 
> But I don't know where.
>
>>
>>- How can we forward the alerts?
>>
>> There are a bunch of alertmanager integration options. And webhooks for 
> making your own.
>
> thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Prometheus Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to promethe...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/29031f6a-96da-4963-8df7-ecf238a69e63%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/29031f6a-96da-4963-8df7-ecf238a69e63%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/77426d23-62a6-45e6-999b-5c2a763edf48%40googlegroups.com.


[prometheus-users] Prometheus Usage

2020-03-27 Thread Madhu Kuriti
Hi,
I have a few questions related to the practical use of this 

   - Process mapping, where are the shortcuts to adding new monitors?
   - How can we have multiple people working on this?
   - Any tips on how to best utilize Ansible?
   - SNMP webhooks for Prometheus and alert manager?
   - How can we forward the alerts?

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/29031f6a-96da-4963-8df7-ecf238a69e63%40googlegroups.com.