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

2004-06-10 Thread Kurapati M-G19456
Wes, Can you let us know the new API to use? If there is any tutorial on this??? Reference to an example implementation would help me a lot. Thanks Mahesh -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 10:14 AM To: Kurapati M-G19456 C

Re: Question about table get row

2004-06-10 Thread Users
On Thu, 10 Jun 2004 16:37:45 -0400 vicky wrote: VL> - Original Message - VL> I've created a table and I can use snmpwalk to get the whole table VL> content or use snmpget to get single column object. Does anyone know if VL> net-snmp support table get row operation, or if th

Re: authentication failure trap

2004-06-10 Thread Kai Yan Ip
Thanks for your reply. When I read the snmpEnableAuthTraps object, it was set to "disabled" although I could still see Authentication Failure traps coming in to my manager. I used the -Dparse flag when I was running snmpd, but nothing got printed out. Kai --- Wes Hardaker <[EMAIL PROTECTED]> wr

Re: Question about table get row

2004-06-10 Thread vicky liang
I got it by using snmpbulkget. - Original Message - From: vicky liang To: [EMAIL PROTECTED] Sent: Thursday, June 10, 2004 4:18 PM Subject: Question about table get row I've created a table and I can use snmpwalk to get the

Question about table get row

2004-06-10 Thread vicky liang
I've created a table and I can use snmpwalk to get the whole table content or use snmpget to get single column object. Does anyone know if net-snmp support table get row operation, or if there is a way for me to implement such operation?   Many Thanks.   VL

RE: Patch(es) for FreeBSD 5.2.x

2004-06-10 Thread Thanh Nguyen
Thank you very much Dave. I sure can wait until Friday. I will be the first to try out. Thanks. -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 2:15 AM To: Thanh Nguyen Cc: [EMAIL PROTECTED] Subject: Re: Patch(es) for FreeBSD 5.2.x > Wha

Re: snmpd.conf problem

2004-06-10 Thread Dave Shield
> > Have you then installed this file to the final destination? > > > > Typically either '/etc/snmp/snmpd.conf' or > >'/usr/local/etc/snmp/snmpd.conf' > > (depending on how the agent was compiled) > > Doesn't that usually go in /usr/local/share/snmp? $ man snmpd.conf NA

Re: snmpd.conf problem

2004-06-10 Thread Carlos Cantu
> > The [snmpd.conf] file is correctly created at the current directory > > which I was working when I run snmpconf (/root) > > Have you then installed this file to the final destination? > > Typically either '/etc/snmp/snmpd.conf' or '/usr/local/etc/snmp/snmpd.conf' > (depending on how the ag

Re: Problem in usage of mib2c

2004-06-10 Thread Users
On Thu, 10 Jun 2004 10:20:01 +0100 Dave wrote: DS> > Hmmm, it seems that mib2c is very naughty and silently ignores options DS> > that it does not understand, which includes -M DS> DS> It looks as if the main CVS branch has rather more robust argument DS> parsing code, which *does* report on unrec

Re: Agent support for single version of SNMP

2004-06-10 Thread Users
On Thu, 10 Jun 2004 10:54:47 +0200 Marco wrote: MW> Is it possible to configure the agent that it only supports MW> a single version of SNMP (v1, v2c or v3) ? That depends on what you mean by 'support'. If you don't configure access control for a particular version in snmpd.conf, the requests will

Re: snmpd.conf problem

2004-06-10 Thread Dave Shield
> The [snmpd.conf] file is correctly created at the current directory > which I was working when I run snmpconf (/root) Have you then installed this file to the final destination? Typically either '/etc/snmp/snmpd.conf' or '/usr/local/etc/snmp/snmpd.conf' (depending on how the agent was compile

post please

2004-06-10 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: snmptrapd does not log Cisco traps

2004-06-10 Thread J. Russell Woodman
Hi, If I run snmptrapd with either the "-d" flag or "-f -d", then there is output in the syslog from the debug: Jun 10 08:14:55 natco4 snmptrapd[24737]: Received 167 bytes from 205.167.142.5 Jun 10 08:14:55 natco4 snmptrapd[24737]: : 30 81 A4 02 01 01 04 06 70 75 62 6C 69 63 A7 810.

snmpd.conf problem

2004-06-10 Thread Mike Mohamet
Hi all The problem I am facing is that, I am running the snmpconf script in order to set up the snmpd.conf file, but the values I am receiving by using snmpset (e.g for system Contact info) appear to be the default ones (e.g [EMAIL PROTECTED]). The file is correctly created at the current direc

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

2004-06-10 Thread Mukherjee, Arijit (Arijit)
Dave, Here's the values: First request that I send down does not contain any -E option - as this is expected to be returned by the proxy - so authoritative engineId should suffice. The value printed for char * (I put this in my mib module - getValue() function) is 80020109840001 for cont

Re: viewing traps

2004-06-10 Thread bruno.calvet
hello you can do that : $ snmptrapd -o /your_directory/trap_log on your snmp manager, the one that receives traps, it'll log traps in the log file named trap_log Bruno - Original Message - From: "William R. Buckley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2

Re: [Q] about mib modules and MIB files

2004-06-10 Thread Dave Shield
[Sorry for the delay in following up on this. If you've managed to get this working, or have given up completely, please ignore this] > > Is it getting compiled? > > (see if there is an 'air_snmp_ping.o' file) > > Yes, and linked to the agent. Good start. > > Is the initialis

Re: Problem in usage of mib2c

2004-06-10 Thread Dave Shield
> Hmmm, it seems that mib2c is very naughty and silently ignores options > that it does not understand, which includes -M It looks as if the main CVS branch has rather more robust argument parsing code, which *does* report on unrecognised options. Is it worth applying this approach to the 5.1.2 c

Re: Not getting all I asked for

2004-06-10 Thread Dave Shield
> My client is interacting with the snmpd process which needs to get all > of these values from my subagent. Starting snmpd with -Dagentx shows > each variable being handled in the agentx protocol and putting snmp_log() > calls in my MIB implementation shows that each value is retrieved by the >

Re: Patch(es) for FreeBSD 5.2.x

2004-06-10 Thread Dave Shield
> What are all the patches for FreeBSD 5.2.x ? Is there a place/link that > contains all the patches available for FreeBSD 5.2.x ? If you can wait until Friday, the plan is to produce a '5.1.2.pre2' pre-release source tarball, which will include all of the patches that we have so far. It would b

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

2004-06-10 Thread Dave Shield
> if I send > down the u_char * contextEngineId in the second request, it will be > converted to u_char* again - which will not be the same as the > contextEngineId that I want to send Why not? The octet values are the same in both cases, su

Agent support for single version of SNMP

2004-06-10 Thread Marco Waller
Hi all, I am using Net-SNMP 5.1.1 on Linux 2.4.21. Is it possible to configure the agent that it only supports a single version of SNMP (v1, v2c or v3) ? The option '--with-default-snmp-version' seems to affect only the command tools. Or does the agent always support all 3 versions and I have to se

Re: AgentX / SNMP master error code problem

2004-06-10 Thread Dave Shield
[Sorry for the delay in following up on this - I've just stumbled across it, and noticed the cause of the problem] > > What does "grep OID include/net-snmp/net-snmp-config.h" return? > > > > #define ENTERPRISE_OID .1.3.6.1.4.1.18293 > #define UCDAVIS_OID 2021 > > Where ENTER