Ad Widget

Collapse

several SSH errors with Zabbix running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rezilient
    Junior Member
    • Mar 2008
    • 4

    #1

    several SSH errors with Zabbix running

    We have been getting the following errors in syslog:

    cp sshd[10549]: error: Could not get shadow information for NOUSER
    cp sshd[5977]: fatal: Read from socket failed: Connection reset by peer

    My host says the following:

    Seems like zabbix is checking if the port is running and logging off in a unclean fashion, killing the coonection causing the read from socket to fail because the socket is gone. The Zabbix monitoring seems to be the culprit here. SSH is working fine.


    Does this seems accurate? Any idea how to fix this?

    Thanks.
    Reza
  • rezilient
    Junior Member
    • Mar 2008
    • 4

    #2
    Anyone have an idea? Is that caused by Zabbix?

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Yes, it may be caused by ZABBIX SSH check. I see nothing wrong here.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • rezilient
        Junior Member
        • Mar 2008
        • 4

        #4
        But it's happening every minute and spamming my logs, is Zabbix terminating the connection in an "unclean" fashion, and if so how do I fix that? Thanks.

        Comment

        • sterno
          Junior Member
          • Jan 2006
          • 24

          #5
          If you're getting too many log errors from the ssh monitor you can either disable it or make it run less often. Personally, I don't find the TCP checks to be useful in most situations so I disable them all.

          Comment

          • rezilient
            Junior Member
            • Mar 2008
            • 4

            #6
            cp sshd[10549]: error: Could not get shadow information for NOUSER

            ^ this one is from constant dictionary attacks from a couple Asia Pacific IPs, since being blocked they have stopped.

            cp sshd[5977]: fatal: Read from socket failed: Connection reset by peer

            ^ this is from Zabbix. I might do as you suggested and just turn off those checks. Thanks!

            Comment

            Working...