Re: Processing unsupported objects

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 14:49:32 +0530 Sridhar wrote: SS> RS> Nope. What you've done with valid columns would work just fine, *if* SS> RS> the iterator helper used that data. Unfortunately, it does not. SS> SS> OK. In any way, can I get the column under query in the SS> ifXTable_get_first_data_point (

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
Thanks Robert. Can you please provide some information regarding addition of caching to this? The attached pseudo code describes how my init function is implemented. void LoadData() { xxTable_context *context; For all data available do /* create row */ context = xxTable_cr

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Alex Burger
[EMAIL PROTECTED] wrote: On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: I've checked net-snmp-config.h (both Linux & Windows) but nothing about my net-snmp-includes.hI don't know why there isn't any net-snmp-includes.h on my net-snmp Windows repertory and I don't understand why should net-s

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
Thanks Robert. Actually that problem is resolved. I was not allocating memory properly. -Original Message- From: George, Geo Sent: Friday, April 22, 2005 4:09 PM To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: array_user.conf row creation Thanks Robert. I have implemented my Samp

Re: Repost: Net-snmp doubt

2005-04-22 Thread Mauricio Reyes
Hello, I have tested what you sent me, but I'm getting this message: snmpd: send_trap: USM unknown security name (no such user exists) NET-SNMP version 5.2.1 snmpd: send_trap: USM unknown security name (no such user exists) snmpd: send_trap: USM unknown security name (no such user exists) It ap

net-snmp-users@lists.sourceforge.net

2005-04-22 Thread Susanne Goldammer
Hello again :-) i have another question about the functional range of the net-snmp library. I found some other questions in the user-list which concern nearly the same problem, but i could not find a good solution for that. So what is it all about: What i like to do is to write a proxy. This

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 09:00:58 -0700 (PDT) Mauricio wrote: MR> I have tested what you sent me, but I'm getting this MR> message: MR> MR> snmpd: send_trap: USM unknown security name (no such MR> user exists) Sigh. Ok, I now know more about trap sessions and engineID discovery that I really wanted to

RE: array_user.conf row creation

2005-04-22 Thread George, Geo
Thanks Robert. I have implemented my Sample MIB and its up and running now. The problem is when I query the Table its giving "Error in Packet", "No such Name in this MIB. I though it's the problem with index and tried with some changes there, but it dint help. When I am querying the agent, proper

Re: array_user.conf row creation

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 08:06:16 -0700 George, wrote: GG> Can you please provide some information regarding addition of caching to GG> this? There are two ways to do this. One is to completely flush the cache each time, and reload it from scratch. The other is to search the cache for exiting rows to u

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 15:02:10 +0100 Dave wrote: DS> On Fri, 2005-04-22 at 14:54, Robert Story wrote: DS> > Ok, I found my mistake. Reverse the previous patch, DS> > and apply this one instead... DS> DS> DS> @@ -704,6 +704,7 @@ DS> session->version = SNMP_DEFAULT_VERSION; DS> session->sec

RE: SNMP PROXY HELP!

2005-04-22 Thread Rustagi, Sandeep (Sandeep)
Hi, They are full SNMP subagents in their own right. If i do snmpget/snmpwalk directly they give the response. rgds, Sandeep -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 7:42 PM To: Rustagi, Sandeep (Sandeep) Cc: net-snmp-users@lists.source

user groups

2005-04-22 Thread Doug Wirth
I would like to be deleted from your user groups, I sighned up and it was helpful but I dont need it anymore, I looked at your site and couldnt see how to unregister. Im using this same email address   thanks doug

Re: Processing unsupported objects

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 15:09, Robert Story wrote: > On Fri, 22 Apr 2005 10:53:52 +0100 Dave wrote: > DS> Another possibility would be to have a flag to indicate whether or > DS> not to use ASN_PRIV_RETRY, or move on internally - perhaps set by > DS> the main table helper itself when there was only a

Re: SNMP PROXY HELP!

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 19:20:39 +0530 Rustagi, wrote: RS> [Sandeep Rustagi]: Two sub-agents are based on the Net-SNMP agent. RS> I see the query is sent to master agent then no prints on subagent. Ok, that's still a little vauge, but I think that means they are full SNMP agents in their own right. Do

Re: Processing unsupported objects

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 10:53:52 +0100 Dave wrote: DS> On Fri, 2005-04-22 at 02:15, Robert Story wrote: DS> > Nope. What you've done with valid columns would work just fine, *if* the DS> > iterator helper used that data. Unfortunately, it does not. DS> DS> what about having the iterator helper take

RE: SNMP PROXY HELP!

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 14:50, Rustagi, Sandeep (Sandeep) wrote: > > Sandeep - can you confirm what you mean by "sub-agent"? > > Are these two sub-agents based on the Net-SNMP agent, > Two sub-agents are based on the Net-SNMP agent. But are they AgentX sub-agents, or "standalone" SNMP agents, acces

