check_ssh plugin causing too many log messages written in /var/log/messages

coolguy2007 at comcast.net coolguy2007 at comcast.net
Tue Jan 2 23:33:41 CET 2007


Hi,

Is there a way to make Nagios stop writing the messages like the following in the /var/log/messages on remote host:


Jan  8 10:01:00 serverabc sshd[12110]: [ID 800047 auth.crit] fatal: Read from socket failed: Connection reset by peer

This happens whenever nagios makes a check using check_ssh to a remote host. This entry is written in the logs of remote host to which Nagios is trying to check the availability of ssh daemon. It looks like that Nagios is trying to make ssh connection to check for this service but it does not actually do it and then it disconnects the connection abruptly (hence the entry like above is written)
 

I do not understand why does it happen on some of the machines while for others there is no entry written in the logs. This is just causing too many messages written in the logs on remote Solaris machines and this is getting too annoying. Please enlighten us on how to cope with this nuisance? Thanks in advance.

--Shahid

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list