Check by ssh issues
Posted: Wed Sep 14, 2011 8:36 am
Hi All,
I use check_by_ssh to monitor some of our devices to kick off remote scripts which then return exit codes to nagios. Since the remote device uses a login root we had to sudo the check command so that it ran as root after fudging around with the sudeoers file we got this working fine. The problem at times we keep getting this messages ssh_exchange_identification connection closed by remote host , my feeling is this happening because of something hitting session limit, but unfortunately their is nothing in between the XI server and the monitored linux box. So I am not sure where to look for , any help would be appreciated.
Many Thanks
Arnab
I use check_by_ssh to monitor some of our devices to kick off remote scripts which then return exit codes to nagios. Since the remote device uses a login root we had to sudo the check command so that it ran as root after fudging around with the sudeoers file we got this working fine. The problem at times we keep getting this messages ssh_exchange_identification connection closed by remote host , my feeling is this happening because of something hitting session limit, but unfortunately their is nothing in between the XI server and the monitored linux box. So I am not sure where to look for , any help would be appreciated.
Many Thanks
Arnab