Hello I have i createt a Script in the Directory /var/prtg/scripts
#!/bin/bash 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
Article Comments
Hello
Thx for the answer. Unfortunately I always receive the Error not found :-(
Andy
Apr, 2015 - Permalink
Did you also make wifiusers.sh executable? In the script.sh, do you call wifiusers.sh with the full path name?
Apr, 2015 - Permalink
Hi
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.
Apr, 2015 - Permalink