Ad Widget

Collapse

Windows / Linux Agentd Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martins.felipe
    Member
    • Jul 2006
    • 34

    #1

    Windows / Linux Agentd Problem

    Dear All,

    I have a Zabbix 1.1.2 Linux server managing all my hosts using snmp. Everything works fine. I want now test the windows and linux agents to do the same thing plus executing commands at the remote machines.
    First I've installed the agent at my server with the following zabbix_agentd.conf:

    Server=32.94.155.11
    ListenIP=127.0.0.1
    Hostname=beholder
    StartAgents=5
    EnableRemoteCommands=1
    DebugLevel=3
    PidFile=/var/tmp/zabbix_agentd.pid
    LogFile=/tmp/zabbix_agentd.log
    Timeout=3

    I've added the same host at zabbix, but now monitored via agent, and using the Unix_t template. Everything worked fine, but the host seems to get only the snmp data, not the agent ones. I tried to check if there was something wrong with the configuration using "zabbix_agentd -p" and it shows me all supported metrics. When I do "zabbix_agentd -t <metric> " I see the metrics data.
    When I "nmap -sT -sU" the host locally I see no 10050 or 10051 port but I can see them at "netstat -na | grep 1005". I tried to telnet it by port 10050 (agent port) and saw this message when hit ENTER:

    ZBX_NOTSUPPORTED
    Connection closed by foreign host.

    I'm also having problems with the windows ones, it has basically the same behavior, the same remote telnet connection problem, and the windows host also can't find the agent data to monitor, only snmp ones. Widnows agents are configured like this in zabbix_agentd.conf:

    Server=32.94.155.11
    ListenIP=127.0.0.1
    StartAgents=5
    EnableRemoteCommands=1
    DebugLevel=1
    Timeout=3

    I've checked every information I could find concerning other users's problem related to this issue and nothing worked out here.

    Need a huge hand !!!

    Thanks in advance
  • martins.felipe
    Member
    • Jul 2006
    • 34

    #2
    Forgot to tell my zabbix's version

    Sorry, my Zabbix Server is version 1.1.2 (last one)

    []'s

    Comment

    • den_crane
      Senior Member
      • Feb 2006
      • 272

      #3
      Hahaha
      ListenIP=127.0.0.1 u listen only local loopback.

      must be:
      ListenIP=real_ip
      or comment
      #ListenIP=
      listen all interfaces

      Comment

      • martins.felipe
        Member
        • Jul 2006
        • 34

        #4
        oops !!

        I'm gonna test and see if it works.

        []'s

        Comment

        • martins.felipe
          Member
          • Jul 2006
          • 34

          #5
          Problem Discovered but not yet solved !!!

          Guys,

          I've discovered what is causing my zabbix server to tell that my zabbix agent monitored servers are down (not available). It seems that when i upgraded zabbix 1.1.1 to 1.1.2 something went wrong and my database (mysql) didn't deleted or added the right tables, so that my zabbix agents are passing more arguments then there are tables. e.g. zabbix agent is passing 15 values to a table that has only 10.
          I'm thinking of dumping the database, delete, create it again by the newest version (1.1.2) and incrementaly add the old values. Did anyone do that already ?

          thanks in advance.

          Comment

          Working...