> My issue is I don't get a webpage when I try to access the server

What do you get instead - an error response (if so, what error)? A timeout?

You can check whether the packets are arriving on your prometheus server:

tcpdump -i eth0 -nn -s0 -X tcp port 9090

Replace eth0 with your primary interface name if it's different. (ip addr 
list)

On Monday, 21 November 2022 at 06:13:43 UTC [email protected] wrote:

> PROTO=2 is IGMP, which has nothing to do with the TCP connection required 
> for Prometheus.
>
> Sounds like you have a typo in your UFW rules.
>
> On Mon, Nov 21, 2022 at 7:05 AM Mitchell Tuckness <[email protected]> 
> wrote:
>
>> Hi All,
>>
>> I just put Prometheus on a virtual machine following this guide 
>> <https://computingforgeeks.com/install-prometheus-server-on-debian-ubuntu-linux/?unapproved=12580&moderation-hash=57a1d9c25283ec04248de5242c203235#comment-12580>.
>>  
>> The service is running; I don't see any errors in my Syslog that I can pin 
>> directly to Prometheus. I was hoping I could get advice on where to look; 
>> what might be wrong? I am leaning toward the config file, but as far as I 
>> can tell, it should be OK for just this basic setup.
>>
>> My issue is I don't get a webpage when I try to access the server. UFW is 
>> allowing that port. Prometheus service is running. 
>>
>> The only thing I see that is odd in the Syslog is:
>>
>> Nov 15 16:17:01 prometheus CRON[1131]: (root) CMD (   cd / && run-parts 
>> --report /etc/cron.hourly)
>> Nov 15 17:00:27 prometheus prometheus[770]: ts=2022-11-15T17:00:27.963Z 
>> caller=compact.go:519 level=info component=tsdb
>> msg="write block" mint=1668520812852 maxt=1668528000000 
>> ulid=01GHY3R9TKDCF0H656G28KP10J duration=103.526641ms
>> Nov 15 17:00:27 prometheus prometheus[770]: ts=2022-11-15T17:00:27.966Z 
>> caller=head.go:1213 level=info component=tsdb ms
>> g="Head GC completed" caller=truncateMemory duration=2.790302ms
>>
>>
>>
>>
>> *Nov 15 17:03:38 prometheus kernel: [13219.657945] [UFW BLOCK] IN=enp0s3 
>> OUT= MAC=01:00:5e:00:00:01:40:f5:20:0c:4b:f3:08:00 SRC=192.168.1.7 
>> DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=4 PROTO=2Nov 15 17:03:38 
>> prometheus kernel: [13219.658284] [UFW BLOCK] IN=enp0s3 OUT= 
>> MAC=01:00:5e:00:00:01:40:f5:20:0c:4b:f3:08:00 SRC=192.168.1.7 DST=224.0.0.1 
>> LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=4 PROTO=2*Nov 15 17:17:01 prometheus 
>> CRON[1145]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
>> Nov 15 18:17:01 prometheus CRON[1157]: (root) CMD (   cd / && run-parts 
>> --report /etc/cron.hourly)
>>
>> -- 
>> 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/8ce61c16-3dae-4ddc-a0dc-50cb8416faffn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/8ce61c16-3dae-4ddc-a0dc-50cb8416faffn%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2090410d-14fa-42d9-8195-9107e0da011cn%40googlegroups.com.

Reply via email to