What should the config file be like and how to check it ?

On Friday, May 27, 2022 at 4:25:28 PM UTC+5:30 [email protected] wrote:

> *Check the config file please
>
> On Fri, May 27, 2022 at 4:14 PM Vanshika Sahgal <[email protected]> 
> wrote:
>
>> /$ systemctl status prometheus
>> ● prometheus.service - Prometheus
>>      Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; 
>> vendor preset: enabled)
>>      Active: failed (Result: exit-code) since Fri 2022-05-27 14:28:34 
>> IST; 29min ago
>>    Main PID: 5676 (code=exited, status=2)
>>
>> May 27 14:28:34 vanshika systemd[1]: Started Prometheus.
>> May 27 14:28:34 vanshika prometheus[5676]: ts=2022-05-27T08:58:34.729Z 
>> caller=main.go:450 level=error msg="Error loading config 
>> (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prome>
>> May 27 14:28:34 vanshika systemd[1]: prometheus.service: Main process 
>> exited, code=exited, status=2/INVALIDARGUMENT
>> May 27 14:28:34 vanshika systemd[1]: prometheus.service: Failed with 
>> result 'exit-code'.
>>
>> Can anyone please help why this is happening?
>>
>> -- 
>>
> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/bd9bc9a8-0c24-4435-9245-fa1dab2ec258n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/bd9bc9a8-0c24-4435-9245-fa1dab2ec258n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Mohammed Rehan
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f82ad0fc-fd40-43b1-aeb2-9608d5608a9cn%40googlegroups.com.

Reply via email to