How do the channel definitions for custom Packet Sniffing or xFlow (NetFlow/sFlow) sensors work?

Up

0

Down

How do the channel definitions work?

channel custom-sensor netflow packet-sniffing sflow xflow

Created on Feb 3, 2010 2:19:43 PM by  Jens Rupp [Paessler Support] (409) 3 1

Last change on Feb 11, 2010 1:45:54 PM by  Patrick Hutter [Paessler Support] (4,804) 3 2


1 Reply

Accepted Answer

Up

0

Down

Channel Definition for Custom Packet Sniffing or Netflow Sensors Under PRTG Network Monitor 7

When adding Custom Netflow sensors or Custom Packet Sniffing sensors in PRTG Network Monitor 7, you will notice a field entitled "Channel Definition". In this field you need to provide the channel definitions in the following manner (one entry per channel):

#<id>:<Name>
<Rule>

For example:

#5:HTTP
Protocol[TCP] and
(SourcePort[80] or DestinationPort[80] or SourcePort[8080] or
DestinationPort[8080])
  • the <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 the ID has been changed, the history for this particular channel is lost
  • a 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

For the specific rule syntax please see What filter rules can be used for custom Packet Sniffing or xFlow (NetFlow/sFlow) sensors?

Since data is accounted to the first match make sure to start with the most specific rule at the top getting less specific to the bottom.

Recommendation: Write 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!

Channel definition example for differentiating by protocol:

#1:TCP
Protocol[TCP]

#2:UDP
Protocol[UDP]

#3:ICMP
Protocol[ICMP]

See also

Can I add custom channels to Packet Sniffer and NetFlow sensors?

Created on Feb 3, 2010 2:32:38 PM by  Jens Rupp [Paessler Support] (409) 3 1

Last change on Mar 10, 2010 10:02:17 AM by  Daniel Zobel [Paessler Support] (9,594) 3 3


Please log in or register to enter your reply.

Disclaimer:The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.

Top Tags


View all Tags

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions! Learn more