can snmp_exporter monitor cctv ( NVR)

449 views
Skip to first unread message

Khanh Nguyen Duc

unread,
Oct 5, 2020, 9:02:55 PM10/5/20
to Prometheus Users
Dear friends,
I find any article about monitor cctv on snmp_exporter but nothing. 
it just for PTRG or Zabbix , not anymore for prometheus data source.
Anyone know about this , please share with me ?

Brian Candler

unread,
Oct 6, 2020, 3:23:42 AM10/6/20
to Prometheus Users
I think you're asking the wrong question.

The first question should be: "does my cctv system export any metrics via SNMP which are meaningful to me?"  If it does, and the vendor also supplies valid MIB files, then snmp_exporter and prometheus can collect them.

"Metrics" means values that can be read and stored as float64 numbers.

Khanh Nguyen Duc

unread,
Oct 6, 2020, 4:07:58 AM10/6/20
to Prometheus Users
I See .MIB file in here for my NVR type : http://www.circitor.fr/Mibs/Html/H/HIKVISION-MIB.php

Actual, i also can be get information of NVR
But i have no idea about graphic dashboard as Grafana.



Vào lúc 14:23:42 UTC+7 ngày Thứ Ba, 6 tháng 10, 2020, b.ca...@pobox.com đã viết:

Brian Candler

unread,
Oct 6, 2020, 6:22:07 AM10/6/20
to Prometheus Users
https://grafana.com/grafana/dashboards/13107
That dashboard queries data from InfluxDB.  If you want to use it as-is, then don't use prometheus. Build your SNMP data collection using telegraf + influxdb, following the instructions provided with the dashboard.

You can certainly build the same with snmp_exporter + prometheus.  However, it will be up to you to configure snmp_exporter to scrape the appropriate MIB variables (using the snmp_exporter generator), and you'll have to make your own grafana dashboards which use PromQL queries instead of InfluxQL queries.

That means you'll have to get to grips with prometheus and grafana configuration.
Reply all
Reply to author
Forward
0 new messages