<%NUMBERING1%>.<%NUMBERING2%>.<%NUMBERING3%> PRTG Manual: sFlow (Custom) Sensor
The sFlow (Custom) sensor receives traffic data from an sFlow v5-compatible device and shows the traffic by type. With this sensor, you can define your own channel definitions to divide traffic into different channels.
Make sure that the target device supports sFlow v5.
The sensor analyzes only header traffic.
sFlow (Custom) Sensor
For a detailed list and descriptions of the channels that this sensor can show, see section Channel List.
Sensor in Other Languages
- Dutch: sFlow (Custom)
- French: sFlow personnalisé
- German: sFlow (Benutzerdef.)
- Japanese: sFlow(カスタム)
- Portuguese: sFlow (customizado)
- Russian: sFlow (нестандартный)
- Simplified Chinese: sFlow (自定义)
- Spanish: sFlow (personalizado)
Remarks
You cannot add this sensor to the hosted probe of a PRTG Hosted Monitor instance. If you want to use this sensor, add it to a remote probe device.
Limitations
There are some limitations that you should consider before you use this sensor:
- The sensor only supports sFlow v5 datagrams.
- The sensor only supports IPv4 flows.
- The sensor only supports the "raw packet header" format.
- The sensor only supports the "Flow sample" and "Extended flow" formats. It cannot process "Counter" formats.
- The sensor only processes samples where the source ID matches the ifIndex of the input interface (avoiding double-counted traffic) and ascending sequence numbers.
- The sensor only supports sample packets of the Ethernet type "IP" (with optional VLAN tag)
- The sensor only supports sampled packets of the types TCP and UDP.
We recommend that you use sFlow Tester for debugging.
Add Sensor
The Add Sensor dialog appears when you manually add a new sensor to a device. It only shows the settings that are required to create the sensor. You can change nearly all settings on the sensor's Settings tab after creation.
Basic Sensor Settings
Click the Settings tab of a sensor to change its settings.
Basic Sensor Settings
|
|
Sensor Name
|
Enter a name to identify the sensor.
|
Parent Tags
|
Shows tags that the sensor inherits from its parent device, parent group, and parent probe.
This setting is for your information only. You cannot change it.
|
Tags
|
Enter one or more tags. Confirm each tag with the Spacebar key, a comma, or the Enter key. You can use tags to group objects and use tag-filtered views later on. Tags are not case-sensitive. Tags are automatically inherited.
It is not possible to enter tags with a leading plus (+) or minus (-) sign, nor tags with parentheses (()) or angle brackets (<>).
For performance reasons, it can take some minutes until you can filter for new tags that you added.
The sensor has the following default tags that are automatically predefined in the sensor's settings when you add the sensor:
- bandwidthsensor
- sflowsensor
|
Priority
|
Select a priority for the sensor. This setting determines the position of the sensor in lists. The highest priority is at the top of a list. Choose from the lowest priority () to the highest priority ().
|
sFlow v5 Specific Settings
sFlow v5 Specific Settings
|
|
Receive Packets on UDP Port
|
Enter the UDP port number on which the flow packets are received. It must match the UDP port number in the sFlow export options of the hardware router device. The default port is 6343. Enter an integer.
When you configure the export, make sure that you select the appropriate sFlow v5 for this sensor
|
Sender IP Address
|
Enter the IP address of the sending device that you want to receive the sFlow from. Enter an IP address to only receive data from a specific device or leave the field empty to receive data from any device on the specified port.
|
Receive Packets on IP Address
|
Select the IP addresses on which PRTG listens to sFlow packets. The list of IP addresses is specific to your setup. To select an IP address, enable a check box in front of the respective line. The IP address that you select must match the IP address in the sFlow export options of the hardware router device.
When you configure the export, make sure that you select the appropriate sFlow v5 for this sensor
You can also select all items or cancel the selection by using the check box in the table header.
|
Channel Definition
|
Enter a channel definition to divide the traffic into different channels. Enter each definition in one line. The sensor accounts all traffic that you do not define a channel for to the default channel Other.
For detailed information, see section Channel Definitions for Flow, IPFIX, and Packet Sniffer Sensors.
Extensive use of many filters can cause load problems on the probe system. We recommend that you define specific, well-chosen filters for the data that you really want to analyze. We recommend that you do not use more than 20 channels in graphs and tables, and not more than 100 channels in total. For performance reasons, we recommend that you add several sensors with fewer channels each.
|
Stream Data Handling
|
Define what PRTG does with the stream and packet data:
- Discard stream data (recommended): Do not store the stream and packet data.
- Store stream data only for the 'Other' channel: Only store stream and packet data that is not otherwise filtered and is therefore accounted to the default Other channel. PRTG stores this data in the \StreamLog subfolder of the PRTG data directory on the probe system. The file name is Streams Sensor [ID] (1).csv. This setting is for debugging purposes. PRTG overwrites this file with each scanning interval.
- Store all stream data: Store all stream and packet data. This setting is for debugging purposes. PRTG overwrites this file with each scanning interval.
Use with caution. If you enable this setting, it can create huge data files. We recommend that you only use this setting for a short time.
|
Filtering
For detailed information, see section Filter Rules.
Filtering
|
|
Include Filter
|
Define if you want to filter any traffic. If you leave this field empty, the sensor includes all traffic. To include specific traffic only, define filters using a special syntax.
|
Exclude Filter
|
First, the sensor considers the filters in Include Filter. From this subset, you can explicitly exclude traffic, using the same syntax.
|
Sensor Display
Sensor Display
|
|
Primary Channel
|
Select a channel from the list to define it as the primary channel. In the device tree, the last value of the primary channel is always displayed below the sensor's name. The available options depend on what channels are available for this sensor.
You can set a different primary channel later by clicking below a channel gauge on the sensor's Overview tab.
|
Graph Type
|
Define how different channels are shown for this sensor:
- Show channels independently (default): Show a graph for each channel.
- Stack channels on top of each other: Stack channels on top of each other to create a multi-channel graph. This generates a graph that visualizes the different components of your total traffic.
You cannot use this option in combination with manual Vertical Axis Scaling (available in the channel settings).
|
Stack Unit
|
This setting is only visible if you enable Stack channels on top of each other as Graph Type. Select a unit from the list. All channels with this unit are stacked on top of each other. By default, you cannot exclude single channels from stacking if they use the selected unit. However, there is an advanced procedure to do so.
|
Primary Toplist
Primary Toplist
|
|
Primary Toplist
|
Define which Toplist is the primary Toplist of the sensor:
- Top Talkers
- Top Connections
- Top Protocols
- [Any custom Toplists you add]
PRTG shows the primary Toplist in maps when you add a Toplist object.
|
Inherited Settings
By default, all of these settings are inherited from objects that are higher in the hierarchy. We recommend that you change them centrally in the root group settings if necessary. To change a setting for this object only, click under the corresponding setting name to disable the inheritance and to display its options.
For more information, see section Inheritance of Settings.
Scanning Interval
Scanning Interval
For more information, see section Root Group Settings, section Scanning Interval.
Schedules, Dependencies, and Maintenance Window
You cannot interrupt the inheritance for schedules, dependencies, and maintenance windows. The corresponding settings from the parent objects are always active. However, you can define additional schedules, dependencies, and maintenance windows. They are active at the same time as the parent objects' settings.
Schedules, Dependencies, and Maintenance Window
For more information, see section Root Group Settings, section Schedules, Dependencies, and Maintenance Window.
Access Rights
Access Rights
For more information, see section Root Group Settings, section Access Rights.
Channel Unit Configuration
Channel Unit Configuration
For more information, see section Root Group Settings, section Channel Unit Configuration.
Toplists
For all Flow (NetFlow, jFlow, sFlow, IPFIX) and Packet Sniffer sensors, Toplists are available on the sensor's Overview tab. Using Toplists, you can review traffic data for small time periods in great detail.
For more information, see section Toplists.
Filter Rules
The following filter rules apply to all Flow (NetFlow, jFlow, sFlow, IPFIX) and Packet Sniffer sensors.
|
|
IP
|
IP address or DNS name
|
Port
|
Any number
|
SourceIP
|
IP address or DNS name
|
SourcePort
|
Any number
|
DestinationIP
|
IP address or DNS name
|
DestinationPort
|
Any number
|
Protocol
|
Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Internet Control Message Protocol (ICMP), Open Shortest Path First (OSPF), any number
|
ToS
|
Type of Service (ToS): any number
|
DSCP
|
Differentiated Services Code Point (DSCP): any number
|
The following filter rules apply to sFlow sensors only.
|
|
Interface
|
Any number
|
InboundInterface
|
Any number
|
OutboundInterface
|
Any number
|
SenderIP
|
IP address of the sending device. Use this if you have several devices that send flow data on the same port, and you want to divide the traffic of each device into a different channel.
Possible values: IP address or DNS name
|
MAC
|
Physical address
|
SourceMAC
|
Physical address
|
DestinationMAC
|
Physical address
|
Channel List
Which channels the sensor actually shows might depend on the target device, the available components, and the sensor setup.
|
|
[Custom]
|
The traffic by type according to the channel definition
|
Downtime
|
In the channel table on the Overview tab, this channel never shows any values. PRTG uses this channel in graphs and reports to show the amount of time in which the sensor was in the Down status in percent.
|
Other
|
All traffic for which no channel is defined in bytes per second
|
Total
|
The total traffic in bytes per second
This channel is the primary channel by default.
|
More
Knowledge Base
Where is the volume line in graphs?
What security features does PRTG include?
PAESSLER TOOLS
sFlow Tester