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

SSH Script dont work



Hello I have i createt a Script in the Directory /var/prtg/scripts

echo 0:4:users

With chmod 755 /var/prtg/scripts/script.sh i made the Script executabel

I can Select in the SSH Sensor the Script, put when the Monitor is executet I recive always the Error

Response not wellformed: "-sh: /var/prtg/scripts/wifiusers.sh: not found " (code: PE132)

I recive the same Error when I run the Script with Putty on the Client

I am new with Linux and I have now more Ideas waht could be wrong Andy

pe132 sensor ssh

Created on Apr 12, 2015 9:25:15 AM

Last change on Apr 13, 2015 8:13:22 AM by  Torsten Lindner [Paessler Support]

5 Replies




Im no expert with Linux myself but if that is the only command you ran, then you havn't made the file executable, that simply changes the permissions on the file.

to make that file executable you would need to run: chmod +x /var/prtg/scripts/script.sh

Im sure someone here will correct me if I am wrong.

Created on Apr 13, 2015 9:28:19 AM



Dear prtgandy

Is your script now running, using the chmod hint of twazok?

Created on Apr 14, 2015 9:45:09 AM by  Arne Seifert [Paessler Support]




Thx for the answer. Unfortunately I always receive the Error not found :-(


Created on Apr 14, 2015 1:24:54 PM



Did you also make wifiusers.sh executable? In the script.sh, do you call wifiusers.sh with the full path name?

Created on Apr 15, 2015 8:59:19 AM by  Arne Seifert [Paessler Support]



I have found the Solution

The Device don't need the trailer

  1. !/bin/bash


Created on Apr 17, 2015 7:09:57 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.