Ad Widget

Collapse

Delete first reading of item logrt.count

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • claudiojgb
    Junior Member
    • Apr 2023
    • 2

    #1

    Delete first reading of item logrt.count

    Good day.

    I've configured a new item of type logrt.count to count a specific word that appears in a rotating log. The item works wonderfully, but when displaying the item in a graph, it is not well appreciated because the first execution of the item brought more than 10,000 records, while successive executions bring about 50 records every 10 min. Is there a way to clear the result of the first run?

    Thanks.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Only if you go directly to DB...

    Actually, there is a "skip" option for that key, specially for avoiding such cases. Adding it later does not work, but if you clean up all the history, as this item never was there, add "skip" and re-add item to host... you may get rid of it.

    Comment

    Working...