Ad Widget

Collapse

agentd timeout?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kheyiu
    Junior Member
    • Oct 2004
    • 1

    #1

    agentd timeout?

    Hi, I am using solaris x86. I have made the config ok. However, I need to monitor the iowait. Thus I have added the following at /etc/zabbix/zabbix_agentd.conf:

    UserParameter=system[read],/usr/local/zabbix/bin/monio

    and the monio have the following:

    iostat -ix 5 2 |awk '$1 ~ /c0d0/{a=$6} END {print a}'

    however, the agentd report 'broken pipe'. While:

    iostat -ix 5 2 |awk '$1 ~ /c0d0/{a=$6} END {print a}'
    can be run ok.

    I browse the agentd code thought it is TIMEOUT problem. I changed:

    #define AGENT_TIMEOUT 20

    at the common.h and compiled again. Still have the broken pipe error.


    Thus I would like to know if it is related to the TIMEOUT problem, how can I made
    the changes?
Working...