PRTG Manual: Channel Definitions for xFlow and Packet Sniffer Sensors

When adding Custom xFlow sensors or Custom Packet Sniffing sensors, you will notice a field entitled Channel Definition. In this field you need to provide the channel definitions in the following syntax (one entry per channel):

#<id>:<Name>
<Rule>

 

Syntax

  • <id> needs to be 1 or greater and must be unique for the sensor (i.e. each channel definition must have a unique id).
  • The <id> is linked to the historic data: As soon as it has been changed, the history for this particular channel is lost.
  • One rule can span multiple lines.
  • The next rule starts with a # as first character in a line.
  • <name> is the channel's display name.
  • The rules are processed top to bottom (the number doesn't matter) and the data is accounted to the first match.
  • One Other channel is added automatically.
  • Behind the name a optional [<unit>] can be used to override the automatic unit based on the source sensors.

The <Rule> syntax is identical to the one described in the Filter Rules for xFlow and Packet Sniffer Sensors section. Since data is accounted to the first match, please make sure to start with the most specific rule at the top getting less specific to the bottom.

Note: We recommend writing the rule list in an external editor and paste it into the respective PRTG field. Otherwise, if the rules contain an error, the entries will be removed when adding the rules in case!

Example

General example:

#5:HTTP
Protocol[TCP] and 
(SourcePort[80] or DestinationPort[80] or SourcePort[8080] or 
DestinationPort[8080])

 

Channel definition example for differentiating by protocol:

#1:TCP
Protocol[TCP]
 
#2:UDP
Protocol[UDP]
 
#3:ICMP
Protocol[ICMP]

 

Related Topics

More

Knowledge Base: Can I add custom channels to standard Packet Sniffer and NetFlow sensors?

Continue

Keywords: Flow,Flow Channel Definitions,Packet Sniffer,Packet Sniffer Channel Definitions

Help
Need More Help?

Go to the Help Center.

Update Available Click here to install the lastest update
  FEEDBACK Click here to send feedback to Paessler