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

Votes:

0

Your Vote:

Up

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] (609) 3 1

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



2 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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

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

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

Last change on Oct 28, 2011 1:52:20 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



Votes:

0

Your Vote:

Up

Down

This was very helpfull. I use PRTG V8 and I had to create a new Sensore for my Probe.

>Custom Sensor

>Packet Sniffer (Costum)

And I added this Line:

"#1101:ICA

Protocol[TCP] and (SourcePort[1494] or DestinationPort[1494])"

But before I added the Detail definitions.

Created on Sep 29, 2010 4:10:43 PM by  Martin Becker (0) 1



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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

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

Top Tags


View all Tags