sFlow监控OVS使用测试

本文介绍了在OVS上进行sFlow监控的测试过程,包括sFlow的基本概念、sFlow Collector工具inMon sFlowTrend和SFlow-RT的安装、配置OVS的sFlow设置,以及如何在Linux和Windows环境下进行安装。通过sFlow,可以实现对网络流量的实时监控和分析。
摘要由CSDN通过智能技术生成

OVS下的sFlow 测试

sflow概述

sFlow是Sampled Flow的简称,是一种用于监控数据网络上交换机或者路由器流量转发状况的技术。

sFlow系统包含一个嵌入在设备中的sFlow Agent和远端的sFlow Collector

  • sFlow Agent 内嵌于网络设备中,在sFlow系统中收集流量统计数据发送到Collector端供分析
  • sFlow Collector 通常由专门服务器充当,在sFlow系统中收集各Agent的采样数据并以图表形式加以汇总

原理什么的 暂时 也不去了解了。什么消息类型格式什么的。。。采用UDP封装,缺省目的端口号为端口6343 也就是sFlow Agent 会将收集的流量统计信息 发往安装sFlow Collector 主机的6343 端口。

sFlow Collector 工具

sFlow Agent 内嵌于网络设备中,不用特别的设置。
sFlow Collector 工具倒是需要自己找。因为要将收集的数据制表制图什么的,当然,厉害的大神 自己根据端口收集的数据 自己制表制图 也是可以的。

总之,按个人理解 sFlow Collector是一个 数据分析工具,,,把从6343端口收到的数据进行分析 然后制成可视化的 图表的工具。

从网上 看到的 几个 工具

  1. SolarWinds sFlow Collector and Analyzer(免费试用)
  2. Paessler PRTG Network Monitor(免费试用)
  3. inMon sFlowTrend
  4. ManageEngine NetFlow Analyzer
  5. ntopng and nProbe
  6. Plixer Scrutinizer

嗯,各有特点。。。本实验当然用免费的 inMon sFlowTrend。可以顺便测试一下同是inMon 产品的 sFlow-RT。

  • inMon sFlowTrend sFlowTrend 是免费的,图形按的网络和服务器监控功能。使用sFlow标准,提供全面用户和应用的网络带宽使用情况。
    sFlowTrend™ is a free, graphical network and server monitoring tool. sFlowTrend makes use of the popular sFlow® standard to generate real-time displays of the top users and applications making use of network bandwidth. sFlowTrend also uses the extensions to the sFlow standard for monitoring physical and virtual server performance, to link network, server, and application performance and provide an end-end view of networked system performance. sFlowTrend accepts sFlow data from at most five switches or hosts and stores one hour of data in memory. sFlowTrend-Pro does not limit the number of switches or hosts that can be monitored and stores historical data to disk.
  • SFlow-RT sFlow流量监控工具,可直观的展现网络中的流量以及其他监控信。
    sFlow-RT™ incorporates InMon’s asynchronous analytics technology (U.S. Patents 8838774, 9509583, 9712443, 9722926), delivering real-time visibility to Software Defined Networking (SDN), DevOps and Orchestration stacks and enabling new classes of performance aware application such as load balancing, DDoS protection, and workload placement.

安装inMon sFlowTrend

安装前 要先安装JDK 环境1.8以上

免费版似乎最多支持 5个 交换机的监听。。。

Windows下安装

安装包
32位 系统
https://inmon.com/products/sFlowTrend/downloads/sFlowTrend-windows-x32-7_0_1.exe
64 位 系统
https://inmon.com/products/sFlowTrend/downloads/sFlowTrend-windows-x64-7_0_1.exe

就是一个软件 正常安装就行。。。
从sFlowTrendV7.0开始,Java客户端已经被删除,现在必须使用Web客户端连接到sFlowTrend服务器。一旦安装了sFlowTrend,将浏览器指向http://localhost:8087或https://localhost:8443(当然,如果远程访问服务器,您可以将localhost替换成对应主机名)

所以 安装完成是 没有 一个启动程序的。。。可以在服务中找到它

Window下安装
防火墙也要设置一下 不然6343端口可能收不到统计信息
Windows防火墙-》高级设置-》入站规则-》新建规则
然后定义-》端口-》udp/6343-》允许连接-》何时应用该规则全选上-》再设置名称(随意)
设置防火墙
然后 访问 本机的8087端口或者 设置https后访问8443端口 便可以查看到
第一次 使用 可能会让输入 许可证 号之类

  • 0
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值