Hello,
I'm currently evaluating PRTG and I started writing some Python scripts for scanning Log-Files.
It basically worked, but i want to enter an Addiotional Parameter in the Sensor's Settings:
LogFilePath='C:/Temp/'
which i want to use in Python via
data = json.loads(sys.argv[1]) path = data['LogFilePath']
I'm rather new to python, coming from .net/ WPF and I believe I'm somehow wrong with the syntax.
I would truely appreciate a hint in the right direction.
Thanks! Nikolaus
Add comment