Ad Widget

Collapse

One host not reporting UserParameter, works OK manually

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clarkritchie
    Member
    • Aug 2013
    • 46

    #1

    One host not reporting UserParameter, works OK manually

    I've got some custom UserParameters I use on a bunch of Ubuntu 12.04 and 14.04 machines. However, one of my machines fails to report these items.

    I can telnet to the machine from my Zabbix server and run my command manually via the agent:

    root@orion:/opt/home/ubuntu# telnet host.domain.com 10050
    Trying 1.2.3.4...
    Connected to host.domain.com.
    Escape character is '^]'.
    system.sw.debianupdates-list <-- of course, this is my custom key
    ZBXDlibtasn1-3 [2.10-1ubuntu1.1], libcups2 [1.5.3-0ubuntu8.3], apache2 [2.2.22-1ubuntu1.6], apache2-mpm-worker [2.2.22-1ubuntu1.6], apache2.2-common [2.2.22-1ubuntu1.6], apache2.2-bin [2.2.22-1ubuntu1.6], apache2-utils [2.2.22-1ubuntu1.6], apache2-suexec [2.2.22-1ubuntu1.6],Connection closed by foreign host.


    OK so my UserParameter works, and I am getting results. But this one host reports nothing in the Zabbix UI. Other Ubuntu hosts (using the same template, and same custom .conf file in /etc/zabbix/zabbix_agentd.d) all work great.

    I can see the command run periodically in the agent's log.

    19282:20140725:131441.209 Run remote command [apt-get dist-upgrade -s |sed -n 's/^Inst \(.*\) (.*/\1,/p' | tr '\n' ' '] Result [271] [libtasn1-3 [2.10-1ub]...
    19282:20140725:131441.209 Sending back [libtasn1-3 [2.10-1ubuntu1.1], libcups2 [1.5.3-0ubuntu8.3], apache2 [2.2.22-1ubuntu1.6], apache2-mpm-worker [2.2.22-1ubuntu1.6], apache2.2-common [2.2.22-1ubuntu1.6], apache2.2-bin [2.2.22-1ubuntu1.6], apache2-utils [2.2.22-1ubuntu1.6], apache2-suexec [2.2.22-1ubuntu1.6],]


    I've removed / reapplied the template, even re-created the host from scratch.

    Any suggestions? I set the LogLevel to 4 on both the agent and server but I am not seeing anything. I also upped the timeout on this one particular agent to 10 seconds. The Zabbix UI does not show an error on this item -- just no data.

    All running 2.2.4.
    Last edited by clarkritchie; 25-07-2014, 19:33.
  • clarkritchie
    Member
    • Aug 2013
    • 46

    #2
    Well as usual, posting in the forums led me to a solution -- but only after I spent a lot of time on this yesterday!

    I upped ValueCacheSize on the server and it seems to work now.

    Comment

    Working...