Ad Widget

Collapse

First time install ?? Issues with W32 agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rick-CK-STL
    Junior Member
    • Feb 2007
    • 7

    #1

    First time install ?? Issues with W32 agent

    I have Zabbix installed on 2 test boxes now and I'm getting the same error on both.

    Zabbix Server 1: SME7.1 www.contribs.org
    Zabbix Server 2: Virtural Machine from VMware

    XP Pro: Agent installed.
    Error: Active Checks (Cannot connect to 192.168.9.73:10051) [No error]

    Agent is starting up ok.
    I never see anything on the Zabbix server???

    Thanks
    Rick
  • infinix
    Junior Member
    • Feb 2007
    • 1

    #2
    First time install ?? Issues with W32 agent

    This worked for me, didn't have time to compile and stuff credit to linuxfacil.net:-

    1) Create an zabbix user (using LAT or server-manager)

    2) download my tar http://www.linuxfacil.net/publico/fi...bbix-1.1.1.tar or from http://khunjarnet.com/downloads/zabbix/Zabbix-1.1.1.tar (thank Jon)

    3) copy files from opt to /opt and etc to /etc

    NOTE: Instruction 4 below did not apply to me as I have /opt hosting all my web-enable applications.

    4) create fragments to Apache

    mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
    cat >>/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/80zabbix <<FIM
    Code:

    Alias /zabbix /opt/zabbix

    <Directory "/opt/zabbix">
    AddType application/x-httpd-php .php .php3 .phtml
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    FIM


    /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
    service httpd-e-smith restart

    5) create MySQL database and populate it
    mysql < install/create_mysql
    mysql zabbix < install/schema.sql
    mysql zabbix < install/data.sql

    6) edit /etc/zabbix/zabbix_[server/agentd].conf and verify if everything it´s ok

    7) start Zabbix_server and agentd
    /opt/zabbix/bin/zabbix_server
    /opt/zabbix/bin/zabbix_agentd

    8) Windows Agent >> copy zabbixw32 and zabbix_agentd.conf to C:\Zabbix &
    run: zabbixw32 --config "C:\Zabbix\zabbix_agentd.conf" install

    >> Note, I managed to get a WinXP machine going but I'm struggling with Win 2003 and other WinXP machines.

    Good luck.

    Infinix

    Comment

    Working...