Monitoring cisco switches with Telegraf

Hi all!

I am very new to influxdb and am trying to setup telegraf to poll my network devices via snmp. I currently am failing when trying to test and receive this error:

Error in plugin [inputs.snmp]: initializing table snmp: getting table columns: exec: “snmptable”: executable file not found in $PATH

SNMP inputs config is below:

# Retrieves SNMP values from remote agents

agents = [ “” ]
version = 2
name = "snmp"
community = “xxxxxxx”

name = "hostname"
oid = ""
is_tag = true

name = "snmp"
inherit_tags = [ “hostname” ]
oid = “”

name = "ifname"
oid = ""
is_tag = true

I am running the influxdb and telegraf on RHEL

Any pointers in the right direction would be great! I am just starting out so im sure its something configurational



You need to make sure that the snmptable executable is in the telegraf users path. Usually that just requires installing the right package, I believe it is yum install net-snmp-utils on RHEL.

Many thanks Daniel!

I will look into this.



Daniel that fixed the issue!

however I don’t see the new measurement in influxdb when I do show measurement. I would think to see snmp? Do I need to restart influxdb?

best regards


I figured it out I had not started telegraf!