What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Parameters for Device Templates

Votes:

1


Want this feature implemented, too? Please upvote by clicking Thumbs up!

(Posts as a reply won't be published in this feature request thread. Read Me!)


User story

As a PRTG user, I want to customize Device templates with parameters to simplify device deployments.

Details of user story

This will eliminate the need to have 3 templates for 1 device type, only different in the sensor parameters (based on priority/SLA of device for example). Then only 1 template can be changed to add a new sensor, instead of 5.

As soon as user select the template to use, new form will be shown to input the parameters or skip if the defaults are suitable.

Example template

<?xml version="1.0" encoding="UTF-8"?>
<devicetemplate id="company.template1" name="Example Template" priority="1">
  <parameter id-"ErrorLimit" defaultValue="25" description="Use default limit for the create channel, SLA high devices should have value of 50"/>
  <parameter id="Detailed" defaultValue="1" description="Additional channels will be created (size of drive, )" />
  <parameter id="LimitSAPmounts" defaultValue="0" description="Return only SAP related mounts" />
  <create id="4389d833-5774-41be-a8f9-9e134f6aab2d" kind="exexml" displayname="Device Sensor ({Detailed})">
    <createdata>
      <tags>sla xmlexesensor</tags>
      <exefile>
        <cell col="0">PRTG_Sensor.ps1</cell>
        <cell col="1">PRTG_Sensor.ps1</cell>
      </exefile>
      <exefilelabel>PRTG_Sensor.ps1</exefilelabel>
      <exeparams>-Ip %host -TestDrives 1 -Details {Detailed} -MaxErrorLimit {ErrorLimit} -SAPOnly {LimitSAPmounts}</exeparams>
    </createdata>
    <triggerdata />
  </create>
</devicetemplate>

Additional validation of the parameters could be implemented.

For example:

<parameter id="Detailed" defaultValue"="25" validate="Integer"/>

}}}

Acceptance criteria

  • Criterion #1: Extend the device templates to have new property paramater, to specify name and its default value if user does not provide value

Status

Open

device-templates improve-prtg templates

Created on Jul 12, 2021 10:16:18 PM



Replies

Nobody has replied yet


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.