Ad Widget

Collapse

/tmp/zabbix_agentd.tmp missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • medic
    Member
    • Feb 2007
    • 58

    #1

    /tmp/zabbix_agentd.tmp missing

    Hi,
    I am using zabbix 1.3.2, and following command isnt working:

    [root@toolbox zabbix-1.3.2]# zabbix_get -k 'system.cpu.util[all,,avg1]' -s 127.0.0.1
    ZBX_NOTSUPPORTED

    when i tried to track down, i found, that get_stat() tries to open /tmp/zabbix_agentd.tmp
    but due to the fact, its not there, it fails with { return SYSINFO_RET_FAIL; }

    grepping the source, i found:
    [zabbix@toolbox zabbix-1.3.2]$ grep -ir agentd.tmp .
    ./src/libs/zbxsysinfo/common/common.c: if(NULL == (f = fopen("/tmp/zabbix_agentd.tmp","r")))

    so this file is never created, but only opened in one location for reading ...

    can anybody confirm?
Working...