RE: How to provide delay between duplicate traps?

2005-02-16 Thread akhilesh.sah
Hi Robert, I am new to SNMP and am still trying to understand the net-snmp code. Could you please help me with information on which files I need to study and make changes. Thanks ! On Wed, 16 Feb 2005 11:36:09 +0530 [EMAIL PROTECTED] wrote: ASC> I need to provide delays between the reporting

array-user, tables etc

2005-02-16 Thread Riju Kallivalappil
Hi,  With array-user, is it required that the number of rows are defined at initialization time?   Can I use array-user to access a sorted table where the number of rows can change? If yes, are there any examples available?   I’m currently using iterator and that works fine. But, that

Re: versionRestartAgent only restarts once

2005-02-16 Thread Dana Burns
Another problem: my kernel doesn't seem to be delivering the SIGALRM the second time around. Works like a champ on Solaris though. I don't know if it has anything to do with the execv or not. agent/mibgroup/util_funcs.c: signal(SIGALRM, restart_doit); unsigned int atime = alarm(RE

Re: Re: Placing the MIB

2005-02-16 Thread Jude Amal Anand .P
Thanx for your timely help Mr.Robert. Jude On Tue, 15 Feb 2005 Robert Story wrote : On 13 Feb 2005 06:05:42 - Jude wrote: JAAP> 1. Where to place this mib. ?? JAAP> JAAP> i have generated the code. I have compiled this using mib2c and JAAP> got the agent skeleton. Now where shud i place the

Re: Retrieving multiple oids in a single get

2005-02-16 Thread Shobana Sampath
Ok, thanks for your reply. /Shobana --- Robert Story <[EMAIL PROTECTED]> wrote: > On Sat, 5 Feb 2005 14:47:56 -0800 (PST) Shobana > wrote: > SS> I have an entry in my MIBs which is an entry in > a > SS> table. So, when I send the OID x, I need to > return the > SS> value of OID x, plus values of

Re: Managing multiple instances of a MIB

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 10:26:49 -0800 Riju wrote: RK> Will this fix be included in the next release of NetSNMP? When is the RK> next release going to be? Yes, now that you've confirmed it works, I'll be checking it in shortly. There are no immediate plans for the next release. 5.3 is a long way off,

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 11:05:53 -0800 (PST) gg wrote: GG> The ICMP response usually indicates that nothing is GG> listening to the port (in this case 162). netstat should be able to report if port 162 has anyone listening. GG> I am guessing that snmptrapd only sends traps and does not GG> listen f

Re: mib2c problems

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 13:36:39 -0500 Michael wrote: MPS> > Get snmptranslate working w/out -m first. Try 'export MIBS=ALL', then MPS> > move on to mib2c. MPS> MPS> At the moment I can't even seem to get mib2c working on the tutorial mib. MPS> MPS> ]$ MIBDIRS=. MIBS=+NET-SNMP-TUTORIAL-MIB mib2c -c

Re: IPv6 on Windows [not Linux]

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 10:29:46 -0800 Srini wrote: SK> On Linux when I compile the net-snmp-5.1 with v6 option, does it also SK> Build the apps (snmpget, snmpsetetc) also with this option. SK> i.e. would snmpget, snmpgetnext, snmpset apps, would they be v6 capable? Yes. -- Robert Story; NET-SNM

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-16 Thread gg gg
The ICMP response usually indicates that nothing is listening to the port (in this case 162). I am guessing that snmptrapd only sends traps and does not listen for incoming traps or you need to configure snmptrapd to listen for incoming traps. Either way, the traps are arriving, but there is no

Re: mib2c problems

2005-02-16 Thread Michael P. Soulier
On 01/02/05 Robert Story did say: > Get snmptranslate working w/out -m first. Try 'export MIBS=ALL', then move on > to mib2c. At the moment I can't even seem to get mib2c working on the tutorial mib. ]$ MIBDIRS=. MIBS=+NET-SNMP-TUTORIAL-MIB mib2c -c mib2c.mfd.conf netSnmpTutorialMIB Unlinked O

RE: IPv6 on Windows [not Linux]

2005-02-16 Thread Srini Kode
> > Robert Story wrote: > > On Tue, 15 Feb 2005 19:49:20 -0800 Srini wrote: > > Ok, so apparently the windows binary doesn't include IPv6 support. > > You'll have to build your own. Hopefully our windows gurus > can speak > > up as to why this is so. > Ok. Looks like I cannot use the window

Re: Packaging Snmpd under RedHat Enterprise Linux 3?

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 08:42:52 -0500 Alex wrote: AK> The version is 5.0.8. Can I rebuild it on my system and redistribute the AK> binary snmpd? Or each system has to do a local build? Thanks. You could redistribute a binary, but it would have to be build staticly. I'd say to just build a custom r

RE: Managing multiple instances of a MIB

2005-02-16 Thread Riju Kallivalappil
Great This works. Thanks a lot. Will this fix be included in the next release of NetSNMP? When is the next release going to be? -riju -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 9:20 PM To: Riju Kallivalappil Cc: net-snmp-coders@l

Re: How to provide delay between duplicate traps?

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 11:36:09 +0530 [EMAIL PROTECTED] wrote: ASC> I need to provide delays between the reporting of duplicate traps. Is ASC> this possible?. No, snmptrapd doesn't check for duplicate traps. It simply reports every trap that comes in, without tracking any kind of state information.

Re: Deferred SMUX answers to queries?

2005-02-16 Thread Robert Story
On Wed, 16 Feb 2005 15:05:44 +0100 Marcus wrote: MA> To solve this problem in a more permanent way, we wish to make the MA> SMUX-connector more asynchronious. We want to pass queries from the MA> management station to the SMUX peer as they are recieved and then call MA> some SMUX processing f

Re: IPv6 on Windows [not Linux]

2005-02-16 Thread Alex Burger
Robert Story wrote: On Tue, 15 Feb 2005 19:49:20 -0800 Srini wrote: Ok, so apparently the windows binary doesn't include IPv6 support. You'll have to build your own. Hopefully our windows gurus can speak up as to why this is so. Windows XP with service pack 1 includes a production quality version o

Deferred SMUX answers to queries?

2005-02-16 Thread Marcus Agehall
Hi! Is there a way to delay the answer of a query or is there a simple way to implement this? Let me try to explain a bit more; We use net-snmp as the SNMP-agent in our hardware. We have very limited CPU resources and cannot process too much data at the time. When waiting for answers sent ov

RE: Packaging Snmpd under RedHat Enterprise Linux 3?

2005-02-16 Thread Alex Koifman
The version is 5.0.8. Can I rebuild it on my system and redistribute the binary snmpd? Or each system has to do a local build? Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Story Sent: Tuesday, February 15, 2005 8:13 PM To: Alex Koifman