From 36ef6b4fe2c26f3c03340a31b64e4d329c482adb Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Sat, 7 May 2011 20:24:11 -0500 Subject: still starting out --- scripts/do-newntpstat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 scripts/do-newntpstat (limited to 'scripts/do-newntpstat') diff --git a/scripts/do-newntpstat b/scripts/do-newntpstat new file mode 100755 index 0000000..8f4e1d7 --- /dev/null +++ b/scripts/do-newntpstat @@ -0,0 +1,21 @@ +#! /bin/sh + +case "$1" in + "") echo "Missing system name."; exit 1 +esac + +RRD_BIN=/usr/local/bin + +# 26 hours and 8 days data bins + +${RRD_BIN}/rrdtool create $1.rrd \ + DS:offset:GAUGE:1200:U:U \ + DS:sjit:GAUGE:1200:U:U \ + DS:cjit:GAUGE:1200:U:U \ + DS:wander:GAUGE:1200:U:U \ + DS:freq:GAUGE:1200:U:U \ + DS:disp:GAUGE:1200:U:U \ + RRA:LAST:0.5:1:312 \ + RRA:LAST:0.5:12:2304 + +#end -- cgit v1.2.3-59-ga6da