Here is the new update. I manually deleted all the extra MIB files under 
/usr/local/share/snmp/mibs directory.  Now starting agent with -Dparse-mibs 
gave me exactly same MIB modules loaded as the other machine. But that didn't 
solve the problem, i.e., I still couldn't receive any link traps. I examined 
the two servers /usr/local/ directory, they are the same, i.e. with the same 
net-snmp binary files and library files.Now I am completely lost here on what 
could be the issue. 
ThanksXuan




From: b...@live.com
To: d.t.shi...@liverpool.ac.uk
CC: net-snmp-users@lists.sourceforge.net
Subject: RE: Strange behavior on linkUpDownNotifications‏
Date: Thu, 8 Apr 2010 11:48:35 -0400








After compared the modules loaded on the two machines one module by one module, 
I have the following finding:
The machine with link traps working is loaded with less MIB modules.
The machine with link traps not working is loaded with the following additional 
MIB 
modules:SMUX-MIBAGENTX-MIBSNMP-PROXY-MIBRMON-MIBSNMPv2-CONFDISMAN-SCRIPT-MIBNET-SNMP-TCSNMP-USM-AES-MIBIF-INVERTED-STACK-MIBSNMP-USM-DH-OBJECTS-MIBHCNUM-TC
etc
Is there a way to specify exactly which MIB modules to be loaded when starting 
the agent? And how to do that? I just wonder if that will solve the puzzle.
ThanksXuan

From: b...@live.com
To: d.t.shi...@liverpool.ac.uk
CC: net-snmp-users@lists.sourceforge.net
Subject: RE: Strange behavior on linkUpDownNotifications‏
Date: Wed, 7 Apr 2010 17:26:37 -0400








Both machines are loaded with same modules, but in different order. 
ThanksXuan

> Date: Wed, 7 Apr 2010 22:10:12 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications‏
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
> 
> 2010/4/7 X Z <b...@live.com>:
> > The working one (see link up down traps) has the following output:
> > trap: send_trap -1 -1 NET-SNMP-MIB::netSnmpAgentOIDs.10
> 
> > The nonworking one has the following output:
> > trap: send_trap -1 -1 NET-SNMP-TC::linux
> 
> These actually both refer to the same OID.
> 
> 
> > Any ideas why the two different MIBs are used?
> 
> Have a look at both what MIBs are installed on the two systems,
> and what MIBs are actually *loaded*.
>    The debug flag 'parse-mibs' might be useful for this.
> 
> 
> Though I've no idea why this might affect linkUp/Down traps.
> 
> Dave
                                          
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail.  Get busy.                                     
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox. See how.                                        
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to