2013-11-17 3 views
0
-bash-4.1$ /usr/share/munin/munin-update --nofork --debug -host ec2-184-77-97-201.compute-1.amazonaws.com 
2013/11/17 03:35:22 [DEBUG] Creating new lock file /var/run/munin/munin-update.lock 
2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-update.lock succeeded 
2013/11/17 03:35:22 [INFO]: Starting munin-update 
2013/11/17 03:35:22 [DEBUG] Lock /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock already exists, checking process 
2013/11/17 03:35:22 [DEBUG] Lock contained pid '12147' 
2013/11/17 03:35:22 [INFO] Process 12147 is dead, stealing lock, removing file 
2013/11/17 03:35:22 [DEBUG] Creating new lock file /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock 
2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.lock succeeded 
2013/11/17 03:35:22 [DEBUG] Reading state for compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com in /var/lib/munin/state-compute-1.amazonaws.com-ec2-184-77-97-201.compute-1.amazonaws.com.storable 
2013/11/17 03:35:22 [INFO] starting work in 12544 for ec2-184-77-97-201.compute-1.amazonaws.com/ec2-184-77-97-201.compute-1.amazonaws.com:4949. 
2013/11/17 03:35:22 [FATAL] Socket read from ec2-184-77-97-201.compute-1.amazonaws.com failed. Terminating process. at /usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm line 254 
2013/11/17 03:35:22 [WARNING] Failed worker compute-1.amazonaws.com;ec2-184-73-97-201.compute-1.amazonaws.com 
2013/11/17 03:35:22 [DEBUG] Creating new lock file /var/run/munin/munin-datafile.lock 
2013/11/17 03:35:22 [DEBUG] Creating lock : /var/run/munin/munin-datafile.lock succeeded 
2013/11/17 03:35:22 [INFO] No old data available for failed worker compute-1.amazonaws.com;ec2-184-77-97-201.compute-1.amazonaws.com. This node will disappear from the html web page hierarchy 
2013/11/17 03:35:22 [DEBUG] Writing state to /var/lib/munin/datafile.storable 
2013/11/17 03:35:22 [INFO]: Munin-update finished (0.06 sec) 

Сервер pkgs:Munin не может загружать графики. Ошибка сокета

Munin-синфазного 2.0.17-1.30.amzn1.noarch Munin-узла 2.0.17-1.30.amzn1.noarch Munin-2.0.17-1.30. amzn1.noarch

Клиент:

Munin-синфазного 2.0.17-1.30.amzn1.noarch Munin-узла 2.0.17-1.30.amzn1.noarch

тест Telnet:

[root @ nagios ec2-user] # telnet ec2-184-77-97-201.compute-1.amazonaws.com 4949 Пытается 10.73.133.164 ... Подключено к ec2-184-77-97- 201.compute-1.amazonaws.com. Символ выхода - '^]'. Соединение закрыто иностранным хостом. [root @ nagios ec2-user] #

Iptables отключен на клиенте/сервере.

Telnet локальный выглядит отлично:

тест локального

[корень @ Nagios ec2-пользователь] # телнет локальных 4949 Попытка 127.0.0.1 ... Connected на локальном. Символ выхода - '^]'.

Munin узел на nagios.xyz.com

Munin ошибка узла клиента:

2013/11/17-03:38:03 CONNECT TCP Peer: "10.202.30.240:54208" Local: "10.73.133.164:4949" 
2013/11/17-03:38:03 [1906] Denying connection from: 10.202.30.240 
2013/11/17-03:40:02 CONNECT TCP Peer: "10.202.30.240:45094" Local: "10.73.133.164:4949" 
2013/11/17-03:40:02 [1909] Denying connection from: 10.202.30.240 
~                 

Может кто-то помочь мне здесь ..

ответ

3

Мой регулярное выражение на клиенте (Munin-node.conf) перепутались. Munin сервер IP

Добавить к клиентскому Munin-node.conf

allow 10.202.30.210 

restart munin-node service. 

Он работал на этот раз

[[email protected] ec2-user]# telnet ec2-184-73-97-201.compute-1.amazonaws.com 4949 
Trying 10.73.133.164... 
Connected to ec2-184-73-97-201.compute-1.amazonaws.com. 
Escape character is '^]'. 
# munin node at ip-10-73-133-164.ec2.internal 
nodes 
ip-10-73-133-164.ec2.internal 
. 
exit