LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2020, 12:16 PM   #1
jose_spain
LQ Newbie
 
Registered: Apr 2018
Posts: 10

Rep: Reputation: Disabled
net-snmp (snmpd) fails to load my own MIB.


I need snmpd to load my own MIB in order to respond to snmpget and snmpwalk.

I have tried to execute the steps described in "TUT: Writing a Subagent" (http://net-snmp.sourceforge.net/wiki...ing_a_Subagent)

However, it doesn't work for me and when I run

snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0

I get the error:

MIB search path: /home/my_name/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp

Cannot find module (NET-SNMP-TUTORIAL-MIB): At line 1 in (none)

NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0: Unknown Object Identifier


In order not to extend myself here and that this query is not extensive and heavy to read, I attach a document (bug_2020-02-12_details.pdf) with the detail of all the steps that I have followed and the result obtained .

What am I doing wrong or have I missed? Is there an easier way to get this (snmpd load my own MIB)?
Attached Files
File Type: pdf bug_2020-02-12_details.pdf (68.8 KB, 40 views)
 
  


Reply

Tags
mib, snmp, snmpd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Custom SNMP MIB to Default DELL OMSA SNMP prabakar4all Linux - Server 0 07-29-2011 11:44 AM
[SOLVED] snmp: where are the MIB files for OIDs reported through snmpd? eantoranz Linux - Server 1 03-22-2011 10:15 AM
SNMP Extend MIB on Ubuntu snmpd 5.4.1 lpse2000 Linux - Software 1 10-01-2009 04:55 PM
net snmp and host resource mib kumaran5 Linux - Networking 0 05-03-2004 01:33 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration