sysstat_webhook : add some context

This commit is contained in:
minoplhy 2023-10-31 20:15:50 +07:00
parent 1de2ccafd9
commit 08c7604a27
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -1,6 +1,18 @@
# Sysstat_Webhook
currrently, WIP. But yeah, Discord sucks! They don't rendering SVG.
currently, WIP. But yeah, Discord sucks! They don't rendering SVG.
```
sudo apt install -y librsvg2-bin
```
```
w) webhook_url=${OPTARG};; # Discord Webhook URL
c) CPU="True";; # CPU
r) RAM="True";; # RAM
d) DISK_IO="True";; # DISK I/O
n) NETWORK="True";; # Network
f) datafile=${OPTARG};; # where your data belongs!
```
```
curl -sL https://github.com/minoplhy/scriptbox/raw/main/sysstat_webhook/stat_discord.sh | bash -s -- -w WEBHOOK_URL ARGUMENTS GOES HERE!
```