<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body style="font-family: Calibri; font-size: 11pt;" 
bgcolor="#FFFFFF" text="#485663"><div style="font-size: 
11pt;font-family: Calibri;">Hi Jennifer<br><span>

</span><br>sflow-to-rrd-handler needs to be able to match up the VLAN 
with the MAC address, according to what is configured in the 
Configured-MAC database.  If it can't match these up, it will set the 
source and destination VLAN interface ID (srcvli / dstvli) to be 0, and 
that will cause the sflow record to be dropped.  This means that all the
 counters in the RRD archive will be set to zero.<br><br>The output from
 sflowtool is showing multiple separate VLANs with IDs 2810, 3005, 1516,
 1702, 205, and vlan 1, with different src and destination vlans.  
Probably this is what is causing sflow-to-rrd-handler to be unable to 
work out what ports / vlans are being used.<br><br>Nick<br><br><blockquote
 type="cite" 
cite="mid:51ee6c3d.1baea.16aded96e8c.Coremail.yabuqi_0905@163.com" 
style="border: 0px none ! important;"><div 
xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" 
style="margin:30px 25px 10px 25px;"><div 
style="width:100%;border-top:2px solid #EDF1F4;padding-top:10px;">   <div
 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a style="color:#485664 
!important;padding-right:6px;font-weight:500;text-decoration:none 
!important;" href="mailto:yabuqi_0905@163.com" moz-do-not-send="true">jennifer
 xue</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#909AA4"><span style="padding-left:6px">22 
May 2019 at 09:22</span></font></div>    </div></div><div 
xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" 
__pbrmquotes="true" 
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div 
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div
 id="isForwardContent"><div 
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div
 id="isForwardContent"><div 
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello
 team,</div><div><div>I'm the newbie one regarding IXP Manager:<br>I'm 
trying to get peer-to-peer statistics and need help in that;</div><div>To
 be short: VM is CentOS  7</div><div>Installed via manual</div><div>PHP 
7.3.2</div><div>the SW is the physical one.</div><div><br></div><div>The
 switch is being detected via SNMP, port states are OK.</div><div>sFlow 
is configured on SW: I can tcpdump it on VM, traffic is comming;<br>(the
 same VM as IXP manager is installed on); I mean collector will be the 
same VM where IXP Manager is installed on.</div><div><br></div><div>but 
the output of rrdtool dump like is:</div><div><span style="color: 
rgb(255, 0, 0);">├── ipv4<br>│   ├── bytes<br>│   │   ├── aggregate<br>│  
 │   │   ├── aggregate.ipv4.bytes.vlan00005.rrd<br>│   │   │   └── 
aggregate.ipv4.bytes.vlan00249.rrd<br>│   │   └── individual<br>│   │   
    └── individual.ipv4.bytes.src-00003.rrd<br>│   └── pkts<br>│       
├── aggregate<br>│       │   ├── aggregate.ipv4.pkts.vlan00005.rrd<br>│  
     │   └── aggregate.ipv4.pkts.vlan00249.rrd<br>│       └── individual<br>│  
         └── individual.ipv4.pkts.src-00003.rrd<br>├── ipv6<br>│   ├── 
bytes<br>│   │   ├── aggregate<br>│   │   │   ├── 
aggregate.ipv6.bytes.vlan00005.rrd<br>│   │   │   └── 
aggregate.ipv6.bytes.vlan00249.rrd<br>│   │   └── individual<br>│   │   
    └── individual.ipv6.bytes.src-00003.rrd<br>│   └── pkts<br>│       
├── aggregate<br>│       │   ├── aggregate.ipv6.pkts.vlan00005.rrd<br>│  
     │   └── aggregate.ipv6.pkts.vlan00249.rrd<br>│       └── individual<br>│  
         └── individual.ipv6.pkts.src-00003.rrd</span></div><div>the 
content of file is :</div><div><rra><br>                
<cf>AVERAGE</cf><br>          
<pdp_per_row>1</pdp_per_row> <!-- 300 seconds --><br><br>
                <params><br>                <xff>5.0000000000e-01</xff><br>               
</params><br>               <cdp_prep><br>                      <ds><br>                    
<primary_value>0.0000000000e+00</primary_value><br>                   
<secondary_value>NaN</secondary_value><br>                    
<value>NaN</value><br>                        
<unknown_datapoints>0</unknown_datapoints><br>                        </ds><br>
                        <ds><br>                    
<primary_value>0.0000000000e+00</primary_value><br>                   
<secondary_value>NaN</secondary_value><br>                    
<value>NaN</value><br>                        
<unknown_datapoints>0</unknown_datapoints><br>                        </ds><br>
                </cdp_prep><br>             <database><br>                      <!-- 2019-05-18 
09:10:00 CST / 1558141800 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                <!-- 2019-05-18 09:15:00 CST / 1558142100 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                <!-- 2019-05-18 09:20:00 CST / 1558142400 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                <!-- 2019-05-18 09:25:00 CST / 1558142700 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                <!-- 2019-05-18 09:30:00 CST / 1558143000 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                <!-- 2019-05-18 09:35:00 CST / 1558143300 --> 
<row><v>NaN</v><v>NaN</v></row><br>   
                ……</div><div><br></div><div>And the output of sflowtool is :</div><div><span
 style="color: rgb(255, 0, 0);">FLOW,106.48.32.32,837,967,0007586fa14d,70096d41fe99,0x0800,2810,3005,108.12.26.71,42.62.101.14,6,0x00,56,443,50248,0x10,1522,1500,2048<br>FLOW,106.48.32.32,912,970,d004ff2107c5,900374f5e219,0x0800,1516,1702,128.228.93.219,103.208.15.238,6,0x00,61,80,50295,0x10,1518,1496,2048</span></div><div><br></div><div>however,the
 output of "sflow-to-rrd-handler --macdbtype=configured --debug" is:</div><div><span
 style="color: rgb(255, 0, 0);">DEBUG: dropped update for: protocol: 4 
vlan: 205 srcvli: 0 dstvli: 0 pktsize: 1522 samplerate: 2048 <br>DEBUG: 
rejected: 
FLOW,106.48.32.32,903,1,100080acbb6e,f4007f99abe9,0x0800,205,1,223.202.84.225,47.110.33.18,6,0x00,59,443,63334,0x10,1522,1500,2048<br>DEBUG:
 dropped update for: protocol: 4 vlan: 1516 srcvli: 0 dstvli: 0 pktsize:
 1362 samplerate: 2048 <br>DEBUG: rejected: 
FLOW,106.48.32.32,912,970,d400ff2107c5,9c0074f5e219,0x0800,1516,1702,122.228.93.219,43.254.90.120,6,0x00,61,80,33968,0x10,1362,1340,2048</span></div><div><br></div><div><span
 style="color: rgb(0, 0, 0);">1、There is no p2p file like "</span>p2p.ipv4.bytes.src-00001.dst-00003.rrd"
 been made;</div><div>2、output of sflow-to-rrd-handler is correct??  
cannot find "accepted" word.</div><div><br><br><br></div><div><span 
style="color: rgb(0, 0, 0);"><br></span></div></div></div>Best Regards!<br><br><span
 title="neteasefooter"><p> </p></span></div></div><br><br><span 
title="neteasefooter"><p> </p></span></div></div><br><br><span 
title="neteasefooter"><p> </p></span>

</div></blockquote><br></div></body></html>