Hello,
ssh server can limit the number of concurrent connexions.
May be there is already the maximum of connexions while monit
try to test, and is rejected...

regards.

man sshd_config :

 MaxStartups
             Specifies the maximum number of concurrent unauthenticated con-
             nections to the sshd daemon.  Additional connections will be
             dropped until authentication succeeds or the LoginGraceTime
             expires for a connection.  The default is 10.

             Alternatively, random early drop can be enabled by specifying the
             three colon separated values "start:rate:full" (e.g.,
             "10:30:60").  sshd will refuse connection attempts with a proba-
             bility of "rate/100" (30%) if there are currently "start" (10)
             unauthenticated connections.  The probability increases linearly
             and all connection attempts are refused if the number of unau-
             thenticated connections reaches "full" (60).



Le 24/05/2011 20:09, Dennis Raj a écrit :
Which Version of Monit u r using? And also tell me the OS version? If
any help needed for configuration, let me know..

Regards,
Dennis

On Tue, May 24, 2011 at 7:12 PM, Stephen Paul Weber
<[email protected] <mailto:[email protected]>> wrote:

    Monit is rather frequently sending "connection failed sshd" and
    subsequent "connection passed sshd" emails.  Thing is, sshd never
    seems to be having a problem when I get the emails.  I've tried
    upping the number of cycles the test has to fail before restart, but
    that doesn't seem to have helped.  Today I checked the logfile to
    see if there was a pattern, but I don't see these alerts in the
    logfile at all!  Is there something I could be doing wrong?

    --
    Stephen Paul Weber, @singpolyma
    See <http://singpolyma.net> for how I prefer to be contacted
    edition right joseph

    --
    To unsubscribe:
    https://lists.nongnu.org/mailman/listinfo/monit-general




--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


--
Salutations - Best regards - mit freundlichen Grüssen

----------------- [email protected] ------------------------------------
fr - Merci d'utiliser cette addresse pour le support ou question technique
en - Please use this address for any support or technical question
----------------- https://support.numlog.fr --------------------------------
fr - Privilégier la gestion de ticket d'incident  (Clients NUMLOG)
en - Prefere our trouble ticket application   (NUMLOG's customers)


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to