Ad Widget

Collapse

1.3.3 Agent [active] working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    1.3.3 Agent [active] working?

    Hello all:

    perhaps I am missing something, but I can't seem to get Agent active checks to fire. for example let's assume the following:

    server = finger.example.com 192.168.1.1
    client = thumb.example.com 192.168.1.2

    on the client, in define settings in /etc/zabbix/zabbix-agentd.conf


    Server=192.168.1.1
    Hostname=thumb
    ...
    UserParameter=test.active,echo 1


    next, test that parameter is working

    [root@thumb zabbix]# zabbix_agentd -t test.active 2>/dev/null
    test.active [t|1]


    So far, so good. Now on the server define the host thumb, then add an item for test.active as a normal Agent item, but not active yet. I get the value as expected in Latest Data. Now change this to Agent (Active), restart both the client agent and the server, I get no further data for that item. Here is the client log:

    24867:20070321:053142 In process_active_checks('192.168.1.1',10051)
    24867:20070321:053142 In get_min_nextcheck()
    24867:20070321:053142 Sleeping for 60 seconds


    and nothing more for active checks, I do get all the passive checks in the log after the above. Am I missing something or are active checks broken in 1.3.3?

    Thanks!

    /Christian
  • torti-
    Junior Member
    • Mar 2007
    • 18

    #2
    hm I guess its broken somehow can't get it to work either: post here


    here is what is sent over the network (tcpdumpfile, then follow tcp stream in wireshark)
    -----------------------------pcap session---
    ZBX_GET_ACTIVE_CHECKS
    ariel
    ZBXD
    ........system.cpu.load[,avg15]:20:0
    ZBXD.........system.cpu.load[,avg1]:5:0
    ZBXD.........system.cpu.load[,avg5]:10:0
    ZBXD.........ZBX_EOF
    --------------------------------------------

    nothing else

    Comment

    Working...