You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I installed hsflowd on a server (Debian 9.12) to monitor traffic on it (packet sampling). After configuring the hsflowd.conf file, I fetched the datagrams with a collector by using sflowtool. I receive countersamples but never flowsamples.
Here is my hsflowd.conf file:
I ran beforhand the commands to configure NFLOG in iptables as it is explained. I also restarted hsflowd after modifying the conf file.
I also tried another configuration (after making sure eth0 is the name of the network interface) :
(1) what do you get for "ldd /etc/hsflowd/modules/mod_nflog.so". Does it find all the libraries it needs?
(2) you can run with debug logging like this:
sudo systemctl stop hsflowd
sudo hsflowd -dddd
Or maybe like this to look for output from mod_nflog.c:
sudo hsflowd 2>&1 | grep NFLOG
You will probably need to match your configured sampling-rate to the NFLOG probability, and you will probably need to generate significant traffic too. A good way to generate 100-200 packets/sec is like this:
Hello,
I installed hsflowd on a server (Debian 9.12) to monitor traffic on it (packet sampling). After configuring the hsflowd.conf file, I fetched the datagrams with a collector by using sflowtool. I receive countersamples but never flowsamples.
Here is my hsflowd.conf file:
I ran beforhand the commands to configure NFLOG in iptables as it is explained. I also restarted hsflowd after modifying the conf file.
I also tried another configuration (after making sure eth0 is the name of the network interface) :
Is packet-sampling not supported on my server or did I miss something ?
Thanks in advance for your answer,
AlberichVR
The text was updated successfully, but these errors were encountered: