我在 shinken 和 graphite 的图表中看不到我的数据
I can't see my data in graph with shinken and graphite
阿帕奇 2.4.7,
Ubuntu 服务器 14.04.
Shinken with WebUI
名称服务器:dev03
我在Ubuntu服务器14上,我安装了Shinken进行监控。 Shinken 运行良好,可以在我的网络上发现主机。
然后我想 "link" Shinken 上的石墨有一些图形。所有安装工作正常,我可以在我的服务器上看到 Graphite UI。我按照本教程安装 Graphite:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-graphite-on-an-ubuntu-14-04-server
但我有一些问题:
当我做类似这样的事情时,我的 Graphite 不显示数据:
回声"test.count 4 date +%s
" | nc -q0 127.0.0.1 2003
Graphite 上没有显示任何内容...
我去神研的时候,图表的windows显示no data
。肯定是因为第一个问题。
当我点击 Show more button
时,他将我发送到 Graphite 页面,但在 uri 后面没有其他内容。 (like http://dev03) 正常吗?
我也在尝试这个:
但我的 2003 端口似乎没有监听/打开
netstat -tuplen
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat User Inode PID/Program name
tcp 0 0 0.0.0.0:7767 0.0.0.0:* LISTEN 1001 544010 1816/python
tcp 0 0 0.0.0.0:7768 0.0.0.0:* LISTEN 1001 542859 1194/python
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 107 9068 931/postgres
tcp 0 0 0.0.0.0:7769 0.0.0.0:* LISTEN 1001 543251 1432/python
tcp 0 0 0.0.0.0:7771 0.0.0.0:* LISTEN 1001 543079 1317/python
tcp 0 0 0.0.0.0:7772 0.0.0.0:* LISTEN 1001 543634 1579/python
tcp 0 0 0.0.0.0:7773 0.0.0.0:* LISTEN 1001 543810 1694/python
tcp 0 0 127.0.0.1:44255 0.0.0.0:* LISTEN 1001 543623 1582/python
tcp 0 0 127.0.0.1:43007 0.0.0.0:* LISTEN 1001 542845 1201/python
tcp 0 0 127.0.0.1:38856 0.0.0.0:* LISTEN 1001 543911 1793/python
tcp 0 0 127.0.0.1:57546 0.0.0.0:* LISTEN 1001 543808 1695/python
tcp 0 0 127.0.0.1:46282 0.0.0.0:* LISTEN 1001 543238 1439/python
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 102 9099 855/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 8098 548/rpcbind
tcp 0 0 127.0.0.1:34293 0.0.0.0:* LISTEN 1001 543071 1326/python
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 8930 792/sshd
tcp6 0 0 ::1:5432 :::* LISTEN 107 9067 931/postgres
tcp6 0 0 ::1:7770 :::* LISTEN 1001 543920 1792/python
tcp6 0 0 :::111 :::* LISTEN 0 8101 548/rpcbind
tcp6 0 0 :::80 :::* LISTEN 0 541053 708/apache2
tcp6 0 0 :::22 :::* LISTEN 0 8932 792/sshd
udp 0 0 0.0.0.0:703 0.0.0.0:* 0 8097 548/rpcbind
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 8092 548/rpcbind
udp6 0 0 :::703 :::* 0 8100 548/rpcbind
udp6 0 0 :::111 :::* 0 8099 548/rpcbind
如果有人能帮助我...因为我看了很多论坛和其他网站,但我找不到解决方案...
好的,
我允许自己回答我自己的问题,因为我注意到在 Graphite / Shinken 上没有很多答案/帮助。我个人一直在努力寻找解决方案。
因此,当我启动此命令时,在我的 Ubuntu 服务器上:
service carbon-cache start
carbon-cache 似乎没有启动...或者没有按预期启动。我找到了另一种启动此服务并确保它有效的方法:
carbon-cache --config /etc/carbon/carbon.conf start # For normal mode
carbon-cache --config /etc/carbon/carbon.conf --debug start # For debug mode
这是我正确启动此守护程序的唯一方法。事实上,我的端口 2003 正在尝试监听。之后,Shinken 和 Graphite 工作正常。
(在Debian上好像没有这个问题,我只在Ubuntu服务器上遇到过)
阿帕奇 2.4.7,
Ubuntu 服务器 14.04.
Shinken with WebUI
名称服务器:dev03
我在Ubuntu服务器14上,我安装了Shinken进行监控。 Shinken 运行良好,可以在我的网络上发现主机。 然后我想 "link" Shinken 上的石墨有一些图形。所有安装工作正常,我可以在我的服务器上看到 Graphite UI。我按照本教程安装 Graphite:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-graphite-on-an-ubuntu-14-04-server
但我有一些问题:
当我做类似这样的事情时,我的 Graphite 不显示数据:
回声"test.count 4
date +%s
" | nc -q0 127.0.0.1 2003
Graphite 上没有显示任何内容...
我去神研的时候,图表的windows显示
no data
。肯定是因为第一个问题。当我点击
Show more button
时,他将我发送到 Graphite 页面,但在 uri 后面没有其他内容。 (like http://dev03) 正常吗?
我也在尝试这个:
但我的 2003 端口似乎没有监听/打开
netstat -tuplen
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat User Inode PID/Program name
tcp 0 0 0.0.0.0:7767 0.0.0.0:* LISTEN 1001 544010 1816/python
tcp 0 0 0.0.0.0:7768 0.0.0.0:* LISTEN 1001 542859 1194/python
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 107 9068 931/postgres
tcp 0 0 0.0.0.0:7769 0.0.0.0:* LISTEN 1001 543251 1432/python
tcp 0 0 0.0.0.0:7771 0.0.0.0:* LISTEN 1001 543079 1317/python
tcp 0 0 0.0.0.0:7772 0.0.0.0:* LISTEN 1001 543634 1579/python
tcp 0 0 0.0.0.0:7773 0.0.0.0:* LISTEN 1001 543810 1694/python
tcp 0 0 127.0.0.1:44255 0.0.0.0:* LISTEN 1001 543623 1582/python
tcp 0 0 127.0.0.1:43007 0.0.0.0:* LISTEN 1001 542845 1201/python
tcp 0 0 127.0.0.1:38856 0.0.0.0:* LISTEN 1001 543911 1793/python
tcp 0 0 127.0.0.1:57546 0.0.0.0:* LISTEN 1001 543808 1695/python
tcp 0 0 127.0.0.1:46282 0.0.0.0:* LISTEN 1001 543238 1439/python
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 102 9099 855/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 8098 548/rpcbind
tcp 0 0 127.0.0.1:34293 0.0.0.0:* LISTEN 1001 543071 1326/python
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 8930 792/sshd
tcp6 0 0 ::1:5432 :::* LISTEN 107 9067 931/postgres
tcp6 0 0 ::1:7770 :::* LISTEN 1001 543920 1792/python
tcp6 0 0 :::111 :::* LISTEN 0 8101 548/rpcbind
tcp6 0 0 :::80 :::* LISTEN 0 541053 708/apache2
tcp6 0 0 :::22 :::* LISTEN 0 8932 792/sshd
udp 0 0 0.0.0.0:703 0.0.0.0:* 0 8097 548/rpcbind
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 8092 548/rpcbind
udp6 0 0 :::703 :::* 0 8100 548/rpcbind
udp6 0 0 :::111 :::* 0 8099 548/rpcbind
如果有人能帮助我...因为我看了很多论坛和其他网站,但我找不到解决方案...
好的,
我允许自己回答我自己的问题,因为我注意到在 Graphite / Shinken 上没有很多答案/帮助。我个人一直在努力寻找解决方案。
因此,当我启动此命令时,在我的 Ubuntu 服务器上:
service carbon-cache start
carbon-cache 似乎没有启动...或者没有按预期启动。我找到了另一种启动此服务并确保它有效的方法:
carbon-cache --config /etc/carbon/carbon.conf start # For normal mode
carbon-cache --config /etc/carbon/carbon.conf --debug start # For debug mode
这是我正确启动此守护程序的唯一方法。事实上,我的端口 2003 正在尝试监听。之后,Shinken 和 Graphite 工作正常。
(在Debian上好像没有这个问题,我只在Ubuntu服务器上遇到过)