Ad Widget

Collapse

Zabbix Agent on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dunmarie
    Junior Member
    • Jan 2009
    • 6

    #1

    Zabbix Agent on Windows

    I have just installed Zabbix and monitoring from Linux boxes is a breeze.
    However, for some reason I can't get the monitoring of Windows machines right.
    I have installed the agent as a service, checked the service is running. I made sure the Windows firewall is not interfering, even turned it off, but no data is collected by Zabbix.
    The host is loaded on Zabbix and the standard Windows Template loaded.
    Am I missing something when it comes to the monitoring of Windows?
    Any help will be appreciated.
  • troffasky
    Senior Member
    • Jul 2008
    • 565

    #2
    Can you telnet from the Zabbix server to the agent port on the Windows box?

    From a working setup:

    Code:
    # telnet 2k3ts 10050
    Trying 192.168.40.4...
    Connected to 2k3ts
    Escape character is '^]'.
    Are you there?
    ZBX_NOTSUPPORTED
    Connection closed by foreign host.
    At the very least you should get 'Connected to'. I installed the agents using the MSI installer.

    Comment

    • Dunmarie
      Junior Member
      • Jan 2009
      • 6

      #3
      Yes I can telnet to the windows computers using the following:
      telnet exchange.gaappos.net 10050
      Trying 10.18.201.251...
      Connected to exchange.gaappos.net.
      Escape character is '^]'.
      Mine however stop after the Escape Character.
      Netstat reveals a listening port 10050:
      netstat -an |find /i "listening"
      TCP 10.18.201.251:10050 0.0.0.0:0 LISTENING

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 565

        #4
        Originally posted by Dunmarie
        Mine however stop after the Escape Character.
        Yes, I typed 'Are you there?' and pressed enter :-)

        Comment

        • Dunmarie
          Junior Member
          • Jan 2009
          • 6

          #5
          I found the reason for my problem.
          If you configure your Hosts in Zabbix frontend, don't use special characters.
          For example, DJS-Laptop will not work, but DJS Laptop works fine.

          Comment

          • troffasky
            Senior Member
            • Jul 2008
            • 565

            #6
            That doesn't sound right. I've got many hosts configured with '-' in the name [although come to think of it, they're SNMP agents, not Zabbix agents]. What version are you on? Do you get errors in the logs?
            Last edited by troffasky; 02-02-2009, 11:17.

            Comment

            • Dunmarie
              Junior Member
              • Jan 2009
              • 6

              #7
              I am on version 1.6.2.
              The agents I am using is also 1.6.2.
              There was no error's in the log except for:
              5496:20090202:091208 OK
              5496:20090202:091213 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.001988
              I then changed the Name under host and in the config file and it started working immediately.

              Comment

              Working...