what is the content of your alertmanager.yml file? 
Did you evaluate them using the command "amtool"?
Do you get any errors when you run the alertmanager binary manually? e.g :
/usr/local/sbin/alertmanager \
--config.file=/etc/alertmanager/alertmanager.yml \
--storage.path=/var/lib/alertmanager



On Monday, May 11, 2020 at 2:22:31 PM UTC+4:30, Saurabh Jain wrote:
>
> Hi,
>
> Pls find below output 
>
> C:\Users\SaurabhJain\Desktop\Bharti\prometheus-2.17.1.windows-amd64.tar\prometheus-2.17.1.windows-amd64>promtool.exe
>  
> check config prometheus.yml
> Checking prometheus.yml
>   SUCCESS: 1 rule files found
>
> Checking alerts.yml
>   SUCCESS: 1 rules found
>
> Thanks
>
> On Monday, May 11, 2020 at 3:20:08 PM UTC+5:30, Yashar Nesabian wrote:
>>
>> Hi
>> Can you please check your configuration file to see if they are correct?
>> for prometheus:
>> promtool check config /etc/prometheus/prometheus.yml
>>
>> for alertmanager:
>> amtool check-config /etc/alertmanager/alertmanager.yml
>>
>>
>>
>>
>> On Monday, May 11, 2020 at 2:04:00 PM UTC+4:30, Saurabh Jain wrote:
>>>
>>>
>>> Hi,
>>>
>>> I am trying to run AlertManager but it is not running even after I 
>>> configured prometheus.yml file.
>>>
>>> pls take a look of yml file and kindly advice if I am missing any 
>>> configuration.
>>>
>>> global:
>>>   scrape_interval: 15s
>>>   evaluation_interval: 15s
>>>   external_labels:
>>>     cluster: eu1
>>>     replica: 0
>>>
>>>
>>>  
>>> alerting:
>>>   alertmanagers:
>>>   - static_configs:
>>>     - targets:
>>>        - localhost:9093
>>>
>>> rule_files:
>>>   # - "first_rules.yml"
>>>   # - "second_rules.yml"
>>>   
>>>   - 'alerts.yml'
>>>   
>>>   
>>> scrape_configs:
>>>   - job_name: 'prometheus'
>>>     static_configs:
>>>       - targets: ['127.0.0.1:9090','localhost:9182']
>>>   - job_name: 'sidecar'
>>>     static_configs:
>>>       - targets: ['127.0.0.1:19090']
>>>
>>>
>>> URL to access AlertManager which I am using -----   
>>> http://localhost:9093/#/alerts/
>>> Thanks,
>>> Saurabh
>>>
>>

-- 
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/37f6b7cf-68d9-4e53-8cd0-bf89f70c0377%40googlegroups.com.

Reply via email to