Ad Widget

Collapse

[1.3.7] Error: ZBX_TCP_READ() failed [Connection reset by peer]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • testos
    Member
    • Apr 2007
    • 85

    #1

    [1.3.7] Error: ZBX_TCP_READ() failed [Connection reset by peer]

    Hi,

    I tried smartmontools soft for monitoring hard disk status. After installation i Follow steps in zabbix manual v1.4 r 006 (8.1 section):

    1.- Writed command "/usr/sbin/smartctl -H /dev/hda | grep -i health | awk -F": " '{ print $2 }'" and obtain "PASSED"
    2.- Added "UserParameter=Disk.health,/usr/sbin/smartctl -H /dev/hda | grep -i health | awk -F": " '{ print $2 }'" line to zabbix_agentd.conf
    3.- Tested new parameter "zabbix_agentd -t Disk.health" and obtain [t|PASSED]
    4.- Restarted zabbix_agentd service
    5.- Added new item with key "Disk.health", with type "Zabbix agent (active), and type of information "Character"

    When set item to active, zabbix change status to Not supported and stamp these lines in the zabbix_agentd.log file:
    20433:20070524:141553 Get value from agent failed. Error: ZBX_TCP_READ() failed [Connection reset by peer]
    20433:20070524:141553 Host [Servidor_Zabbix]: first network error, wait for 15 seconds
    20436:20070524:141755 Active parameter [Disk.health] is not supported by agent on host [Servidor_Zabbix]

    If i replace /usr/sbin/smartctl... for other command line (mpstat, echo, ls ...) then it work fine and errors missing.

    Regards
    Last edited by testos; 24-05-2007, 19:22.
Working...