# HG changeset patch # User Tomas Zeman # Date 1535974352 -7200 # Node ID d126a511b32a310ca42126f4c54883623d64ef1d # Parent b685225d49664e30c5e7919ae792835c03b1ef6f rrdcached statistics (as zbx trapper) diff -r b685225d4966 -r d126a511b32a scripts/rrdcached --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/rrdcached Mon Sep 03 13:32:32 2018 +0200 @@ -0,0 +1,6 @@ +#!/bin/sh + +RRDCACHED_HOST=localhost +RRDCACHED_PORT=6784 + +echo stats | nc -N $RRDCACHED_HOST $RRDCACHED_PORT | tail -n +2 | sed -e 's/^/- rrdcached./' -e s/://