Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CIP-Admins
cip-foxtemp
Commits
e2bb52df
Commit
e2bb52df
authored
May 07, 2022
by
Timur Perst
Browse files
new URL because of new grafana-image-renderer plugin
parent
f783ebaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
cip-grafana-tempgraph-extract
View file @
e2bb52df
...
...
@@ -2,12 +2,10 @@
set
-eu
CURDATE
=
$(
date
+%s
)
OUTDIR
=
/var/www/temperature
url
()
{
olddate
=
$(
date
--date
=
"
$1
"
+%s
)
printf
"http://localhost:3621/render/dashboard-solo/db/public-temperature?orgId=1&from=%d000&to=%d000&panelId=1&width=1000&height=500&theme=light"
"
${
olddate
}
"
"
${
CURDATE
}
"
printf
"http://localhost:3621/render/d-solo/000000006/public-temperature?orgId=1&from=now-%s&to=now&panelId=1&width=1000&height=500&tz=Europe%%2FBerlin"
"
${
1
}
"
}
fetch
()
{
...
...
@@ -16,7 +14,7 @@ fetch() {
mv
$t
"
${
OUTDIR
}
/
${
2
}
.png"
}
fetch
"24
hours ago
"
day
fetch
"7
days ago"
week
fetch
"
30 days ago"
month
fetch
"
360 days ago
"
year
fetch
"24
h
"
day
fetch
"7
d"
week
fetch
"
1M"
month
fetch
"
1y
"
year
debian/changelog
View file @
e2bb52df
cip-foxtemp (18) unstable; urgency=medium
* New URL because of new grafana-image-renderer plugin
-- Timur Perst <sy51goqy-adm@cip.cs.fau.de> Sat, 07 May 2022 16:45:27 +0200
cip-foxtemp (17) unstable; urgency=medium
* Fix compilation on Debian bullseye
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment