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

SNMP Set Script



Hey im looking for a solution to en / disbale switchports via a snmp.

Is there a way to implement an SNMP set script in PRTG?

The script should do the following:

  1. set i 2 disable Port 1
  2. wait x sec
  3. disable Port 2

network snmp switch

Created on May 31, 2018 12:13:14 PM

Last change on May 31, 2018 12:35:49 PM by  Stephan Linke [Paessler Support]

1 Reply



PRTG doesn't use any set commands, you'll need to use PowerShell/Batch and an EXE/Script sensor to trigger those accordingly. Using it as a notification will also work.

Kind regards,
Stephan Linke, Tech Support Team

Created on May 31, 2018 12:37:31 PM by  Stephan Linke [Paessler Support]

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.