scriptbox/sysstat_webhook
2023-11-02 13:42:08 +07:00
..
README.md sysstat_webhook : add some context 2023-10-31 20:15:50 +07:00
stat_discord.sh sysstat_webhook : treat datafile according to /usr/bin/sadf 2023-11-02 13:42:08 +07:00

Sysstat_Webhook

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!