Match:TimeDiff

From collectd Wiki
Jump to: navigation, search
TimeDiff match
Type: match
Status: supported
First version: 4.6
Copyright: 2008–2009 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Matches

Contents

Description

The TimeDiff match compares the time of values against the time it considers to be “now” and matches those values where the times differ more than a given threshold. It is intended to be used on server instances to filter out values from machines with a wrong time setting. Since the timestamp in RRD files must be ever increasing, inserting only one value with a timestamp far in the future causes big problems. The purpose of this match is to prevent exactly this problem.

Synopsis

LoadPlugin "timediff"
<Chain "PreCache">
  <Rule "check_time">
    <Match "timediff">
      Future  300
      Past   3600
    </Match>
    Target "stop"
  </Rule>
  Target "continue"
</Chain>

Dependencies

  • none

History

The TimeDiff match has been available since version 4.6.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools