Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10018

Inconsistent messages in Debuglog when userparameter terminated by timeout

XMLWordPrintable

      Agent is 2.4.7rc1 (revision 54982)

      A test with 2 seconds command time execution:

      # time zabbix_get -s localhost -k sleep[2]
      2
      
        3370:20151029:101807.571 Requested [sleep[2]]
        3370:20151029:101807.572 In zbx_popen() command:' sleep 2; echo 2'
        3370:20151029:101807.572 End of zbx_popen():9
        3374:20151029:101807.572 zbx_popen(): executing script
       ...
        3370:20151029:101809.574 In zbx_waitpid()
        3370:20151029:101809.574 zbx_waitpid() exited, status:0
        3370:20151029:101809.574 End of zbx_waitpid():3374
        3370:20151029:101809.574 EXECUTE_STR() command:' sleep 2; echo 2' len:1 cmd_result:'2'
        3370:20151029:101809.574 Sending back [2]
        3370:20151029:101809.574 listener #1 [waiting for connection]
      

      everything i fine here.

      Another test with 3 seconds command time execution (more than Timeout):

      # time zabbix_get -s localhost -k sleep[3]
      ZBX_NOTSUPPORTED: Timeout while executing a shell script.
      
        3370:20151029:101811.336 listener #1 [processing request]
        3370:20151029:101811.336 Requested [sleep[3]]
        3370:20151029:101811.336 In zbx_popen() command:' sleep 3; echo 3'
        3370:20151029:101811.336 End of zbx_popen():9
        3378:20151029:101811.337 zbx_popen(): executing script
      ...
        3370:20151029:101814.336 In zbx_waitpid()
        3370:20151029:101814.337 zbx_waitpid() killed by signal 15
        3370:20151029:101814.337 End of zbx_waitpid():3378
        3370:20151029:101814.338 listener #1 [waiting for connection]
      

      why we don't see here something similar, like "Sending back [ZBX_NOTSUPPORTED: Timeout while executing a shell script.]" ?

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: