Ad Widget

Collapse

SSH/SSL Protocol mismatch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • achaderin
    Junior Member
    • Jan 2015
    • 2

    #1

    SSH/SSL Protocol mismatch

    Hello guys

    Need your help/advise
    I'm stuck on a particular problem with zabbix file monitoring
    I've tested the concept on 2 machines to see if zabbix can pickup on a keyword in log file and it works, whenever specific word (defined by me) appears in the log file we get an email

    Now, the problem/error I'm getting is:

    SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.4
    Protocol mismatch.


    On machine where zabbix server is installed I have:
    Linux version 2.6.32-431.3.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Jan 3 21:39:27 UTC 2014
    OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013

    And machine where zabbix agent lives (the one where I'm trying to monitor the log file)
    Linux version 3.2.0-69-generic (buildd@lamiak) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #103-Ubuntu SMP Tue Sep 2 05:02:14 UTC 2014
    OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012

    It matches the error message. So the way I see it zabbix server tried to check on an agent but gets rejected because of protocol mismatch. I've searched google inside out but cannot find anything that helps, I also updated every single module to do with ssl/ssh on both machines, no luck, zabbix is still throwing the same error, protocol mismatch, I know it works because I tested it but it's refusing to work on this particular machine. Every other aspect of monitoring is fine apart from log files, can anyone help? Or maybe suggest something?
    Thank you
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Zabbix doesn't use SSH/SSL by default. Probably you have established tunneled connection from/to your agent, which is the reason of your problem.

    Check some specific forum/topics, focused on this problem.
    E.g. http://serverfault.com/questions/420...eled-http-port
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • achaderin
      Junior Member
      • Jan 2015
      • 2

      #3
      Hi
      Thank you for your reply
      I've looked into that but still can't seem to resolve the issue
      Have you by any chance got any other suggestions?
      Thank you

      Comment

      • jan.garaj
        Senior Member
        Zabbix Certified Specialist
        • Jan 2010
        • 506

        #4
        You should to provide more details, if you need better answer:
        Where do you use SSH?
        Do you have some SSH tunnels?
        Do you have some SSH based checks?
        Where is error 'Protocol mismatch.'? Zabbix agent/server log? Any interesting logs?
        What did you try already?
        ...
        Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
        My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

        Comment

        Working...