monitorama / hackathon

Hackathon-related code and documentation
16 stars 0 forks source link

Improve riemann-redis tool #60

Closed inkel closed 11 years ago

inkel commented 11 years ago

Current riemann-redis tool only accepts host, port and (optional) password to connect to a Redis server. However it's better if it would additionally would accept an URL in case the user want to connect using via TCP or via socket. Auth is also possible to be specified from there.

Also it currently issues an INFO and sends all the data converted to float by using #to_f. While this conversion is possible for most of the values returned by INFO, some values are actually strings, which will be converted to 0 in that case, most notably aof_last_bgrewrite_status and rdb_last_bgsave_status, which reports ok or error.

Last but not least, Redis 2.6+ allows to query just for a section of the metrics, so it would be nice if each metric could be tagged properly depending on its section:

If anybody wants to join me, feel free to leave a comment, criticism or suggestion.

inkel commented 11 years ago

See aphyr/riemann-tools#29

obfuscurity commented 11 years ago

:zap: