Re: net-snmp-config output questions

This is a discussion on Re: net-snmp-config output questions within the SNMP Users forums, part of the Networking and Network Related category; --===============1404588434== Content-Type: multipart/alternative; boundary="0-1915677878-1201903486=:52487" Content-Transfer-Encoding: 8bit --0-1915677878-1201903486=:52487 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2008
Jun Zhang
 
Posts: n/a
Default Re: net-snmp-config output questions

--===============1404588434==
Content-Type: multipart/alternative; boundary="0-1915677878-1201903486=:52487"
Content-Transfer-Encoding: 8bit

--0-1915677878-1201903486=:52487
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Dave,
I would think it is the agent, snmpd, who got the mibs loaded. If I executed
export MIBS=+AnotherMIB
and then start the agent, AnotherMIB should be loaded on top of the default set, but correct me if I'm wrong.

So how to check if AnotherMIB is loaded or not, using either net-snmp-config or some way else?

Jun

Dave Shield <D.T.Shield@liverpool.ac.uk> wrote: On 01/02/2008, Jun Zhang wrote:
> $ net-snmp-config --default-mibs

[snip]

> Q1: Does this output suppose to include user added Mibs?
> (through export MIBS=+AnotherMIB)


No.
net-snmp-config --default-mibs
will tell you which MIBs will be loaded "by default",
i.e. if you don't specify anything extra.


> If not, what ways can I use to test whether AnotherMIB is
> loaded or not?


Loaded by what?


> Q2: Why each MIB has "Command not found" at the end?


I don't know.
Line 91 of this script is simply

echo :THIS-MIB:THAT-MIB:THE-OTHER-MIB:....

It should just print out that list.
I don't know why it's trying to execute them as commands.

(Unless it's some wierd Windows-style incompatibility?)

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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




---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
--0-1915677878-1201903486=:52487
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Dave,<br>I would think it is the agent, snmpd, who got the mibs loaded. If I executed<br>export MIBS=+AnotherMIB<br>and then start the agent, AnotherMIB should be loaded on top of the default set, but correct me if I'm wrong. <br><br>So how to check if AnotherMIB is loaded or not, using either net-snmp-config or some way else?<br><br>Jun<br><br><b><i>Dave Shield &lt;D.T.Shield@liverpool.ac.uk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 01/02/2008, Jun Zhang <nugulus@yahoo.com> wrote:<br>&gt; $ net-snmp-config --default-mibs<br> [snip]<br><br>&gt; Q1: Does this output suppose to include user added Mibs?<br>&gt; (through export MIBS=+AnotherMIB)<br><br>No.<br> net-snmp-config --default-mibs<br>will tell you which MIBs will be loaded "by default",<br>i.e. if you don't specify anything extra.<br><br><br>&gt; If not, what ways can I use to test whether AnotherMIB is<br>&gt;
loaded or not?<br><br>Loaded by what?<br><br><br>&gt; Q2: Why each MIB has "Command not found" at the end?<br><br>I don't know.<br>Line 91 of this script is simply<br><br> echo :THIS-MIB:THAT-MIB:THE-OTHER-MIB:....<br><br>It should just print out that list.<br>I don't know why it's trying to execute them as commands.<br><br>(Unless it's some wierd Windows-style incompatibility?)<br><br>Dave<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/<br>______________________________________________ _<br>Net-snmp-users mailing list<br>Net-snmp-users@lists.sourceforge.net<br>Please see the following page to unsubscribe or change other options:<br>https://lists.sourceforge.net/lists/listinfo/net-snmp-users<br><br></nugulus@yahoo.com></blockquote><br><p>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ "> Try it now.</a>
--0-1915677878-1201903486=:52487--


--===============1404588434==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1404588434==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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

--===============1404588434==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 07:05 AM.


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