# SNMP monitoring using Telegraf

**URL:** <https://community.wowza.com/t/snmp-monitoring-using-telegraf/55363>\
**Category:** Wowza Streaming Engine\
**Created:** [June 9, 2020, 1:30pm UTC](https://community.wowza.com/t/snmp-monitoring-using-telegraf/55363 "2020-06-09T13:30:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruben\_Gaspar](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@Ruben\_Gaspar](https://community.wowza.com/u/Ruben_Gaspar)\
**Post date:** [June 9, 2020, 1:30pm UTC](https://community.wowza.com/t/snmp-monitoring-using-telegraf/55363/1 "2020-06-09T13:30:10Z")

</div>

hi,

I wonder if someone has tried to use telegraf [1] to monitor Wowza. I have enable SNMP [2] but I dont manage to get any data flowing to my instance of influxdb. Here below some of the runs I have done [3].

The Wowza MIB file is placed at

# pwd

/usr/share/snmp/mibs

Any orientation is welcome!

Thank you,

Ruben

[1] [https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp)

[2] [https://www.wowza.com/docs/how-to-use-snmp-in-wowza-streaming-engine](https://www.wowza.com/docs/how-to-use-snmp-in-wowza-streaming-engine)

[3]

```auto
[[inputs.snmp]]
  agents = ["IP:1611"]
  version = 2
  community = "public"
  interval = "60s"
  timeout = "10s"
  retries = 3

  [[inputs.snmp.field]]
    oid = "WOWZA-STREAMING-ENGINE-MIB:streamCountGetPublishFrameCountData"
    name = "counter1"

  [[inputs.snmp.field]]
    oid = "WOWZA-STREAMING-ENGINE-MIB:vhostPerformGetMessagesOutBytes"
    name = "counter2"

```

```auto
# telegraf --config /etc/telegraf/telegraf.conf --input-filter snmp --debug
2020-06-09T07:41:28Z I! Starting Telegraf 1.14.3
2020-06-09T07:41:28Z I! Loaded inputs: snmp
2020-06-09T07:41:28Z I! Loaded aggregators:
2020-06-09T07:41:28Z I! Loaded processors:
2020-06-09T07:41:28Z I! Loaded outputs: influxdb
2020-06-09T07:41:28Z I! Tags enabled: host=IP hostgroup=vidyo/{{ vidyo_type_server }}/{{ vidyo_cluster }}
2020-06-09T07:41:28Z I! [agent] Config: Interval:1m0s, Quiet:false, Hostname:"IP", Flush Interval:20s
2020-06-09T07:41:28Z D! [agent] Initializing plugins
2020-06-09T07:41:28Z D! [agent] Connecting outputs
2020-06-09T07:41:28Z D! [agent] Attempting connection to [outputs.influxdb]
2020-06-09T07:41:28Z D! [agent] Successfully connected to outputs.influxdb
2020-06-09T07:41:28Z D! [agent] Starting service inputs
2020-06-09T07:42:00Z D! [inputs.snmp] executing "snmptranslate" "-Td" "-Ob" "WOWZA-STREAMING-ENGINE-MIB:streamCountGetPublishFrameCountData"
2020-06-09T07:42:00Z D! [inputs.snmp] executing "snmptranslate" "-Td" "-Ob" "WOWZA-STREAMING-ENGINE-MIB:vhostPerformGetMessagesOutBytes"
2020-06-09T07:42:02Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2020-06-09T07:42:22Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
^C2020-06-09T07:42:37Z D! [agent] Stopping service inputs
2020-06-09T07:42:37Z D! [agent] Input channel closed
2020-06-09T07:42:37Z I! [agent] Hang on, flushing any cached metrics before shutdown
2020-06-09T07:42:37Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2020-06-09T07:42:37Z D! [agent] Closing outputs
2020-06-09T07:42:37Z D! [agent] Stopped Successfully

```

```auto
[[inputs.snmp]]
  agents = ["1IP:1611"]
  version = 2
  community = "public"
  interval = "60s"
  timeout = "10s"
  retries = 3

  [[inputs.snmp.field]]
    name = "hostname"
    oid = "RFC1213-MIB::sysName.0"
    is_tag = true

  [[inputs.snmp.table]]
    oid = "WOWZA-STREAMING-ENGINE-MIB::serverGroupTable"
    name = "server"
    inherit_tags = ["hostname"]

```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 9, 2020, 3:43pm UTC](https://community.wowza.com/t/snmp-monitoring-using-telegraf/55363/2 "2020-06-09T15:43:37Z")

</div>

I’m not familiar with that tool @Ruben Gaspar, but you may want to try and ask in our developer slack channel. You can join here:

[https://www.wowza.com/slack](https://www.wowza.com/slack)
