Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "no such variable name in this MIB" error while running "snmpset" #370

Open
YorkZ opened this issue Nov 26, 2019 · 3 comments
Open

Comments

@YorkZ
Copy link

YorkZ commented Nov 26, 2019

Steps to reproduce the problem

  1. With lldpd version: Git commit 6936221, Net SNMP version: 5.7.2~dfsg-8.1ubuntu3.3
  2. OS: Ubuntu 14.04.6, Net SNMP Version: 5.7.2~dfsg-8.1ubuntu3.3
  3. With the following lines in /etc/snmp/snmpd.conf:
master agentx
rocommunity public
rwcommunity private
  1. As expected, running:
snmpget -c public -v 1 localhost LLDP-MIB::lldpMessageTxInterval.0

gives:

LLDP-MIB::lldpMessageTxInterval.0 = INTEGER: 10 seconds
  1. Running:
snmpset -c private -v 1 localhost LLDP-MIB::lldpMessageTxInterval.0 i 5

gives the error:

Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: LLDP-MIB::lldpMessageTxInterval.0
@YorkZ YorkZ changed the title Getting "no such variable name in this MIB" error in "snmpset" Getting "no such variable name in this MIB" error while running "snmpset" Nov 26, 2019
@vincentbernat
Copy link
Member

lldpd does not support changing configuration with snmpset.

@YorkZ
Copy link
Author

YorkZ commented Nov 26, 2019

Thank you very much @vincentbernat for the prompt reply, could you suggest some workaround?

@vincentbernat
Copy link
Member

No workaround. Someone has to implement the feature if needed. You can change the value using "lldpcli" locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants