M0r13n / mikrotik_monitoring

Monitor your Mikrotik router with Prometheus and Grafana
MIT License
240 stars 33 forks source link

mikrotik_exporter:9436 #26

Closed bcookatpcsd closed 7 months ago

bcookatpcsd commented 7 months ago

prometheus/prometheus.yml

I see this host being asked for in DNS, but I don't see anything listening in any of the containers.. should it be?

but I do see 49090

docker exec -it mikrotik-mktxp netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 127.0.0.11:42195        0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:49090           0.0.0.0:*               LISTEN      
tcp        0      0 172.18.0.3:49090        172.18.0.5:43912        TIME_WAIT   
tcp        0      0 172.18.0.3:52014        192.168.88.1:8728       ESTABLISHED 
tcp        0      0 172.18.0.3:49090        172.18.0.5:35862        TIME_WAIT   
tcp        0      0 172.18.0.3:49090        172.18.0.5:37194        TIME_WAIT   
tcp        0      0 172.18.0.3:49090        172.18.0.5:58176        TIME_WAIT   
udp        0      0 127.0.0.11:51610        0.0.0.0:*                           
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path

(hope this makes sense..)

Thank you in advance.

M0r13n commented 7 months ago

@bcookatpcsd You are right. This line is a leftover without any effect. This was already pointed out by another user recently. But I forgot to remove the line

M0r13n commented 7 months ago

Remove the line in the latest PR