Re: Interfaces group ifNumber handling

2004-06-09 Thread Wes Hardaker
> On Mon, 7 Jun 2004 09:22:58 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> said: Kurapati> I wanted to provide my own implementation for the interfaces Kurapati> MIB. As suggested in the list I have used the -I -interface Kurapati> option and it seems to be working fince except for the scalr

Re: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub.

2004-06-09 Thread Wes Hardaker
> On Mon, 7 Jun 2004 09:16:02 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> said: Kurapati> We are developing an Agentx based subagent. We are Kurapati> implementing the MIB objects as implemented by NET-SNMP for Kurapati> interfaces mib in interfaces.c. But we require the type of Kurapati> t

Re: Newbie question: how to use a given MIB in net-snmp?

2004-06-09 Thread Wes Hardaker
> On Mon, 07 Jun 2004 16:08:34 -0400, Pierre Rouleau <[EMAIL PROTECTED]> said: Pierre> The tree shown only contains the OID of the files that came with Pierre> net-snmp, nothing else. This is well outlined in the tutorial: http://www.net-snmp.org/tutorial-5/commands/ -- Wes Hardaker Spa

Re: Newest version of AgentX and NetSNMP for FreeBSD 3.2

2004-06-09 Thread Wes Hardaker
> On Mon, 7 Jun 2004 15:35:02 -0400, Robert Waltz <[EMAIL PROTECTED]> said: Robert> We're using a downrev of FreeBSD (3.2) - I'm using 5.0.6, but Robert> I've experienced some crashes that seem to be related to Robert> AgentX message passing. Is there a patch or newer version Robert> (that wo

Re: add new mib file ??

2004-06-09 Thread Wes Hardaker
> On Tue, 8 Jun 2004 09:39:15 -0400, Mijeong Seo <[EMAIL PROTECTED]> said: Mijeong> I also try to add MY-MIB.txt that includes user defined Mijeong> traps. For some reason, loading it under window works well Mijeong> but under RH7.3 and RH9 doesn't work (I'm using 5.1.1 for Mijeong> these). I

Re: NetSNMP::agent question

2004-06-09 Thread Wes Hardaker
> On Mon, 07 Jun 2004 16:56:40 -0400, Glenn MacGregor <[EMAIL PROTECTED]> said: Glenn> I am using NetSNMP Version 5.1.1 on Linux 2.4. I have the SNMP Glenn> agentx example from the toolkit working. I was wondering if I Glenn> can receive snmpset messages in the subagent? The example Glenn> doe

Re: Anyway to get the char * contextEngineId back in manager

2004-06-09 Thread Wes Hardaker
> On Wed, 9 Jun 2004 09:26:03 +0530, "Mukherjee, Arijit (Arijit)" <[EMAIL > PROTECTED]> said: >> Is there anyway that the data can be sent back as char* and not as >> u_char *. I suspect that you will have no problems if you merely cast the data. Byte value wise, a char is equivalent to

Re: snmptrapd does not log Cisco traps

2004-06-09 Thread Wes Hardaker
> On Tue, 08 Jun 2004 15:58:15 -0500, "J. Russell Woodman" <[EMAIL PROTECTED]> > said: J> ...however nothing ever shows up in the syslog about the trap. Can J> someone please help me figure out why I cannot get snmptrapd to log J> Cisco traps? Do I need to install the Cisco MIBs or some

Re: Supporting linkUP and linkDown traps

2004-06-09 Thread Wes Hardaker
> On Tue, 8 Jun 2004 12:22:42 -0700 (PDT), SNMP USER <[EMAIL PROTECTED]> said: SNMP> Does NET-Snmp package support linkUp and linkDown traps for SNMP> solaris. Any pointers on how to support these traps on Solaris SNMP> OS. It does not. However, version 5.2 will support them. You can test t

Re: viewing traps

2004-06-09 Thread Wes Hardaker
> On Wed, 9 Jun 2004 11:26:02 -0700, "William R. Buckley" <[EMAIL PROTECTED]> said: William> Well, you could modify all of the source code of the Net-SNMP William> tool, particularly the daemon, and include code to dump an William> inline message to a file for each point in the tool code that

Re: authentication failure trap

2004-06-09 Thread Wes Hardaker
> On Wed, 9 Jun 2004 14:42:11 -0700 (PDT), Kai Yan Ip <[EMAIL PROTECTED]> said: Kai> I am having problem turning off the authentication failure trap. Kai> I am using SNMPv3. I tried to turn it off by setting Kai> snmpEnableAuthenTraps to disable and also putting "authtrapenable Kai> 2" in snmp

authentication failure trap

2004-06-09 Thread Kai Yan Ip
Hi, I am having problem turning off the authentication failure trap. I am using SNMPv3. I tried to turn it off by setting snmpEnableAuthenTraps to disable and also putting "authtrapenable 2" in snmpd.conf, neither of them worked. I am still getting authentication failure traps. Am I not doing i

RE: viewing traps

2004-06-09 Thread William R. Buckley
Well, you could modify all of the source code of the Net-SNMP tool, particularly the daemon, and include code to dump an inline message to a file for each point in the tool code that produces a trap message, and so verify that the code is executed. Just kidding. William R. Buckley > -Origin

viewing traps

2004-06-09 Thread Carlos Cantu
If all I want to do is verify that I'm sending out traps, would traphandle be the best tool for the job? Carlos --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Use

(no subject)

2004-06-09 Thread Traian
__ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The

Re: Problem in usage of mib2c

2004-06-09 Thread Users
On Wed, 9 Jun 2004 12:29:28 +051800 [EMAIL PROTECTED] wrote: VC> I have a small problem in generating code for an experimental mib i wrote. VC> I have a mib called MY-MIB and it has a table MyTable. Have you tried running smilint on your mib to make sure it is syntactically correct? VC> when I t

Re: Problem in usage of mib2c

2004-06-09 Thread Niels Baggesen
On Wed, Jun 09, 2004 at 12:29:28PM +0518, [EMAIL PROTECTED] wrote: > I have tried various options with mib2c like : > mib2c -c mib2c.iterate.conf -m ALL -M MY-MIB::MyTable > Prior to this I also ran export MIBS=ALL Hmmm, it seems that mib2c is very naughty and silently ignores options that it doe

Supporting linkUP and linkDown traps

2004-06-09 Thread SNMP USER
Hi,   Does NET-Snmp package support linkUp and linkDown traps for solaris. Any pointers on how to support these traps on Solaris OS.   Thanks in advance, -Kris   Do you Yahoo!?Friends. Fun. Try the all-new Yahoo! Messenger

Problem in usage of mib2c

2004-06-09 Thread vchauhan
I have a small problem in generating code for an experimental mib i wrote. I have a mib called MY-MIB and it has a table MyTable. when I try to run mib2c to generate the skeletal c code for MyTable I always get the message "you didn't give me a valid OID to start with at /usr/bin/mib2c line 115."