Ad Widget

Collapse

Zabbix Agentd is unavailable if UserParameter-Request freezes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #1

    Zabbix Agentd is unavailable if UserParameter-Request freezes

    I have the following UserParameter within a ZabbixAgent to check the free ftp-backupspace:
    Code:
    UserParameter=ftpbackup_freespace,echo du . | lftp -u user,pass host | awk -v LIMIT="100" '$1~/[0-9]+/ {QUOTA=LIMIT*1024*1024; print (QUOTA-$1)/1024/1024}' | tail -1
    If the requested ftp-server is available everything works fine.
    If not, the zabbix-agentd is marked as unavailable and no other parameter is pushed to zabbix-server.

    Why didn't the UserParameter-Function has no timeout?
Working...