scripts/rrdcached
author Tomas Zeman <tzeman@volny.cz>
Mon, 03 Sep 2018 13:32:32 +0200
changeset 35 d126a511b32a
permissions -rwxr-xr-x
rrdcached statistics (as zbx trapper)

#!/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/://