New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


Problem with SSH sensor in preview

Votes:

0

Your Vote:

Up

Down

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 by  Ingo (110) 1 2



3 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  Ingo (110) 1 2



Votes:

0

Your Vote:

Up

Down

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]



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.