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

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