New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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


Modifying custom devicetemplates

Votes:

0

Your Vote:

Up

Down

Hello!

In .....\PRTG Network Monitor\devicetemplates, I have created a new device Template for our company's Cisco devices. I have created a pingsensor and a snmpciscosystemhealth. Additionally, I want to add the snmptraffic sensor. By default, it add's all the ports as sensors to my device, but I only want to add the Stacking Ports and the ports with the description "Uplink ...". Is there a way, to modify the template?

My Code:

<?xml version="1.0" encoding="UTF-8"?>
  <devicetemplate id="custom" name="Cisco-Test-Template" priority="1">
    <check id="ping" meta="ping"/>
    <create id="pingsensor" kind="ping" requires="ping" displayname="Ping"/>
    <check id="snmp" meta="snmp" requires="ping"/>
    <check id="snmpciscosystemhealth" meta="snmpciscosystemhealth" requires="snmp"/>
    <create id="_snmpciscosystemhealth" kind="snmpciscosystemhealth" requires="snmpciscosystemhealth" meta="snmpciscosystemhealth"/>
    <create id="snmptraffic" kind="snmptraffic" meta="portscan" requires="snmp">
      <createdata>
        ???
      </createdata>
    </create>
  </devicetemplate>

code devicetemplate prtg snmp

Created on Mar 24, 2020 4:42:10 PM by  mmotschn (0) 1

Last change on Mar 25, 2020 5:01:18 AM by  Sven Roggenhofer [Paessler Technical Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

Thank you very much for your post.

This is per design and can't be disabled natively, I'm afraid. With Traffic Sensors as part of a device template, PRTG will create sensors for each interface with data bigger than "0". This is also described in the corresponding manual.

In general, you cannot save all sensor settings and channel settings (for example, channel limits of dynamically created channels) of sensors that dynamically scan for available monitoring items when you add the sensor. This affects, for example, traffic sensors where you can choose interfaces that you want to monitor in the Add Sensor dialog.

This behavior cannot be changed. There might be a workaround for it but please note that we don't offer any technical support for this approach.

Best,
Sebastian

Created on Mar 25, 2020 8:10:41 PM by  Sebastian Kniege [Paessler Support]



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.