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

logrt monitoring message skipped. (copytruncate)

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021)
    • Story Points:
      2

      Description

      create item

      logrt[/tmp/test/^logrt_test.log.*,,,,,,,copytruncate]
      

      procedure

      ]# echo "test1 ----------------------------------------------" >> /tmp/test/logrt_test.log
      ]# echo "test1 `date "+%Y%m%d-%H%M%S"` ERROR:ccccccccccccccc" >> /tmp/test/logrt_test.log
      ]# echo "test1 `date "+%Y%m%d-%H%M%S"` ERROR:ccccccccccccccc" >> /tmp/test/logrt_test.log
      ]# echo "test1 `date "+%Y%m%d-%H%M%S"` ERROR:ccccccccccccccc" >> /tmp/test/logrt_test.log
      
      ]# cp -p /tmp/test/logrt_test.log /tmp/test/logrt_test.log.1
      ]# cp /dev/null  /tmp/test/logrt_test.log
      ]# echo "test2 ----------------------------------------------" >> /tmp/test/logrt_test.log
      ]# echo "test2 `date "+%Y%m%d-%H%M%S"` NORMAL" >> /tmp/test/logrt_test.log
      
      ]# echo "test3 ----------------------------------------------" >> /tmp/test/logrt_test.log
      ]# echo "test3 `date "+%Y%m%d-%H%M%S"` ERROR:ddddddddddddd" >> /tmp/test/logrt_test.log
      

      History of the latest data is as follows.

      2021/01/07 17:45:40 test3 20210107-174527 ERROR:ddddddddddddd
      2021/01/07 17:45:40 test3 ----------------------------------------------
      2021/01/07 17:42:40 test1 20210107-174140 ERROR:ccccccccccccccc
      2021/01/07 17:41:40 test1 20210107-174132 ERROR:ccccccccccccccc
      2021/01/07 17:41:40 test1 20210107-174124 ERROR:ccccccccccccccc
      2021/01/07 17:41:40 test1 ----------------------------------------------
      

      The test2 message was not read.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andris Andris Mednis
              Reporter:
              kazuo.ito Kazuo Ito
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: