Reject timestamps that are unreasonably large.

Set an arbitrary threshold (some time in 2020) beyond which we don't
accept data points.  This is to help catch buggy collectors that
produce timestamps too far out in the future.  It would also have
helped in a recent issue where, in a virtualized environment, the
guest's clock jumped forward 40 years momentarily, and caused some
collectors to produce impossibly high timestamps that were stored
by tcollector, and caused tcollector to discard all subsequent data.
Add a collector to serve as a local UDP bridge.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Add a PostgreSQL collector.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Add stats on methods used for TCP retransmits.
Add a config file for the UDP bridge collector.

By default the collector is disabled.
Remove unnecessary replacement of forward slash "/" to "_".

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Postgresql collector reports DBs as tags.
Fix of wrong variable usage.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Merge pull request #91 from vasiliyk/postgresql_tags

Postgresql collector reports DBs as tags.
Report data in bytes instead of 1k blocks.
startstop: Use the current directory as default TCOLLECTOR_PATH

With the current directory as default TCOLLECTOR_PATH the startstop
script can be called in the tcollector root without setting
TCOLLETOR_PATH.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
use directory of the startstop script as default TCOLLECTOR_PATH

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
startstop: replace $BASH_SOURCE with a sh compatible variant

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
File system types to ignore as list.
Change of comments formating for /proc/mounts .
Copyright entry change to 2010-2013 format.
Bug fix: OSError exception if mount point is no longer valid.
Add per-cpu stats

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Fixing of sendq queue fast growing in case of TSD erratic operation.
Send_data() data preparation optimization.
2 constants introduced MAX_SENDQ_SIZE and MAX_READQ_SIZE.
dfstat: Ignore cgroup and fuse pseudo-filesystems.
Merge https://github.com/OpenTSDB/tcollector into jolokia
Migrate to using pyjolokia for jolokia collector

Add pyjolokia python module
Minor modification to url in config file
Limit code to 80 chars wide
Pull in latest tcollector master