Ad Widget

Collapse

zabbix agent hangs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gmster
    Junior Member
    • Mar 2012
    • 2

    #1

    zabbix agent hangs

    one of my zabbix agents (1.8.4 on centos 5.7) hangs right after it starts.

    when I put the agent on DebugLevel=4 these are the last log lines :


    Code:
    32499:20120315:061045.021 Requested [net.if.in[eth1,bytes]]
     32499:20120315:061045.021 Sending back [0]
     32499:20120315:061045.391 Processing request.
     32499:20120315:061045.391 Requested [vfs.fs.size[/var/lib/mysql,pfree]]
     32499:20120315:061045.391 Sending back [96.873393]
     32499:20120315:061045.457 Processing request.
     32499:20120315:061045.458 Requested [system.cpu.util[,iowait,avg1]]
     32499:20120315:061045.458 Sending back [0.002113]
     32499:20120315:061045.509 Processing request.
     32499:20120315:061045.509 Requested [net.tcp.service[smtp]]

    (this means it gets stuck right after the tcp.smtp check)
    I checked connections to port 25 on the LO interface, and it connects fine

    this is my configuration file for the agent:

    Code:
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=4
    Server=[MYSRVIP]
    Hostname=Zabbix server
    DisableActive=1
    UserParameter=mysql.ping,mysqladmin  ping|grep alive|wc -l
    UserParameter=mysql.uptime,mysqladmin status|cut -f2 -d":"|cut -f1 -d"T"
    UserParameter=mysql.threads,mysqladmin  status|cut -f3 -d":"|cut -f1 -d"Q"
    UserParameter=mysql.slowqueries,mysqladmin status|cut -f5 -d":"|cut -f1 -d"O"
    UserParameter=mysql.slaverunning,mysql -e "show slave status"|tail -1|awk -F"\t" '{print $11" "$12}'
    UserParameter=mysql.slavelag,mysql  -e "show slave status"|tail -1|awk -F"\t" '{print $33}'
    UserParameter=mysql.qps,mysqladmin  status|cut -f9 -d":"
    UserParameter=mysql.version,mysql -V
  • gmster
    Junior Member
    • Mar 2012
    • 2

    #2
    can anyone help?

    Comment

    Working...