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 1.3.6.1.2.1.105.1.1.1.3.1.1 i 2 disable Port 1
  2. wait x sec
  3. disable Port 2

Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

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


May, 2018 - Permalink