The UFW rule looks OK, as far as I can tell.

 

Status: active

 

     To                         Action      From

     --                         ------      ----

[ 1] 22/tcp                     ALLOW IN    Anywhere                   # SSH

[ 2] 9090/tcp                   ALLOW IN    Anywhere                   # 
Prometheus

[ 3] 22/tcp (v6)                ALLOW IN    Anywhere (v6)              # SSH

[ 4] 9090/tcp (v6)              ALLOW IN    Anywhere (v6)              # 
Prometheus

 

 

From: Ben Kochie <[email protected]> 
Sent: Sunday, November 20, 2022 11:13 PM
To: Mitchell Tuckness <[email protected]>
Cc: Prometheus Users <[email protected]>
Subject: Re: [prometheus-users] Troubleshoot Suggestions

 

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] 
<mailto:[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=2
Nov 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] 
<mailto:[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/175801d8fdc9%24606698e0%242133caa0%24%40maladomini.com.

Reply via email to