Hi. I have just got Grafana up and running with InfluxDB and Telegraf and collecting some stats on my Synology NAS via SNMP. I now want to add my Brother Laser Printer but am having trouble figureing out how to do this. What I have done so far:
- snmpwalk on printer and found a MIB that shows the model number
- Added the following to my Telegraf conf file:
#Brother Printer
[[inputs.snmp]]
List of agents to poll
agents = [ “192.168.1.180” ]
Polling interval
interval = “60s”
Timeout for each SNMP query.
timeout = “10s”
Number of retries to attempt within timeout.
retries = 3
SNMP version, UAP only supports v1
version = 1
SNMP community string.
community = “public”
The GETBULK max-repetitions parameter
max_repetitions = 10
Measurement name
name = “snmp.bro”
[[inputs.snmp.field]]
is_tag = true
name = “ModelNumber”
oid = “HOST-RESOURCES-MIB::hrDeviceDescr.1”
- Restarted Telegraf and checked my influxDB named homelab.
No measurements are showing up.
Can someone tell me what I am doing wrong?
TIA