Files
scripts-conlxsyslog03/cs_response_times.sh
conetadm 5718e70f15 init
2024-11-14 21:11:06 +01:00

17 lines
300 B
Bash
Executable File

#!/bin/bash
cd /mnt/syslog/scripts/rrd/
CWD=`pwd`
while [ "1" == "1" ]
do
R1=`tcpping -x 1 -c 10.101.0.230 23 | cut -d" " -f 3`
R2=`tcpping -x 1 -c 10.101.0.230 23 | cut -d" " -f 3`
rrdtool update $CWD/cs1.rrd N:$R1
echo $R1
rrdtool update $CWD/cs2.rrd N:$R2
echo $R2
echo ""
sleep 29
done