Comments (7)
Hey @jckefan, @IgorKha
I am using the following Dockerfile
which automatically downloads proper version of snmp_exporter
based on provided arguments:
FROM alpine:latest
ARG VERSION=0.20.0
ARG ARCH=arm7
ARG OS=linux
RUN apk add --no-cache curl; \
cd bin; \
curl --fail --location --output snmp_exporter.tar.gz --silent --show-error "https://github.com/prometheus/snmp_exporter/releases/download/v${VERSION}/snmp_exporter-${VERSION}.${OS}-${ARCH}.tar.gz"; \
tar -xzf snmp_exporter.tar.gz; \
mv "snmp_exporter-${VERSION}.${OS}-${ARCH}/snmp_exporter" snmp_exporter; \
chmod +x /bin/snmp_exporter; \
rm -rf "snmp_exporter-${VERSION}.${OS}-${ARCH}"; \
rm snmp_exporter.tar.gz;
COPY snmp.yml /etc/snmp_exporter/snmp.yml
EXPOSE 9116
ENTRYPOINT [ "/bin/snmp_exporter" ]
CMD [ "--config.file=/etc/snmp_exporter/snmp.yml" ]
from grafana-mikrotik.
Thanks for the tip @emilento
Unfortunately, at the moment $__rate_interval
is currently broken when using Grafana + Prometheus ARM binaries. So you end up getting lots of "bad_data" error in the graphs.
from grafana-mikrotik.
I do not have the issue with the $__rate_interval
when I run Grafana-Mikrotik
on the RPi4 B (Ubuntu 20.04.4 LTS). Could you try again by using the latest images (Grafana + Prometheus) ?
from grafana-mikrotik.
I do not have the issue with the
$__rate_interval
when I runGrafana-Mikrotik
on the RPi4 B (Ubuntu 20.04.4 LTS). Could you try again by using the latest images (Grafana + Prometheus) ?
Are you using 32-bit or 64-bit binaries?
from grafana-mikrotik.
I do not have the issue with the
$__rate_interval
when I runGrafana-Mikrotik
on the RPi4 B (Ubuntu 20.04.4 LTS). Could you try again by using the latest images (Grafana + Prometheus) ?Are you using 32-bit or 64-bit binaries?
This One.
from grafana-mikrotik.
I do not have the issue with the
$__rate_interval
when I runGrafana-Mikrotik
on the RPi4 B (Ubuntu 20.04.4 LTS). Could you try again by using the latest images (Grafana + Prometheus) ?Are you using 32-bit or 64-bit binaries?
This One.
Sorry for not being clear enough in the initial query. I was asking for the Grafana and Prometheus binaries types. AFAIK, the issue only affects ARMv7 binaries or RPi 3B models or whatever. The issue is even when I'm running the latest version of Grafana, Prometheus and SNMP_Exporter, I always get 'bad_data parse error' when using $__rate_interval
variable.
P.S.: This issue isn't exclusive to IgorKha's Mikrotik dashboard, it also affects all other dashboard that utilize this variable.
from grafana-mikrotik.
Grafana and Prometheus run with the docker container, both images OS which I used are linux/arm64/v8,.
from grafana-mikrotik.
Related Issues (20)
- Wrong setting on "Min" and "Max" reading of interfaces upload bandwidth
- snmpv3 authentication HOT 1
- How to change routeros port, username and password HOT 1
- Error Docker Compose HOT 2
- when start dashboard got error HOT 3
- PPP Interface Not Disaplaying TX/RX Sum HOT 1
- generator.yml HOT 1
- error getting credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` HOT 2
- which Prometheus Exporter used? HOT 1
- how to add another mikrotik device HOT 1
- add multiple devices HOT 1
- The instance field in the dashboard HOT 3
- Error reading Prometheus: Post "http://mk_prometheus:9090/api/v1/query": dial tcp: lookup mk_prometheus: Try again HOT 3
- Multiple equipment HOT 4
- CCR2216 No System Data SHowing
- RouterSO v7 not showing System Info HOT 1
- mk_prometheus container in Starting status HOT 1
- dial tcp: lookup mk_snmp_exporter on 127.0.0.11:53: server misbehaving HOT 4
- Base docker image broken HOT 3
- SNMP community and version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-mikrotik.