Re: link error for g++ net-snmp

2005-07-11 Thread Magnus Fromreide
On Tue, Jul 05, 2005 at 10:58:35PM -0400, Deepak Arya wrote: > All, > when i am trying to compile net-snmp 5.2.1 using g++ i am getting link > error. i changed the Makefile in agent/ and mibgroup/ added my mymib.c & > mymib.h file did make. was sucessfull to build mibgroup but when i am > buildi

Re: Dynamically loading/unloading MIBs

2005-07-11 Thread Ajit Bhat
> > OIDs. But the 'unregister_mib' function returns > with : > > MIB_NO_SUCH_REGISTRATION > > The register and unregister calls must match > *exactly* > (including the root OID, priority, context, etc) Yes. I found out that the priority was different! thanks! My sub agents are a mix of 4.x code

Re: strange snmptranslate behaviour

2005-07-11 Thread Patrick Welche
On Mon, Jul 11, 2005 at 03:38:27PM +0100, Dave Shield wrote: > All the Net-SNMP tools work in this way. The confusing thing > is that the default for 'snmptranslate' (random lookup off) is > different to everything else (random lookup on). Right - I was suitably confused! Thank you, Patrick -

Re: htdocs/tutorial?

2005-07-11 Thread Patrick Welche
On Mon, Jul 11, 2005 at 03:02:50PM +0100, Dave Shield wrote: > On Mon, 2005-07-04 at 12:13 +0100, Patrick Welche wrote: > > I see in the CVS logs (eg for tutorial-5/commands/mib-options.html) > > > > remove old tutorial dir. use htdocs/tutorial instead. > > > > Where is the htdocs directory? Is

Re: Why don't I have a system group?

2005-07-11 Thread Dave Shield
On Wed, 2005-06-22 at 10:00 -0400, Vance Shipley wrote: > On Tue, Jun 21, 2005 at 06:06:30PM -0400, Robert Story wrote: > } On Tue, 21 Jun 2005 17:53:46 -0400 Vance wrote: > } VS> I've built an agent which seesm to work fine for my MIBs > } VS> however it doesn't respond to system group requests

Re: V2 traps

2005-07-11 Thread Dave Shield
On Thu, 2005-07-07 at 16:07 +0200, Le Gall Jean-Patrick (Skysoft ATM) wrote: > Hi all, > > I'm looking on the web since hours and nothing is clear right now > concerning V2 traps, > > Many question : > - Do I need Generic trap ID? > - Do I need Specific Trap Id? No - these are only relevant t

Re: strange snmptranslate behaviour

2005-07-11 Thread Dave Shield
On Mon, 2005-07-04 at 16:44 +0100, Patrick Welche wrote: > Am I missing something? > % snmptranslate -Tp system > No log handling enabled - turning on stderr logging > system: Unknown Object Identifier (Sub-id not found: (top) -> system) > % snmptranslate -On -IR sysDescr > .1.3.6.1.2.1.1.1 Tha

Re: snmpwalk

2005-07-11 Thread Dave Shield
On Fri, 2005-07-01 at 14:09 -0300, Jordan Janeiro Lopes da Silva wrote: > Hi all, I´m trying to query my agent(a table) with snmpwalk (snmpwalk -v 2c - > c public localhost gpsMonitorTable), but the result is always the > same: "Timeout: No response from localhost". Sounds like access control pro

Re: snmptrap for properperty

2005-07-11 Thread Dave Shield
On Tue, 2005-07-05 at 09:30 +0530, [EMAIL PROTECTED] wrote: > Can we use the snmptrap application for sending traps/inform of the > propriety MIB’s? Yes. > Do we need to update any Net-SNMP config files? No. You may need to run 'snmptrap -m PROPRIETRY-MIB ' if you want to use the name of

Re: community string with special characters

2005-07-11 Thread Dave Shield
On Wed, 2005-07-06 at 13:07 -0700, Srini Kode (skode) wrote: > In net-snmp 5.1 version do we support community string with > special characters. For e.g. [EMAIL PROTECTED] Yes - that works, both with the current development version, and the 5.1.x line (though I haven't gone back as far as 5.1) >

Re: Is oid a user-defined data type?

2005-07-11 Thread Dave Shield
On Wed, 2005-07-06 at 18:25 +0530, aakansha rajvi wrote: > Is oid used to declare an oid is a user-defined data type > or a typedef or structure? It's a typedef. See : #ifndef EIGHTBIT_SUBIDS typedef u_long oid; #define MAX_SUBID 0x #else typedef u_char oid; #define MAX_SUBID

Re: htdocs/tutorial?

2005-07-11 Thread Dave Shield
On Mon, 2005-07-04 at 12:13 +0100, Patrick Welche wrote: > I see in the CVS logs (eg for tutorial-5/commands/mib-options.html) > > remove old tutorial dir. use htdocs/tutorial instead. > > Where is the htdocs directory? Is at a separate cvs module? It's referring to the root of the project web

Re: Extending the Agent for sysServices

2005-07-11 Thread Dave Shield
On Mon, 2005-07-04 at 12:14 +0530, [EMAIL PROTECTED] wrote: > I am trying to extend the agent for “sysServices” which is under > system group. I trust that you realise the Net-SNMP agent already implements this particular object? Though you do need to explicitly configure a suitable value in the

Re: Dynamically loading/unloading MIBs

2005-07-11 Thread Dave Shield
On Tue, 2005-07-05 at 04:47 -0700, Ajit Bhat wrote: > Now when I try to unload the lib, I call a shutdown > function which has 'unregister_mib' for all the above > OIDs. But the 'unregister_mib' function returns with : > MIB_NO_SUCH_REGISTRATION The register and unregister calls must match *exactl