I'm currently running the free version of PRTG prior to deciding whether to purchase it. I have a specific requirement - namely showing sflow data from Procurve switches on an interface-by-interface basis. Can you show me how to add multiple sflow sensors for this?

For example, I have two core switches, both with uplink ports that i want to monitor. I can monitor one of them just fine, but when I configure sflow on the other interfaces, nothing seems to happen - no extra sensor is created, and no data pattern changes on the original sensor


Article Comments

Hello,

thank you very muc for your KB-Post. The recommendation is to have both switches send their sflow-packets to different target ports on the PRTG Host. Then set up two Sflow-Sensors, each listing on one of the two target ports of the Sflow-Streams.

best regards.


May, 2014 - Permalink

Hi

Maybe I wasn't making myself clear enough. This is for multiple ports on the same device (HP Procurve 5308). Here's what I'm running at the moment:

setmib sFlowRcvrAddress.1 -o <HEX> (sets collector IP)
setmib sFlowRcvrPort.1 -i 6200 (sets port number to send stats to)
setmib sFlowRcvrOwner.1 -D prtg sFlowRcvrTimeout.1 -i 100000000 (sets receiver name, receiver timeout and enables receiver)
setmib 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.48.1 -i 20 (sets flow sampling rate to 20 on port 48)
setmib 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.48.1 -i 1 (sets enable to 'true' on port 48)
setmib 1.3.6.1.4.1.14706.1.1.6.1.4.11.1.3.6.1.2.1.2.2.1.1.48.1 -i 10 (sets counter polling to 10 seconds on port 48)

Now, I can't just create a second port to use - the only way I can do that is to change the first port, which means I stop logging traffic on the original port.


May, 2014 - Permalink

THen you can do this with two Sflow-Sensors listening to the same stream of sflow-packets, but then using the

Interface[]

-Filter. Please be aware, that the filter only works with numerical values. We cannot say which value represents which interface, this depends on the device and its configuration.


May, 2014 - Permalink

Thanks a lot - that works perfectly


May, 2014 - Permalink