[prev in list] [next in list] [prev in thread] [next in thread]
List: collectd
Subject: [collectd] =?utf-8?q?collectd_interval_delay?=
From: "yaoguo_tao" <yaoguo_tao () aliyun ! com>
Date: 2016-05-11 8:24:00
Message-ID: a1b71343-3203-4f3d-bf3a-271068688a94.yaoguo_tao () aliyun ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #4 (text/plain)]
Hi, When I use collectd and influxdb to monitor cluster, I have some problems: \
I set interval is 5 seconds, then I use tcpdump capture the package, every package \
interval is 15 seconds in LAN. But, Influxdb data is right. So I think collectd \
may be have problem. collectd config: Interval 5
tcpdump results:root@ceph-client:~# tcpdump -i eth0 src host 172.31.0.6 and port \
25826
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
08:05:25.058089 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311
08:05:40.057907 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1306
08:05:50.057899 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1323
08:06:05.057967 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311
08:06:20.057870 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1306
08:06:30.057856 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1323
08:06:45.057703 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1334
08:07:00.057904 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1292
08:07:10.057798 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1287
08:07:25.057707 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311
Influxdb data:> select * from interface_rx where host='ceph-mon' and type='if_octets' \
and instance='eth0' order by desc limit 10
name: interface_rx
------------------
time host instance type value
2016-05-11T08:17:10.074142Z ceph-mon eth0 if_octets 1.0944368086e+10
2016-05-11T08:17:05.07414Z ceph-mon eth0 if_octets 1.0944363723e+10
2016-05-11T08:17:00.074123Z ceph-mon eth0 if_octets 1.0944359394e+10
2016-05-11T08:16:55.074134Z ceph-mon eth0 if_octets 1.0944353716e+10
2016-05-11T08:16:50.074211Z ceph-mon eth0 if_octets 1.0944347479e+10
2016-05-11T08:16:45.074135Z ceph-mon eth0 if_octets 1.0944342386e+10
2016-05-11T08:16:40.074129Z ceph-mon eth0 if_octets 1.0944333108e+10
2016-05-11T08:16:35.074231Z ceph-mon eth0 if_octets 1.0944327752e+10
2016-05-11T08:16:30.074122Z ceph-mon eth0 if_octets 1.094432247e+10
2016-05-11T08:16:25.074131Z ceph-mon eth0 if_octets 1.094431931e+10
Thanks.
[Attachment #5 (text/html)]
<div class="__aliyun_email_body_block"><div style="clear: both;"><span \
style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, \
0);">Hi,</span></div><div style="clear: both;"><span style="font-family: Tahoma, \
Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, \
0);"> When I use collectd and influxdb to monitor cluster, I \
have some problems:</span></div><div style="clear: both;"><span style="font-family: \
Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"> \
I set interval is 5 seconds, then I use tcpdump capture the package, every \
package interval is 15 seconds in LAN.</span></div><div style="clear: both;"><span \
style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, \
0);"> But, Influxdb data is right. So I think collectd may be have \
problem.</span></div><div style="clear: both;"><span style="font-family: Tahoma, \
Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br ></span></div><div \
style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; \
font-size: 14px; color: rgb(0, 0, 0);"> collectd config:</span></div><div \
style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; \
font-size: 14px; color: rgb(0, 0, \
0);"> Interval 5</span></div><div \
style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; \
font-size: 14px; color: rgb(0, 0, 0);"><br ></span></div><div style="clear: \
both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; \
color: rgb(0, 0, 0);">tcpdump results:</span></div><div style="clear: both;"><span \
style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, \
0);">root@ceph-client:~# tcpdump -i eth0 src host 172.31.0.6 and port 25826<br \
>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br \
> >listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes</span></div><div \
> > style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; \
> > font-size: 14px; color: rgb(0, 0, 0);"><br ></span></div><div style="clear: \
> > both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; \
> > color: rgb(0, 0, \
> > 0);">08:05:25.058089 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311<br \
> > >08:05:40.057907 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1306<br \
> > > >08:05:50.057899 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1323<br \
> > > > >08:06:05.057967 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311<br \
> > > > > >08:06:20.057870 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1306<br \
> > > > > > >08:06:30.057856 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1323<br \
> > > > > > > >08:06:45.057703 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1334<br \
> > > > > > > > >08:07:00.057904 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1292<br \
> > > > > > > > > >08:07:10.057798 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1287<br \
> > > > > > > > > > >08:07:25.057707 IP ceph-mon.46040 > ceph-client.25826: UDP, length 1311</span></div><div \
> > > > > > > > > > > style="clear: both;"><span style="font-family: Tahoma, Arial, \
> > > > > > > > > > > STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br \
> > > > > > > > > > > ></span></div><div style="clear: both;"><span \
> > > > > > > > > > > > style="font-family: Tahoma, Arial, STHeiti, SimSun; \
> > > > > > > > > > > > font-size: 14px; color: rgb(0, 0, 0);">Influxdb \
> > > > > > > > > > > > data:</span></div><div style="clear: both;"><span \
> > > > > > > > > > > > style="font-family: Tahoma, Arial, STHeiti, SimSun; \
> > > > > > > > > > > > font-size: 14px; color: rgb(0, 0, \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
> > > > > > > > > > > > \
_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic