Don't log any output while running tests
Introduce mocks and test for udp_bridge.py collector
udp_bridge.py: If we get a line starting with "put ", remove that part

This allows us to use a standard OpenTSDB client to send data to the UDP bridge,
instead of having to make special forks for each client we want to use.
udp_bridge.py: Support Python 2.4
Don't attempt to send data if we're just about to exit.

This causes a spurious "AttributeError: 'NoneType' object has no
attribute 'sendall'" in send_data().
Adding reconnect option to tcollector.

Adding --reconnect-interval option (in seconds) that will rebind the TCP connection to the TSD server.
It's leveraging the verify_conn() function to trigger a TCP reconnection.
This is particularly useful if using a round-robin DNS or any kind of VIP.

Defaults to 0 (no reconnection)

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
NUMA stat files have to be opened/closed each time to get fresh stats

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
rpm, debian: small tweaks and unification of init wrappers

Added parameter for --reconnect-interval and clean out .pyc's on startup in both .rpm and .deb wrappers.
Don't strip hostnames and add some startup runlevels to the .rpm wrapper.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Zabbix MySQL replication bridge for item metrics.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Merge pull request #167 from mwolson/normalize-udp-input

Normalize udp input
Merge branch 'master' of github.com:OpenTSDB/tcollector

Conflicts:
	collectors/0/zabbix_bridge.py