Quantcast
Channel: Questions Tagged “script” — Paessler Knowledge Base
Viewing all articles
Browse latest Browse all 87

PRTG python sensor "No module named 'requests'

$
0
0

I get the following error when executing a python advanced sensor

06/03/2020 10:00:56 Script Output (UTF8 Encoding): Traceback (most recent call last):[CR][LF]  File "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\python\HourLongRunningThreads.py", line 7, in <module>[CR][LF]    from requests import Session[CR][LF]ImportError: No module named 'requests'[CR][LF]

Is there a way to just print the desired json isntead of using the paepy module to create it? I just need a simple channel that returns 1 value

prtg version 19.2.50.2842+ python 3.7


Viewing all articles
Browse latest Browse all 87

Trending Articles