-
Notifications
You must be signed in to change notification settings - Fork 63
Description
I am trying to generate some sflow from my FreeBSD network interface(rl0), Im trying to use hsflow to send it to my collector (sflowtool) ....
I always get zeroed data in my collector, so I thought it would be necessary to activate PCAP to send data from my interface...
First I compiled using ports:
/usr/ports/net/hsflowd # make FEATURES="PCAP"
#make install
#make clean
I try run hsflow using this conf in FreeBSD:
sflow{
DNSSD = off
polling =5
sampling = 512
collector{
ip = X.X.X.X
udpport = 6343
}
pcap {
dev = rl0
}
}
When I run in debug mode:
#hsflowd -ddd
I get this error:
parse error at <pcap><{> on line 17 of /usr/local/etc/hsflowd/hsflowd.conf : unexpected sFlow setting
Can help ?
OBS: sflowtool currently works normally receiving Flows from my switches