Did you configure the *app[:ip_ranges]* key in scalr-server.rb? If so, what
value did you use?
On Friday, March 6, 2015 at 9:22:19 AM UTC+1, Hee-Sung Kim wrote:
>
> Hi there...
>
> this issue occured only in multi-cluster environment..
>
> when i set up single scalr server, the SCALR collected all info...
> but in muti-environment, didn't collect...
>
> what should i do to fix it??
>
> On Friday, March 6, 2015 at 2:28:43 PM UTC+9, Hee-Sung Kim wrote:
>>
>>
>>
>> Hi Thomas...
>>
>>
>> no blocking... it's open..
>> SCALR server only get the instance-server-count.
>>
>> which log files do i check to solve it..??
>>
>> #####
>> SCALR-SERVER's ip : 172.19.130.132
>> WINDOW-INSTANCE's ip : 172.19.130.104
>>
>> SCALR-SERVER ~]# telnet 172.19.130.104 8010
>> Trying 172.19.130.104...
>> Connected to 172.19.130.104.
>> Escape character is '^]'.
>>
>> SCALR-SERVER ~]# telnet 172.19.130.104 8013
>> Trying 172.19.130.104...
>> Connected to 172.19.130.104.
>> Escape character is '^]'.
>>
>> SCALR-SERVER ~]# telnet 172.19.130.104 8008
>> Trying 172.19.130.104...
>> Connected to 172.19.130.104.
>> Escape character is '^]'.
>>
>> #####
>> Farm 10 has WINDOW-INSTANCE
>> Farm 2 has Linux-Instance
>>
>> scalr only got the servers count for the Farm 10..
>> but for linux, scalr got the all info like below..
>>
>> SCALR-SERVER ~]# tailf /var/log/scalr/poller.log
>> [06/Mar/2015 14:06:20][ load_statistics][1.1][1166] INFO Start
>> poller iteration
>> [06/Mar/2015 14:06:24][ load_statistics][1.1][13680] WARNING
>> Server: '0e38a427-6d38-4b06-abc1-30c23cad37da' API failed: <class
>> 'urllib2.URLError'> <urlopen error timed out>
>> file: /usr/lib64/python2.6/urllib2.py, line: 1165 <-- windows
>> instance UUID
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/INSTANCE_2_1/MEMSNMP/db.rrd,
>> N:0.0:0.0:1922488.0:U:1580448.0:152.0:21276.0:191460.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/FR_2/MEMSNMP/db.rrd,
>> N:0.0:0.0:1922488.0:U:1580448.0:152.0:21276.0:191460.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/FR_2/SERVERS/db.rrd, N:1.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/FARM/MEMSNMP/db.rrd,
>> N:0.0:0.0:1922488.0:U:1580448.0:152.0:21276.0:191460.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x5x0/10/FR_10/SERVERS/db.rrd, N:1.0
>> <--
>> farm 10
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x5x0/10/FARM/SERVERS/db.rrd, N:1.0
>> <--
>> farm 10
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/INSTANCE_2_1/NETSNMP/db.rrd,
>> N:21866701033:3691340
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/FR_2/NETSNMP/db.rrd,
>> N:21866701033:3691340
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.57, /var/lib/rrdcached/db/x2x7/2/FARM/SERVERS/db.rrd, N:1.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/FARM/NETSNMP/db.rrd,
>> N:21866701033:3691340
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/INSTANCE_2_1/CPUSNMP/db.rrd,
>> N:2089:482:0:1406390
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/FR_2/CPUSNMP/db.rrd,
>> N:2089:482:0:1406390
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/FARM/CPUSNMP/db.rrd,
>> N:2089:482:0:1406390
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/INSTANCE_2_1/LASNMP/db.rrd,
>> N:0.0:0.0:0.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/FR_2/LASNMP/db.rrd,
>> N:0.0:0.0:0.0
>> [06/Mar/2015 14:06:24][ rrd][1.1][13680] DEBUG
>> 1425618384.58, /var/lib/rrdcached/db/x2x7/2/FARM/LASNMP/db.rrd,
>> N:0.0:0.0:0.0
>> [06/Mar/2015 14:06:24][ load_statistics][1.1][1166] INFO Poller
>> iteration time: 4.13
>>
>>
>> SCALR-SERVER ~]# tcpdump -i eth0 -n host 172.19.130.132 and 172.19.130.104
>> 14:08:20.563713 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags [S],
>> seq 2450386494, win 14600, options [mss 1460,nop,nop,sackOK,nop,wscale 6],
>> length 0
>> 14:08:20.564429 ARP, Request who-has 172.19.130.132 tell 172.19.130.104,
>> length 46
>> 14:08:20.564442 ARP, Reply 172.19.130.132 is-at fa:16:3e:47:30:6f, length
>> 28
>> 14:08:20.564853 IP 172.19.130.104.8010 > 172.19.130.132.59240: Flags
>> [S.], seq 3506805426, ack 2450386495, win 8192, options [mss
>> 1460,nop,wscale 8,nop,nop,sackOK], length 0
>> 14:08:20.564873 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags [.],
>> ack 1, win 229, length 0
>> 14:08:20.564910 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags
>> [P.], seq 1:330, ack 1, win 229, length 329
>> 14:08:20.752443 IP 172.19.130.104.8010 > 172.19.130.132.59240: Flags [.],
>> ack 330, win 513, length 0
>> 14:08:20.752456 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags
>> [P.], seq 330:419, ack 1, win 229, length 89
>> 14:08:20.846242 IP 172.19.130.104.8010 > 172.19.130.132.59240: Flags [.],
>> ack 419, win 512, length 0
>> 14:08:21.049834 IP 172.19.130.104.netbios-ns > 172.19.130.132.netbios-ns:
>> NBT UDP PACKET(137): QUERY; REQUEST; UNICAST
>> 14:08:21.049864 IP 172.19.130.132 > 172.19.130.104: ICMP 172.19.130.132
>> udp port netbios-ns unreachable, length 86
>> 14:08:22.549584 IP 172.19.130.104.netbios-ns > 172.19.130.132.netbios-ns:
>> NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
>> 14:08:22.549606 IP 172.19.130.132 > 172.19.130.104: ICMP 172.19.130.132
>> udp port netbios-ns unreachable, length 86
>> 14:08:24.111959 IP 172.19.130.104.netbios-ns > 172.19.130.132.netbios-ns:
>> NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
>> 14:08:24.111977 IP 172.19.130.132 > 172.19.130.104: ICMP 172.19.130.132
>> udp port netbios-ns unreachable, length 86
>> 14:08:24.570579 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags
>> [F.], seq 419, ack 1, win 229, length 0
>> 14:08:24.570774 IP 172.19.130.104.8010 > 172.19.130.132.59240: Flags [.],
>> ack 420, win 512, length 0
>> 14:08:25.722835 IP 172.19.130.104.8010 > 172.19.130.132.59240: Flags
>> [P.], seq 1:18, ack 420, win 512, length 17
>> 14:08:25.722858 IP 172.19.130.132.59240 > 172.19.130.104.8010: Flags [R],
>> seq 2450386914, win 0, length 0
>>
>> On Saturday, February 28, 2015 at 6:24:45 AM UTC+9, Thomas Orozco wrote:
>>>
>>> There seems to be a firewall blocking traffic between Scalr and the
>>> managed instance on port 8010.
>>>
>>> Could you check connectivity from the Scalr Server to that instance?
>>>
>>> Thanks.
>>>
>>> On Thursday, February 26, 2015 at 12:40:01 AM UTC-8, Hee-Sung Kim wrote:
>>>>
>>>> Hi there..
>>>>
>>>> Statistics are not available in only windows instance that is managed
>>>> by scalr 5.1..
>>>>
>>>> windows instance has 172.19.130.130 and
>>>> 35173556-9a96-4d1f-876b-ff274c0e815c that is serverid.
>>>> test-51(172.19.130.125) is scalr server.
>>>>
>>>> how to solve this problem???
>>>>
>>>>
>>>>
>>>> [root@test-51 ~]# nc -vz 172.19.130.130 8008
>>>> Connection to 172.19.130.130 8008 port [tcp/*] succeeded!
>>>>
>>>> [root@test-51 ~]# nc -vz 172.19.130.130 8010
>>>> Connection to 172.19.130.130 8010 port [tcp/*] succeeded!
>>>>
>>>> [root@test-51 ~]# nc -vz 172.19.130.130 8013
>>>> Connection to 172.19.130.130 8013 port [tcp/*] succeeded!
>>>>
>>>> [root@test-51 ~]# tailf /opt/scalr-server/var/log/service/plotter.log
>>>> [26/Feb/2015 17:28:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939332799', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: mem
>>>> [26/Feb/2015 17:28:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939332799', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: cpu
>>>> [26/Feb/2015 17:28:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939332799', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: la
>>>> [26/Feb/2015 17:28:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939332799', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: net
>>>> [26/Feb/2015 17:28:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939332799', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: io
>>>> [26/Feb/2015 17:29:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939392816', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: mem
>>>> [26/Feb/2015 17:29:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939392816', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: cpu
>>>> [26/Feb/2015 17:29:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939392816', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: la
>>>> [26/Feb/2015 17:29:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939392816', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: net
>>>> [26/Feb/2015 17:29:52][ load_statistics][1.0][1281] WARNING
>>>> Coudn't find rrd file(s) for request: {'farmRoleId': u'1', 'hash':
>>>> u'71d42f6905426d', 'farmId': u'1', 'index': u'1', 'X-Requested-Token':
>>>> u'15e28918b455cdadd32b73a74f6abca0875bbd90f99f4bd26bc6e685f4a95516',
>>>> '_dc':
>>>> u'1424939392816', 'period': u'daily', 'metrics': u'mem,cpu,la,net,io'},
>>>> metric: io
>>>>
>>>>
>>>> [root@test-51 ~]# tailf /opt/scalr-server/var/log/service/poller.log
>>>> file: /opt/scalr-server/embedded/lib/python2.7/socket.py, line: 476
>>>> [26/Feb/2015 08:25:33][ load_statistics][1.0][965] INFO
>>>> Poller iteration time: 4.18
>>>> [26/Feb/2015 08:27:29][ load_statistics][1.0][965] INFO Start
>>>> poller iteration
>>>> [26/Feb/2015 08:27:33][ load_statistics][1.0][18799] WARNING
>>>> Server: '35173556-9a96-4d1f-876b-ff274c0e815c' API failed: <class
>>>> 'socket.timeout'> timed out
>>>> file: /opt/scalr-server/embedded/lib/python2.7/socket.py, line: 476
>>>> [26/Feb/2015 08:27:33][ load_statistics][1.0][965] INFO
>>>> Poller iteration time: 4.18
>>>> [26/Feb/2015 08:29:29][ load_statistics][1.0][965] INFO Start
>>>> poller iteration
>>>> [26/Feb/2015 08:29:33][ load_statistics][1.0][19104] WARNING
>>>> Server: '35173556-9a96-4d1f-876b-ff274c0e815c' API failed: <class
>>>> 'socket.timeout'> timed out
>>>> file: /opt/scalr-server/embedded/lib/python2.7/socket.py, line: 476
>>>> [26/Feb/2015 08:29:33][ load_statistics][1.0][965] INFO
>>>> Poller iteration time: 4.18
>>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.