Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upERRO[0000] invalid Prometheus URL: http://localhost.localdomain.:9090/ source=main.go:75 #4610
Comments
haha541514
closed this
Sep 17, 2018
This comment has been minimized.
This comment has been minimized.
|
... |
haha541514
reopened this
Sep 17, 2018
haha541514
closed this
Sep 17, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
haha541514 commentedSep 15, 2018
•
edited
[root@localhost local]# cd prometheus-1.6.2.linux-amd64
[root@localhost prometheus-1.6.2.linux-amd64]# ./prometheus --config.file=prometheus.yml
ERRO[0000] invalid Prometheus URL: http://localhost.localdomain.:9090/ source=main.go:75
configuration environment :VMware,NAT schema,centos6.5 ,prometheus-1.6.2.linux-amd64,
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2624/mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2259/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2116/cupsd
tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 3341/java
tcp 0 0 :::8009 :::* LISTEN 3341/java
tcp 0 0 :::9100 :::* LISTEN 5948/./node_exporte
tcp 0 0 :::8080 :::* LISTEN 3341/java
tcp 0 0 :::9104 :::* LISTEN 2861/./mysqld_expor
tcp 0 0 :::22 :::* LISTEN 2259/sshd
tcp 0 0 ::1:631 :::* LISTEN 2116/cupsd
tcp 0 0 :::3000 :::* LISTEN 6248/grafana-server
[root@localhost ~]# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:84:63:57 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.170/24 brd 192.168.1.255 scope global eth0
inet6 fe80::20c:29ff:fe84:6357/64 scope link
valid_lft forever preferred_lft forever
Prometheus.yml configuration(I haven't changed anything):
static_configs:
- targets: ['localhost:9090']
what should I do?
It's normal in the morning,when I want change static IP,it's wrong.Is it because of Ip?
DEVICE="eth0"
BOOTPROTO="dhcp"
#BOOTPROTO=static
HWADDR="00:0C:29:84:63:57"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="4d8cea19-a02b-4ca2-9a82-e29380fbbfa9"
IPADDR=192.168.1.170
NETMASK=255.255.255.0
PREFIX=24
GATEWAY=192.168.1.1
DNS1=144.144.144.144
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"