mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
sysstat_webhook : add some note regards over-size image
This commit is contained in:
parent
223d245d18
commit
dd2b86a42d
@ -30,8 +30,8 @@ This will get stats from previous day , and the webhook message will be yesterda
|
|||||||
something like this :
|
something like this :
|
||||||
|
|
||||||
![Yesterday date](assets/screenshot.png)
|
![Yesterday date](assets/screenshot.png)
|
||||||
|
* Still, the output image is somehow buggy, this is probably due to conversion from svg to png.
|
||||||
```
|
```shell
|
||||||
text=$(date -d '-1 day' '+%Y-%m-%d')
|
text=$(date -d '-1 day' '+%Y-%m-%d')
|
||||||
d1=$(date -d '-1 day' '+%d')
|
d1=$(date -d '-1 day' '+%d')
|
||||||
file=/var/log/sysstat/sa$d1
|
file=/var/log/sysstat/sa$d1
|
||||||
|
Loading…
Reference in New Issue
Block a user