Ad Widget

Collapse

Custom script - the latest data not update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ufocek
    Senior Member
    • Aug 2006
    • 161

    #1

    Custom script - the latest data not update

    Hi,

    I add to zabbix_agent own custom script who check me my SOAP service and back me some code, example:
    111 = ALL_OK
    101 = db_service_OFF

    In zabbix_agentd.conf I turn on a debug mode and in log I see:

    9529:20100113:092756.362 Run remote command [/usr/local/zabbix/sbin/soap.pl] Result [3] [101]...
    9529:20100113:092756.362 Sending back [101]

    When I look at the latest data (zabbix gui, serwer teta -> latest data) from the operation of this script I still see the data, eg: hours 09:25, where I see the last time the script code 111, why zabbix don't update the return code 101 to the database?

    ZABBIX Agent (daemon) v1.8 (revision 9021)
    Zabbix Server (daemon) v1.8 (revision 9021) (7 December 2009)

    Has anyone an idea why this might happen?
Working...