Re: Repost: Net-snmp doubt

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 14:54, Robert Story wrote: > Ok, I found my mistake. Reverse the previous patch, > and apply this one instead... @@ -704,6 +704,7 @@ session->version = SNMP_DEFAULT_VERSION; session->securityModel = SNMP_DEFAULT_SECMODEL; session->rcvMsgMaxSize = SNMP_MAX_MSG_

RE: SNMP PROXY HELP!

2005-04-22 Thread Rustagi, Sandeep (Sandeep)
Hi, Can i Know what to put in snmpd.conf and where I can see some example to run this? My requirement is as follows: I have 2 subagent implementing the same mibs. I am running both subagents on same machine where Master agent is running. Now I wish to do get and set for those 2 subagents. What I

Re: SNMP PROXY HELP!

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 09:26:18 +0100 Dave wrote: DS> On Fri, 2005-04-22 at 01:14, Robert Story wrote: DS> > Proxy is different from sub-agent. Proxy is for DS> > talking to another snmp agent. DS> DS> That's really just a question of terminology. DS> It's quite reasonable to talk about the target of

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Mon, 18 Apr 2005 10:58:36 -0700 (PDT) Mauricio wrote: MR> I have deleted that line, but there's still errors. I MR> used gdb to debug and got this: Ok, I found my mistake. Reverse the previous patch, and apply this one instead... -- NOTE: messages sent directly to me, instead of the lists, wi

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Dave Shield
[ Please keep the mailing list Cc:ed on all correspondence. Thanks. ] On Fri, 2005-04-22 at 14:37, [EMAIL PROTECTED] wrote: > Thks for your help Dave but the include/net-snmp/net-snmp-includes.h is > for Linux. No - it's a standard header file, applicable to *all* architectures

RE: SNMP PROXY HELP!

2005-04-22 Thread Rustagi, Sandeep (Sandeep)
Hi, Please find the response below: -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 1:56 PM To: net-snmp-users@lists.sourceforge.net Cc: Rustagi, Sandeep (Sandeep) Subject: Re: SNMP PROXY HELP! On Fri, 2005-04-22 at 01:14, Robert Story wrote:

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 13:03, [EMAIL PROTECTED] wrote: > > On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: > >> But some of my headers need to include the "net-snmp-includes.h" file > > Nope - there's a version for Windows too. > > See > > 'win32/net-snmp/net-snmp-config.h' > I've check

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread ginestet
> On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: >> I want to port from Linux to Windows with Qt, a soft using net-snmp. >> >> But some of my headers need to include the "net-snmp-includes.h" file >> (\usr\include\net-snmp\net-snmp-includes.h on Windows). This file >> (like some others i've

Re: Resend a received Trap with a different peername

2005-04-22 Thread Susanne Goldammer
Hello, just a few minutes before i read your reply, i set the transport_data = NULL and the transport_data_length = 0. And this works. Now i can get my trap and forward it to another ip address. Also the destination port can be changed with the peername = "ip:port". I need this functionality b

Re: Processing unsupported objects

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 02:15, Robert Story wrote: > Nope. What you've done with valid columns would work just fine, *if* the > iterator helper used that data. Unfortunately, it does not. > > You get some benefit from the table helper, which does use it. A get-next > request for an invalid column wi

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: > I want to port from Linux to Windows with Qt, a soft using net-snmp. > > But some of my headers need to include the "net-snmp-includes.h" file > (\usr\include\net-snmp\net-snmp-includes.h on Windows). This file (like > some others i've seen)

net-snmp-includes.h missing on Windows version

2005-04-22 Thread ginestet
Hi list, I want to port from Linux to Windows with Qt, a soft using net-snmp. But some of my headers need to include the "net-snmp-includes.h" file (\usr\include\net-snmp\net-snmp-includes.h on Windows). This file (like some others i've seen) are existing under Linux but not under Windows. What

Re: Processing unsupported objects

2005-04-22 Thread Sridhar S
Hi, RS> Nope. What you've done with valid columns would work just fine, *if* the RS> iterator helper used that data. Unfortunately, it does not. OK. In any way, can I get the column under query in the ifXTable_get_first_data_point () and ifXTable_get_next_data_point () functions ?? If the column

Re: snmpset and reboot

2005-04-22 Thread Dave Shield
On Thu, 2005-04-21 at 23:35, Robert Story wrote: > It'd be very easy to do using exec to call shutdown in snmpd.conf. Good point - I'd forgotten about that. [ Though how is the agent going to return success if the system has been shut down? ] In which case I'd reiterate my point about acc

Re: SNMP PROXY HELP!

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 01:14, Robert Story wrote: > Proxy is different from sub-agent. Proxy is for > talking to another snmp agent. That's really just a question of terminology. It's quite reasonable to talk about the target of a "proxy" directive as a "proxied sub-agent", IMO. "sub-agent" doesn'

Re: Resend a received Trap with a different peername

2005-04-22 Thread Dave Shield
On Thu, 2005-04-21 at 21:37, Susanne Goldammer wrote: > i am developing an application which should receive traps. > Then i like to resend the received trap to another destination, > different to the peer from where i got the trap. You mean like 'snmptrapd' with the 'forward' directive? > When