done
}
jrbtrbk() {
- jr -u btrbk-run -u btrbk -u switch-mail-host -u btrbk-spread "$@"
+ jr -u btrbk-run -u btrbk -u switch-mail-host "$@"
}
# internal function
## this takes a while, we only want to do it on 1st run
# if [[ -s /tmp/b/$host.log ]]; then continue; fi
- # ssh $host journalctl -u btrbk-run -u btrbk -u switch-mail-host -u btrbk-spread >/tmp/b/$host.log
+ # ssh $host journalctl -u btrbk-run -u btrbk -u switch-mail-host >/tmp/b/$host.log
done
gr '\bsnapshot success' /var/log/btrbk/*.log >/tmp/b/local.log
cd /tmp/b
# jr() { journalctl "$@" | jfilter | less ; }
# jrf() { journalctl -n 200 -f "$@" | jfilter; }
-jr() { journalctl "$@" ; }
-jrf() { journalctl -n 200 -f "$@" ; }
-
-
-ccomp journalctl jtail jr jrf
## old version for model01. i need to get that firmware working again.
# kff() { # keyboardio firmware flash. you must hold down the tilde key
amoffice "$@"
}
amfsf() {
- sedi -r '/alertmanager.url/s/@office//' ~/.config/amtool/config.yml
+ sedi -r '/alertmanager.url/s/@prom.office/@prom/' ~/.config/amtool/config.yml
amtool "$@"
}
amoffice() {
- sedi -r '/alertmanager.url/s/@fsf/@office.fsf/' ~/.config/amtool/config.yml
+ sedi -r '/alertmanager.url/s/@prom.fsf/@prom.office.fsf/' ~/.config/amtool/config.yml
amtool "$@"
}
amls() {