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

SNMPv3 additional parameters



I am making a python script to read snmp from devices.

I know there are placeholders for snmpv2 and that they do not exist for snmpv3. What are the additional parameters I can pass to the python script for snmpv3?

additional-paramaters python-script-advanced-sensor snmpv3

Created on Apr 18, 2018 1:11:30 PM

4 Replies



Hi there!

There are additional parameters for SNMPv3, also.

You are able to pass the following parameters with the array "data", they are listed in the same order as in the sensor's "Settings" tab:
-snmpencmode (encryption type)

In order to test which parameters are passed by yourself, please find the attached python script. It simply puts out the content of the array "data".


# -*- coding: utf-8 -*-

import sys
import json
# get CustomSensorResult from paepy package
from paepy.ChannelDefinition import CustomSensorResult

if __name__ == "__main__":
    # interpret first command line parameter as json object
    data = json.loads(sys.argv[1])


Place this script into the folder "C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\python" on your core server and use it with PRTG's Python Script Sensor.

Now just activate "Write Results to Disk" in the sensor's setting and find the log in the folder "C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)" on the probe, the sensor is running on. Please find the right files by looking for the numerical sensor ID in the filename. You can find the ID in the sensors "Overview" page on the right.

I hope this helps.

Kind regards
Andreas Günther, Technical Support

Created on Apr 20, 2018 12:35:45 PM by  Andreas Günther [Paessler Support]

Last change on Apr 23, 2018 8:23:18 AM by  Andreas Günther [Paessler Support]




Which python script are you mentioning? I do not see one in your answer.

Created on Apr 20, 2018 2:13:56 PM




I forgot to attach the script, sorry. Please find it in my previous post.

Thank you!

Kind regards
Andreas Günther, Technical Support

Created on Apr 23, 2018 8:24:24 AM by  Andreas Günther [Paessler Support]




I found the snmp data I needed in the logfile, but I also needed to select the "Transmit SNMP credentials" option for it to work (which is logical).

Thanks for the help.

Created on Apr 23, 2018 9:22:08 AM

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.