# Monitoring cisco switches with Telegraf

**URL:** https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517
**Category:** Systems
**Created:** [September 28, 2017, 10:58am UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517 "2017-09-28T10:58:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![roberto2020](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@roberto2020](https://community.influxdata.com/u/roberto2020)
#### Post date: [September 28, 2017, 10:58am UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517/1 "2017-09-28T10:58:33Z")

</div>

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

[[inputs.snmp]]  
agents = [“xxx.xxx.xxx.xxx:161”]  
version = 2  
name = "snmp"  
community = “xxxxxxx”

# 

# 

[[inputs.snmp.field]]  
name = "hostname"  
oid = "1.3.6.1.4.1.9.2.1.3"  
is\_tag = true

# 

# 

[[inputs.snmp.table]]  
name = "snmp"  
inherit\_tags = [“hostname”]  
oid = “1.3.6.1.2.1.31.1.1”

# 

# 

[[inputs.snmp.table.field]]  
name = "ifname"  
oid = "1.3.6.1.2.1.31.1.1.1.1"  
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

Thanks

Rob

---

<div class="post-metadata">

### Author: ![daniel](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/daniel/32/142_2.png) [@daniel](https://community.influxdata.com/u/daniel)
#### Post date: [September 28, 2017, 6:45pm UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517/2 "2017-09-28T18:45:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![roberto2020](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@roberto2020](https://community.influxdata.com/u/roberto2020)
#### Post date: [September 29, 2017, 6:38am UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517/3 "2017-09-29T06:38:15Z")

</div>

> [@daniel](#):
>
> install net-snmp-utils

Many thanks Daniel!

I will look into this.

Thanks

Rob

---

<div class="post-metadata">

### Author: ![roberto2020](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@roberto2020](https://community.influxdata.com/u/roberto2020)
#### Post date: [September 29, 2017, 8:47am UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517/4 "2017-09-29T08:47:18Z")

</div>

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

Rob

---

<div class="post-metadata">

### Author: ![roberto2020](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@roberto2020](https://community.influxdata.com/u/roberto2020)
#### Post date: [September 29, 2017, 10:20am UTC](https://community.influxdata.com/t/monitoring-cisco-switches-with-telegraf/2517/5 "2017-09-29T10:20:42Z")

</div>

I figured it out I had not started telegraf!
