Re: Subagentx : how to define the path where MIBS are installed

This is a discussion on Re: Subagentx : how to define the path where MIBS are installed within the SNMP Users forums, part of the Networking and Network Related category; OK, now I understand. But I'm still in trouble with my test. I run my sample subagentX with a ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-13-2006
Arnaud BODENAN
 
Posts: n/a
Default Re: Subagentx : how to define the path where MIBS are installed

OK, now I understand.

But I'm still in trouble with my test. I run my sample subagentX with a
directory where no MIBS exist, and I try the command:

snmpwalk -Oa -c public -v 2c localhost:1400 system

I think I would have an error as system is not known, but I get no error and
snmpwalk displays me the right informations.

Problably, I miss something again.

>From: "Dave Shield" <D.T.Shield@csc.liv.ac.uk>
>To: "Arnaud BODENAN" <arnboden@hotmail.com>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MIBS are installed
>Date: Fri, 13 Oct 2006 09:16:39 +0100
>
>On 13/10/06, Arnaud BODENAN <arnboden@hotmail.com> wrote:
>>I debug with the token "parse-mibs" and I get the following output:
>>
>>registered debug token parse-mibs, 1
>>parse-mibs: Module SNMPv2-SMI not found
>>parse-mibs: Module RFC1155-SMI not found
>>parse-mibs: Module RFC1213-MIB not found
>>parse-mibs: Scanning directory /home/arnboden/testMonitoring/etc
>>parse-mibs: No index
>>parse-mibs: cannot open MIB directory /home/arnboden/testMonitoring/etc

>
>
>So the agent is looking in the correct place (and failing to find any
>MIBs).
>As expected.
>
>
>>Despite these errors, I still do a snmpwalk on the tables defined in my
>>MIB
>>which is not in the directory /home/arnboden/testMonitoring/etc.

>
>Ah - I understand what you're meaning now.
>Remember that the MIB files are only used to translate between numeric
>OIDs and textual names. They are not involved in actually providing
>the relevant management values.
>That is effectively hardcoded into the subagent binary.
>
>Please see the FAQ entry
> "Do I actually need the MIB files?"
>
>If the MIB files are not installed, the agent will continue to run
>quite unaffected.
>(Apart from a few places where it actually refers to MIB objects by
>name, such as defining the access control views). But in general, the
>agent doesn't use MIB files much at all.
>
>The absence of MIB files is more visible with the command-line tools -
>snmpwalk and friends. These can also work without the MIB files being
>present, but everything will be displayed using numeric OIDs.
> You couldn't say
> snmpwalk -v 1 -c public -On localhost system
>
>since snmpwalk wouldn't know what was meant by "system".
>But you *could* say
> snmpwalk -v 1 -c public -On localhost .1.3.6.1.2.1.1
>
>and you'd see basically the same information.
>
>
>
>So returning to your original question:
>>I create a subagentX and I set the Path for the MIBS...
>>it successfully parses the MIB files despite I set a wrong path for the
>>MIB.

>
>In fact the subagent is *not* parsing the MIB files, but it doesn't
>need them to run.
>
>Dave


__________________________________________________ _______________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/g...ave/direct/01/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0