I cannot add remote server monitor using SSH password authentication.
Please
follow our suggestions below,
1) When adding that server monitor , please specify the correct command prompt
value, which is the last character in your command prompt after connecting to
that server with that appropriate username
Connect to the remote Linux/Freebsd/Mac OS/HP UX/Solaris server
and check the command prompt. Default value is $ and possible values are >
or # etc
2) In the server which you are trying to monitor through SSH, the
PasswordAuthentication variable should be set as 'yes' in the sshd_config file
and it should be uncommented
To ensure this, access the file /etc/ssh/sshd_config (or
/etc/sshd_config file) and verify the value of PasswordAuthentication variable.
If it is set as 'no', modify it to 'yes' , uncomment that line and restart the
SSH daemon using the command /etc/rc.d/sshd restart
3) Applications Manager can not add the server monitor (even though SSH2 is
running) if the entry in </etc/ssh/sshd_config> (or /etc/sshd_config
file) is 'Protocol 2,1'
Change the entry as below in the /etc/ssh/sshd_config file (or
/etc/sshd_config file), uncomment that line and then restart SSH2 daemon
protocol 2
4) Add the below lines in the /etc/ssh/sshd_config file (or /etc/sshd_config
file) in the remote server which are trying to add in Applications Manager and
restart the SSH Daemon using the command /etc/rc.d/sshd restart (comment the
lines if they are already present)
#Default Encryption algorithms and Message Authentication codes
#Ciphers aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc
#MACS
hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
Note:You have to take backup of original file before modification
If you still have issues send below information to appmanager-support@manageengine.com for further troubleshooting
1) Send us complete output for the AppManagerHome\bin\ServerSSHTroubleshoot.bat
or ServerSSHTroubleshoot.sh script with remote server hostname or ipaddress.
Follow the below link for usage of the command https://desk.zoho.com/portal/manageengine/kb/articles/how-to-execute-serversshtroubleshoot-bat-or-sh-file
2) Send us copy of /etc/ssh/sshd_config file (or /etc/sshd_config) from the
remote server which are trying to add in Applications Manager via SSH
3) Open command prompt in remote server that you are trying to monitor in
Applications Manager with SSH
uname -a
/sbin/ifconfig -a
dladm show-link
hostname
4) Open command prompt in Applications Manager host and execute below command
with remote server hostname or ipaddress and send us the screenshot of the
output
telnet <hostname> <ssh_port>
Example:
telnet app-centos 22
5) Open command prompt in Applications Manager host and execute below commands
with remote server hostname and ipaddress and send us the screenshot of the
output
ping hostname
nslookup hostname
ping ipaddress
nslookup ipaddress
6) Try to add the server monitor in Applications Manager a couple of times and
then immediately create a new support information file and upload it to our
ftp.Refer the below link for steps to create support information file and
uploading it.
https://desk.zoho.com/portal/manageengine/kb/articles/where-do-i-find-the-log-files-that-i-need-to-send-to-technical-support-team-for-analysis
7) Check if you are able to connect with the same username & password using
any other SSH client tool other than Applications Manager.
New to ADSelfService Plus?
Related Articles
Self monitor Applications Manager using Real User Monitoring
We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
REST API Monitor - FAQS
1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...
Troubleshooting URL Monitor
Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them. General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
I am not able to add Server monitor with SSH key generated with passphrase and steps to generate SSH2 keys without passphrase.
As of now we do not support usage of SSH2 keys generated with passphrase in Applications Manager. However you can use a key generated without passphrase. Use the steps below to generate and use SSH2 keys. Using Puttygen generate a new private key ...
Self monitor Applications Manager using APM Insight Java Agent
Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...