Ad Widget

Collapse

Problems with Active Agent Hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • algieb
    Junior Member
    • Apr 2008
    • 3

    #1

    Problems with Active Agent Hosts

    Hi,

    This can now be ignored as I have managed to get it sorted.
    I didn't realise that I had to change the types of items to Active - the basic templates are all passive it seems.

    Resolved now and getting in some useful data.

    I have just setup a zabbix server 1.4.5 on debian which happily displays information regarding the server device which has its own agent running.

    I am also trying to send active agent information from a variety of windows XP devices to the server. The server is centrally hosted and I have lots of locations, all on dynamic IP some with multiple devices but many with only one device and all firewalled.

    I have configured a number of hosts on the zabbix control panel leaving the ip address as 0.0.0.0 and the dns name blank and assigned the windows template.

    However, all of the hosts actually show data for the server not for the windows hosts in the Monitoring Overview.

    The zabbix_agentd.conf on each host is as follows:

    Server=ip_address_of_server
    ServerPort=10051
    Hostname= name_of_host_device
    StartAgents=5
    DisableActive=0
    DebugLevel=3
    LogFile=c:\log data\zabbix_agentd.log
    Timeout=3
    #CONFIG FILE END

    I am using zabbix_agentd.exe 1.4.4 from the website. Could this cause any problem?

    the server config is as follows:

    StartTrappers=5
    ListenPort=10051
    SenderFrequency=30
    DebugLevel=3
    Timeout=5
    PidFile=/var/run/zabbix-server/zabbix_server.pid
    LogFile=/var/log/zabbix-server/zabbix_server.log
    AlertScriptsPath=/etc/zabbix/alert.d/
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=********

    I have removed all other default info that commented out.

    All hosts on the Monitoring Overview are still showing the server information however. How do I configure the hosts on the server so that they receive the data from the agents?

    As an aside, the passive checks do seem to collect info ok. Here is the log file from one:
    1132:20080422:115808 zabbix_agentd started. ZABBIX 1.4.4.
    1768:20080422:115808 zabbix_agentd collector started
    3424:20080422:115808 zabbix_agentd listener started
    3064:20080422:115808 zabbix_agentd listener started
    2776:20080422:115808 zabbix_agentd listener started
    1696:20080422:115808 zabbix_agentd active check started [server_ip:10051]

    I am obviously doing something very stupid but I would really appreciated your help as I have well over 100 XP devices to connect as soon as I can.

    I have also looked at passive checks by port forwarding, but as I have 80+ locations, mostly on dynamic ips and a couple of locations have 15+ XP devices I don't think this is viable.

    However, is it possible for one device to be used to collect data from others behind the firewall and then for all info to be collected from that one device?

    Finally, is the information passed in the active and passive modes the same?

    I have search quite hard for answers to this so I will greatly appreciate any help you can offer.
    Last edited by algieb; 22-04-2008, 21:30. Reason: Found the answer
Working...