Ad Widget

Collapse

Error: Cannot connect to [[192.XX.XX.XX]:22

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pafram
    Junior Member
    • Jun 2015
    • 3

    #1

    Error: Cannot connect to [[192.XX.XX.XX]:22

    Hello,
    I'm quite new to the whole linux thing and zabbix as well.
    I followed the instructions to install zabbix on a Ubuntu 14.04 VM and it was successful. I added the server zabbix host itself to be monitored and that worked fine.
    However, when trying to add another host I get this error. It is on port 22 as well. I'm not quite sure what to do.
    Thanks!

    Get value from agent failed: cannot connect to [[192.XX.XX.XX]:22]: [4] Interrupted system call.
  • zabbixx
    Member
    • Jul 2012
    • 71

    #2
    Originally posted by pafram
    well. I'm not quite sure what to do.
    Thanks!

    Get value from agent failed: cannot connect to [[192.XX.XX.XX]:22]: [4] Interrupted system call.
    what did you try to get from this client ?
    notice that the PORT 22 is an SSH port ... zabbix agent is normaly on port 1050 !

    Comment

    • pafram
      Junior Member
      • Jun 2015
      • 3

      #3
      I've realized that I don't have the ability to install the Zabbix agent on that service, so I guess my question would be, am I able to still monitor that server without the agent installed? Which is using Port 22?
      Thanks!

      Comment

      • zabanist
        Junior Member
        • Jun 2015
        • 16

        #4
        Originally posted by zabbixx
        what did you try to get from this client ?
        notice that the PORT 22 is an SSH port ... zabbix agent is normaly on port 1050 !
        Small correction -- 10050.

        In your host configuration within the zabbix GUI, make sure the Agent is configured to listen on port 10050.

        Comment

        • zabanist
          Junior Member
          • Jun 2015
          • 16

          #5
          Originally posted by pafram
          I've realized that I don't have the ability to install the Zabbix agent on that service, so I guess my question would be, am I able to still monitor that server without the agent installed? Which is using Port 22?
          Thanks!

          Mmmm... Yes and no. I should really start with No.

          No -- you cannot just setup that port to the host and have Zabbix speak through it. If SSH is running there, well, ssh and zabbix are not the same and it will break.

          Yes, because Zabbix is unixy and open. You could setup SNMP on the host and monitor it through SNMP (but, frankly, I'd rather use the Zabbix Agent if you have that kind of time and control over the host). You could tunnel requests through SSH, launched on the zabbix server/proxy... There are a variety of simple checks and web checks that may be of some service.

          But... No. Wtih all respect, it sounds like you need to start from the beginning -- read some docs, get a book, and/or just get the agent installed and configure zabbix to talk to it and experiment.

          Comment

          • zabbixx
            Member
            • Jul 2012
            • 71

            #6
            Originally posted by pafram
            I've realized that I don't have the ability to install the Zabbix agent on that service, so I guess my question would be, am I able to still monitor that server without the agent installed? Which is using Port 22?
            Thanks!
            Hello pafram,
            i know get started is a litle bit strange.
            but you must notice if the zabbix agent is running on the client you work is easier, you can use predefined functions of the zabbix-agent, and check HDD, CPU, NETwork ... eg.

            if you cant install the agent.... well you can do a ssh check from zabbix server to the client over the ssh, but you have in this way write you own bash scripts for checks... its very strong ond you need much time for it .....

            Comment

            Working...