What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

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

Need help with Custom EXE/Script Sensor in Powershell, anyone?



Your Vote:



Now i try with custom EXE/SCRIPT sensor and no luck... I use modpoll.exe program ( https://www.modbusdriver.com/modpoll.html ) I don't know how to program script to run a program and read values.

In windows cmd i use command: modpoll.exe -c 1 -r 1 -f -t 3:float -p 4001 -m enc and I get the answer :

-- Polling slave... (Ctrl-C to stop)
[1]: 234.171463

This is Phase 1 VOLT

If i use modpoll.exe -c 1 -r 1 -f -t 3:float -p 4001 -m enc and I get the answer : -- Polling slave... (Ctrl-C to stop) [7]: 5.705577 This is Current of L1

Now have problem with writing script in Windows PowerShell ISE....

Can someone can help me ?

Thank you!


custom custom-sensor powershell

Created on Feb 18, 2021 7:05:41 AM by  Chan Siau Hen [Paessler Technical Support]


Nobody has replied yet

Why not be the first?

Please log in or register to enter your reply.

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.