# Snmp input plugin doesn't show any activity when configuring snmpv3

**URL:** https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886
**Category:** Logstash
**Created:** [November 30, 2018, 10:28am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886 "2018-11-30T10:28:22Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)
#### Post date: [November 30, 2018, 10:28am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/1 "2018-11-30T10:28:22Z")

</div>

Hi all,

I'm trying to get the snmp input plugin work using SNMPv3 and, if the plugin doesn't show any error on start up, It doesn't retreive any information either.

I'm using logstash 6.5 with the following configuration:

snmp {  
walk =\> ["1.3.6.1.4.1.2021.9.1"]  
auth\_pass =\> "the\_good\_pass"  
auth\_protocol =\> "sha"  
priv\_pass =\> "the\_good\_passwd"  
priv\_protocol =\> "aes"  
security\_name =\> "the\_good\_sec\_name"  
security\_level =\> "authPriv"  
hosts =\> [{host =\> "udp:my\_ip\_address/161" community =\> "my\_community" version =\> "3"}]  
type =\> "snmp"  
id =\> "snmp"  
}

tried to put logstash on debug in order to see what's going on but the only information regarding this plugin is :

[2018-11-30T12:16:19,409][INFO][logstash.inputs.snmp] using plugin provided MIB path /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-1.0.0/lib/mibs/logstash  
Nov 30 12:16:19 OPCOLLOG40 logstash: [2018-11-30T12:16:19,508][INFO][logstash.inputs.snmp] using plugin provided MIB path /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-1.0.0/lib/mibs/ietf

when using snmpwalk :  
[AAA@YYY conf.d]# snmpwalk -v3 -c my\_community -l authPriv -u the\_good\_name -a sha -A "the\_good\_pass" -x aes -X "pass" my\_server:161 1.3.6.1.4.1.2021.9.1  
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1  
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2  
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3  
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4  
UCD-SNMP-MIB::dskIndex.5 = INTEGER: 5  
UCD-SNMP-MIB::dskIndex.6 = INTEGER: 6  
UCD-SNMP-MIB::dskIndex.8 = INTEGER: 8  
UCD-SNMP-MIB::dskPath.1 = STRING: /  
UCD-SNMP-MIB::dskPath.2 = STRING: /usr  
UCD-SNMP-MIB::dskPath.3 = STRING: /var  
UCD-SNMP-MIB::dskPath.4 = STRING: /home  
UCD-SNMP-MIB::dskPath.5 = STRING: /mysql  
UCD-SNMP-MIB::dskPath.6 = STRING: /storage  
UCD-SNMP-MIB::dskPath.8 = STRING: /backup  
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/mapper/rootvg-root\_lv  
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/mapper/rootvg-usr\_lv  
UCD-SNMP-MIB::dskDevice.3 = STRING: /dev/mapper/rootvg-var\_lv  
UCD-SNMP-MIB::dskDevice.4 = STRING: /dev/mapper/rootvg-home\_lv  
UCD-SNMP-MIB::dskDevice.5 = STRING: /dev/mapper/datavg-mysql\_lv  
UCD-SNMP-MIB::dskDevice.6 = STRING: /dev/mapper/datavg-storage\_lv  
UCD-SNMP-MIB::dskDevice.8 = STRING: /dev/mapper/datavg-backup\_lv  
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1  
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1  
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: -1  
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: -1  
UCD-SNMP-MIB::dskMinimum.5 = INTEGER: -1  
UCD-SNMP-MIB::dskMinimum.6 = INTEGER: -1

Could you help me debug my configuration ?

Br,

---

<div class="post-metadata">

### Author: ![Eniqmatic](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Eniqmatic](https://discuss.elastic.co/u/Eniqmatic)
#### Post date: [November 30, 2018, 10:42am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/2 "2018-11-30T10:42:58Z")

</div>

What does your output look like?

---

<div class="post-metadata">

### Author: ![Eniqmatic](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Eniqmatic](https://discuss.elastic.co/u/Eniqmatic)
#### Post date: [November 30, 2018, 10:46am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/3 "2018-11-30T10:46:13Z")

</div>

Also I notice in the input your specifying a security\_name parameter, but in your snmpwalk command it has a different value?

---

<div class="post-metadata">

### Author: ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)
#### Post date: [November 30, 2018, 10:54am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/4 "2018-11-30T10:54:41Z")

</div>

Nothing : no errors, no logs, no data.

When looking at the pipeline statistics, I can see that there is no data in.

So for me, it just don’t start correctly.

I’m on RHEL7.1 using oracle java 1.8.

![](https://us1.discourse-cdn.com/elastic/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpg)

---

<div class="post-metadata">

### Author: ![Eniqmatic](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Eniqmatic](https://discuss.elastic.co/u/Eniqmatic)
#### Post date: [November 30, 2018, 10:57am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/5 "2018-11-30T10:57:05Z")

</div>

Your output config I meant 🙂

---

<div class="post-metadata">

### Author: ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)
#### Post date: [November 30, 2018, 11:15am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/6 "2018-11-30T11:15:15Z")

</div>

No, I’ved double check all the parameters.

There are ok.

---

<div class="post-metadata">

### Author: ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)
#### Post date: [November 30, 2018, 11:15am UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/7 "2018-11-30T11:15:58Z")

</div>

I have set the output to stdout { codec =\> rubydebug }

---

<div class="post-metadata">

### Author: ![Eniqmatic](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Eniqmatic](https://discuss.elastic.co/u/Eniqmatic)
#### Post date: [November 30, 2018, 1:34pm UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/8 "2018-11-30T13:34:38Z")

</div>

Are you running logstash as a service?

---

<div class="post-metadata">

### Author: ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)
#### Post date: [November 30, 2018, 1:53pm UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/9 "2018-11-30T13:53:40Z")

</div>

Yes I am.

---

<div class="post-metadata">

### Author: ![Eniqmatic](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Eniqmatic](https://discuss.elastic.co/u/Eniqmatic)
#### Post date: [November 30, 2018, 3:25pm UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/10 "2018-11-30T15:25:58Z")

</div>

If you do "journalctl --unit=logstash -f" do you see anything being output to stdout?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 28, 2018, 3:26pm UTC](https://discuss.elastic.co/t/snmp-input-plugin-doesnt-show-any-activity-when-configuring-snmpv3/158886/11 "2018-12-28T15:26:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
