NagiosCore-Received disconnect from UNKNOWN port 65535:2

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

NagiosCore-Received disconnect from UNKNOWN port 65535:2

Postby Venky4u » Tue Oct 26, 2021 5:37 am

Hello Team,

I'm using NagiosCore 4.4.6 with Nagios-plugins version 2.2.1
I haven't faced any issue while working on the RHEL-7 box where NagiosCore was installed. The moment I migrated to RHEL-8, I'm facing the issue. Where I'm getting desired output while executing the scripts from Nagios command line but the Nagios web interface is throwing the below error.

Error from Web UI: "UNKNOWN Remote command execution failed: Received disconnect from UNKNOWN port 65535:2: Too many authentication failures"

Command line: [devops@cvlappxd21871 libexec]$ ./check_by_ssh -H host -l devops -C '/home/devops/nagiosScripts/check_tomcat.sh'
/opt/jboss/jws-5.3/servers/tomcat_1 is running

I have checked the permissions and everything looks fine.

User:devops
[devops@cvlappxd21871 .ssh]$ ls -la
total 8
drwx------. 2 devops devops 38 Oct 6 11:06 .
drwxr-x---. 3 devops devops 125 Oct 25 10:47 ..
-rw-------. 1 devops devops 2622 Oct 6 11:06 id_rsa
-rw-r--r--. 1 devops devops 585 Oct 6 11:06 id_rsa.pub

Please do the needful.

Regards,
Venkatesh Y
Last edited by Venky4u on Wed Oct 27, 2021 12:55 am, edited 1 time in total.
Venky4u
 
Posts: 3
Joined: Tue Oct 26, 2021 4:42 am

Re: NagiosCore-Received disconnect from UNKNOWN port 65535:2

Postby benjaminsmith » Tue Oct 26, 2021 4:11 pm

Hi Venkatesh,

Based on that error message, it's probably not an issue directly related to Nagiso but a configuration issue with SSH. Try following the steps in the article below to resolve and let us know how that goes.

How to Fix “SSH Too Many Authentication Failures” Error

--Benjmain
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 5230
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosCore-Received disconnect from UNKNOWN port 65535:2

Postby Venky4u » Wed Oct 27, 2021 10:42 am

Hi,

Before trying the steps that you have provided in the article, I did and ssh -vvv to the target host with devops ID and attached the verbose output.

I have tried the above steps but no luck. I still see the same error "UNKNOWN Remote command execution failed: Received disconnect from UNKNOWN port 65535:2: Too many authentication failures"

[devops@Nagios-server .ssh]$ cat config
Host hostname
IdentitiesOnly=yes
PreferredAuthentications=publickey
LogLevel INFO

Regards,
Venkatesh Y
Attachments
SSH connection.txt
(13.96 KiB) Downloaded 39 times
Venky4u
 
Posts: 3
Joined: Tue Oct 26, 2021 4:42 am

Re: NagiosCore-Received disconnect from UNKNOWN port 65535:2

Postby Venky4u » Tue Nov 09, 2021 9:22 am

Can someone help me on this issue ?

Regards,
Venkatesh Y
Venky4u
 
Posts: 3
Joined: Tue Oct 26, 2021 4:42 am


Return to Community Support

Who is online

Users browsing this forum: sysadminfsc and 33 guests