I have a problem with the SSH sensors in version 17.1.29.1402+ [Preview].
Before update they worked with the sudo elevation. After update I chose the option sudo with password but I get the following: [INFO][24.02.2017 20:07:41] Opening Connection [INFO][24.02.2017 20:07:41] Shell: $SHELL = /bin/sh 3573 pts/7 00:00:00 sh
[INFO][24.02.2017 20:07:41] Sending command /var/prtg/scriptsxml/nas_share_info_v2.sh /volume1/Backup [INFO][24.02.2017 20:07:41] Elevation name root [INFO][24.02.2017 20:07:41] Reading password prompt [INFO][24.02.2017 20:07:41] Sending password [INFO][24.02.2017 20:07:41] Sending EOF [INFO][24.02.2017 20:07:41] Reading PaeSSH result [INFO][24.02.2017 20:07:42] [STDOUT] /bin/bash: /var/prtg/scriptsxml/nas_share_info_v2.sh: Permission denied
[INFO][24.02.2017 20:07:42] [STDERR] [INFO][24.02.2017 20:07:42] Sending exit [INFO][24.02.2017 20:07:42] Sending EOF
If I do the same manually in PuTTY it works without error.
I have also checked the other options, but no one works. Same with the sensor created new.
Kind regards Ingo
Article Comments
It seems I have to apologize... Now it works, the problem were wrong rights on the script. The script was set to executable but has no user rights. But with the last version of PRTG with the old method this was no problem.
Regards Ingo
Feb, 2017 - Permalink
Please update to the latest stable version and go through this article :)
Feb, 2017 - Permalink