bundles/vnstat: add graph for "yesterday"
This commit is contained in:
parent
fd99334a66
commit
6ad28bb375
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
<body style="background-color: #333333; color: #FFFFFF; text-align: center;">
|
||||
<h1>${node.name} - ${interface}</h1>
|
||||
<p><img src="/top10.png" alt="TOP 10 Days"></p>
|
||||
<p><img src="/yesterday.png" alt="Statistics for yesterday"></p>
|
||||
<p><img src="/daily.png" alt="Daily Statistics"></p>
|
||||
<p><img src="/monthly.png" alt="monthly Statistics"></p>
|
||||
<p><img src="/yearly.png" alt=""></p>
|
||||
|
|
|
@ -35,6 +35,7 @@ def nginx_dashboard(metadata):
|
|||
|
||||
return {
|
||||
'cron': {
|
||||
'vnstat_yesterday_graph': '0 0 * * * root /usr/bin/vnstati --output "/var/www/vnstat/yesterday.png" --hours > /dev/null 2>/dev/null',
|
||||
'vnstat_generate_web_dashboard': '*/10 * * * * root /usr/local/bin/generate-vnstati /var/www/vnstat > /dev/null 2>/dev/null',
|
||||
},
|
||||
'nginx': {
|
||||
|
|
Loading…
Reference in a new issue