Common Module - Telegraf ADd Scripts option

This commit is contained in:
Mike Reeves
2018-11-20 10:35:10 -05:00
parent 523cd3313b
commit 440fc3d757
3 changed files with 29 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Get the data
DROP=$(tac /opt/so/log/stenographer/stenographer.log | grep -m1 drop | awk '{print $14}' | awk -F "=" '{print $2}')
echo "stenodrop drop=$DROP"