No trips on MIPS (was: RE: IP redirection)

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC08A1AB58@mailserver.metatv-ds.metatv.com>
	[Please change the subject line when using "reply" to start a new thread.]

> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Rabindra Paikaray
> Sent: Wednesday, May 28, 2008 10:31 PM

> I have configured net-snmp with disman/event and notification 
> for linkup and down trap . My traget system is a mips-linux 
> .While configuring I am getting a warning message like:
> configure: WARNING: Can't check sysctl, manually define 
> NETSNMP_CAN_USE_SYSCTL if platform support available
> 
> But it's comiling without any problem.

	That's why it's a warning, not an error - it means you should be concerned

> While running this in mips board I am not getting any linkUp 
> Down traps.

	A Google search on "MIPS linux sysctl" hits several pages such as http://www.linux-mips.org/archives/linux-mips/2007-01/msg00210.html which make it pretty obvious that MIPS linux does indeed have sysctl, so it's probably best to enable it.  I believe the correct way to do this is to edit acconfig.h after running configure, and changing the definition of NETSNMP_CAN_USE_SYSCTL from "#undef" to "#define", but, having never done this, I can't be sure.

> But If I am compiling it for a general Linux box , it's 
> giving the trap notification perfectly.

	There may be some gap in general for MIPS Linux - we are talking about a rather uncommon processor here.


	HTH,

Mike

-------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.