Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Girish Kardam Absent Member.
Absent Member.
11278 views

Unix server connection issue through sitescope

Jump to solution
Hi,

Recently I installed SiteScope Ver 11.10 for monitoring resources utilization of Unix Server. But when I tried to connect through Unix Resources. It was connected once but now getting below issue.

Testing connection to :
Attempting SSH V1 connect.
SSH V1 connect failed
Attempting SSH V2 connect
SSH V2 connect failed

remote command error (-1)

remote command error (-1)

Kindly help me how I can overcome the above issue.
Labels (1)
Tags (1)
0 Likes
1 Solution

Accepted Solutions
Sergey Popov Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Hi, Girish.

There are two possible reasons for this error.

First one is that due to some routing or resolving issues your SiteScope machine can't connect to the remote Unix server.
To check this, please, copy putty to SiteScope machine and try to connect to Unix you want to monitor.

The second possible reason is that it is SiteScope-related issue.
Could you, please, name what Unix you're trying to connect to and attach /etc/ssh/sshd_config from that target Unix and screenshot of this Unix remote server properties in SiteScope?

Thank you.
Sergey.
_______________
This thread is now 20% cooler
16 Replies
Absent Member.. krishnarajapant Absent Member..
Absent Member..

Re: Unix server connection issue through sitescope

Jump to solution
Hi,

check the credentials you provided is correct or not in remote unix, do the detail test there.

try to connecto your unix server through putty from the sitescope server and check.

-Krishna Rajapantula.
0 Likes
Girish Kardam Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
It was connected through putty.exe externally. Can u pls guide me how I can connect unix server through putty from the sitescope server.
0 Likes
Sergey Popov Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Hi, Girish.

There are two possible reasons for this error.

First one is that due to some routing or resolving issues your SiteScope machine can't connect to the remote Unix server.
To check this, please, copy putty to SiteScope machine and try to connect to Unix you want to monitor.

The second possible reason is that it is SiteScope-related issue.
Could you, please, name what Unix you're trying to connect to and attach /etc/ssh/sshd_config from that target Unix and screenshot of this Unix remote server properties in SiteScope?

Thank you.
Sergey.
_______________
This thread is now 20% cooler
Girish Kardam Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Hi Sergey,

Thx for reply. There was an issue regarding connection from site scope server I verified the same through putty from server. Now able to connect with the remote server.
0 Likes
Sergey Popov Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
It's good to hear it.

Have a good SiteScope experience)!
_______________
This thread is now 20% cooler
0 Likes
Girish Kardam Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Hi Sergey,

Can u pls guide me how I can set auto refresh rate for created monitors, currently monitor status gets updated when I manually click on Run Monitor option. Is there any option to do the same so that sitescope do it auto after particular time interval.
0 Likes
Sergey Popov Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Each monitor has "Monitor Run Settings" in its properties.
There you can set:
- frequency - monitor run rate
- error frequency - monitor run rate if it is in error state

Please, look at attached picture for illustration.
_______________
This thread is now 20% cooler
Girish Kardam Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
thx :-)
0 Likes
Absent Member.. Osama_Selwadi Absent Member..
Absent Member..

Re: Unix server connection issue through sitescope

Jump to solution

HI,

 

I have a problem with SSH for AIX, Putty is working from the SIS server and getting connected, any help please

 

BR

Osama Selwadi - SSBS
0 Likes
TrinadhVarma Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution

Thanx Sergey..

Member
0 Likes
kirankumar_cb Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
Hi,

I've setup SiteScope for monitoring resources utilization of Datapower Server. But when I tried to connect through Unix Resources. It was giving below issue.

Testing connection to :
Attempting SSH V1 connect.
SSH V1 connect failed
Attempting SSH V2 connect
SSH V2 connect failed

remote command error unknown error (-1) (-1)
I carried out test and detailed test. For both test I'm getting the above message.
Kindly help me how I can overcome the above issue.
0 Likes
Rads Absent Member.
Absent Member.

Re: Unix server connection issue through sitescope

Jump to solution
I am facing similar issue when trying to setup unix monitoring using SSH. Can anyone let me know what are the sitescope settings that we need to do?
Error: remote connect error -1
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Unix server connection issue through sitescope

Jump to solution

hello!

 

Which sitescope versions are we talking about?

 

Please upload the ERROR.LOG and RUNMONITOR.LOG so we have a bit more info here.

 

BR-Patrick

0 Likes
Soderborg Respected Contributor.
Respected Contributor.

Re: Unix server connection issue through sitescope

Jump to solution

I'm having the same issue.

 

Connecting using Putty from the Sitescope server works fine.

From Sitescope web it does not.

 

Here's the sshd_config of the Debian Linux server I want to monitor:

 

#PasswordAuthentication yes

# Kerberos options

#KerberosAuthentication no

#KerberosGetAFSToken no

#KerberosOrLocalPasswd yes

#KerberosTicketCleanup yes

# GSSAPI options

#GSSAPIAuthentication no

#GSSAPICleanupCredentials yes

X11Forwarding yes

X11DisplayOffset 10

PrintMotd no

PrintLastLog yes

TCPKeepAlive yes

#UseLogin no

#MaxStartups 10:30:60

#Banner /etc/issue.net

# Allow client to pass locale environment variables

AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

# Set this to 'yes' to enable PAM authentication, account processing,

# and session processing. If this is enabled, PAM authentication will

# be allowed through the ChallengeResponseAuthentication and

# PasswordAuthentication.  Depending on your PAM configuration,

# PAM authentication via ChallengeResponseAuthentication may bypass

# the setting of "PermitRootLogin without-password".

# If you just want the PAM account and session checks to run without

# PAM authentication, then enable this but set PasswordAuthentication

# and ChallengeResponseAuthentication to 'no'.

UsePAM yes

 

Attached is a screenshot of the settings in Sitescope.

 

Any ideas how to get this working?

 

Thanks

 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.