Ad Widget

Collapse

How to only keep changes of values longer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nux
    Junior Member
    • May 2018
    • 4

    #1

    How to only keep changes of values longer?

    Hi. I have some stats for versions of components (like Tomcat version, Java version etc). So if I set this to update hourly then Zabbix will keep a lot all values that are just the same most of time. There seem to be no trend option.

    So effectively rather then having something like this:
    2019-09-10 12:00:03 Apache Tomcat/7.0.55
    2019-09-10 11:00:03 Apache Tomcat/7.0.55
    2019-09-10 10:00:03 Apache Tomcat/7.0.55
    ...
    I would like to have something like this:
    2019-08-10 11:00:03 Apache Tomcat/7.0.55
    2019-07-16 10:00:03 Apache Tomcat/7.0.43
    2018-01-10 09:00:03 Apache Tomcat/7.0.38
    ...
    So in other words -- I would like to remove old, non-unique values and still have approximate time of change.
  • Avinasha
    Member
    • Jan 2018
    • 40

    #2
    I would do that with a script/Userparameters I guess. If the current value is same as previous, don't send it. by doing that you will ideally be removing duplicate values. Another way is increase the frequency to once a week or so(Depending on your change frequency) and check last 500 values. (This isn't the best solution though)

    Comment

    Working...