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

Problem with SSH sensor in preview

Votes:

0

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

script ssh xml

Created on Feb 24, 2017 8:11:10 PM



3 Replies

Votes:

0

Please update to the latest stable version and go through this article :)

Created on Feb 27, 2017 7:14:06 PM by  Stephan Linke [Paessler Support]



Votes:

0

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

Created on Feb 28, 2017 8:36:09 PM



Votes:

0

Oh well :) Glad it's working now! Schöne Woche noch :)

Created on Mar 1, 2017 7:55:44 AM by  Stephan Linke [Paessler Support]




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.