RE: persistent data storage

2006-08-08 Thread Siva Prakash Reddy G
e the problem?i don't know where things are going wrong. With Regards. G.Siva Prakash Reddy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, August 08, 2006 6:57 PM To: Siva Prakash Reddy G Cc: net-snmp-coders@lists

Re: persistent data storage

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I have tried with, what you have suggested me, then also it is not > working. I have used function > read_config_store_data(ASN_OCTET_STR, > cptr,&station_table->disassociateStation,&tmpint); it started working, > but

Re: persistent data storage

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > to store mib variables in to the configuration file, he is using > snmpd_store_config(line); Correct. > but this function takes arguments const char * pointer. Yes - that's the line of text that should be saved into the config fi

Re: persistent data storage!

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > i'm getting these many error > /var/net-snmp/snmpd.0.conf: line 12: Warning: Unknown token: > mediumoccupancylimit. This isn't one of the standard tokens, so I presume this relates to your private MIB? How have you registered this t

persistent data storage

2006-08-08 Thread Siva Prakash Reddy G
Title: Message    Hi! I have reffered system_mib.c, in that, to store mib variables in to the configuration file, he is using   snmpd_store_

persistent data storage!

2006-08-08 Thread Siva Prakash Reddy G
Title: Message    Hi!Dav     Thanks for constant helping.  i'm getting these many error and warnings when i run this command "snmpd -f -L -D

Re: persistent data storage

2006-08-04 Thread Dave Shield
On 04/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > 1. what will happen when agent start running and which function will be > executed init_system_mib() (Surely you could have guessed that!) In general, if the module is called "myModule.c", then the agent will look for a matchin

persistent data storage

2006-08-04 Thread Siva Prakash Reddy G
Title: Message    Hi!     1. what will happen when agent start running and which function will be executed ( system_mib.c)  

RE: persistent data storage

2006-08-03 Thread Siva Prakash Reddy G
how can I procced. With Regards. G.Siva Prakash Reddy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, August 02, 2006 3:38 PM To: Siva Prakash Reddy G Cc: net-snmp-coders Subject: Re: persistent data storage

Re: persistent data storage

2006-08-03 Thread Dave Shield
On 03/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > 1. If compile with latest source code, what about already > existing code. What about it? The latest version of the source will presumably include anything that you're currently using. Unless you've already added new MIB module

RE: persistent data storage

2006-08-02 Thread Siva Prakash Reddy G
lf Of Dave Shield Sent: Wednesday, August 02, 2006 3:38 PM To: Siva Prakash Reddy G Cc: net-snmp-coders Subject: Re: persistent data storage [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination t

Re: persistent data storage

2006-08-02 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 02/08

RE: persistent data storage

2006-08-02 Thread Siva Prakash Reddy G
Sent: Wednesday, August 02, 2006 2:06 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: persistent data storage On 02/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > 1. what is use of the var_X() function, what it does? This is the rou

Re: persistent data storage

2006-08-02 Thread Dave Shield
On 02/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > 1. I have station config table, in this table there are 23 > variables are there, like, station ID, Medium occpuancy limit, > association request, etc.., whether I need to register each and every > variable to agent or if I re

Re: persistent data storage

2006-08-02 Thread Dave Shield
On 02/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > 1. what is use of the var_X() function, what it does? This is the routine that actually does the real work. When a request for an X object arrives, this is the code that provides the corresponding value. > snmpd_regis

RE: persistent data storage

2006-08-02 Thread Siva Prakash Reddy G
, 2006 5:45 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: persistent data storage On 01/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I mean, how to check the data is stored in configuration file > are not. cat /var/net-snm

RE: persistent data storage

2006-08-02 Thread Siva Prakash Reddy G
a Prakash Reddy G Cc: [email protected] Subject: Re: persistent data storage On 01/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I mean, how to check the data is stored in configuration file > are not. cat /var/net-snmp/snmpd.conf >H

RE: persistent data storage

2006-08-01 Thread Siva Prakash Reddy G
CTED] On Behalf Of Dave Shield Sent: Monday, July 31, 2006 2:16 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: persistent data storage On 27/07/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > How to write persistent data storage snmpd_s

Re: persistent data storage

2006-08-01 Thread Dave Shield
On 01/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I mean, how to check the data is stored in configuration file > are not. cat /var/net-snmp/snmpd.conf >How do I know in which configuration file data is stored. net-snmp-config --persistent-directory > How to wri

Re: persistent data storage

2006-07-31 Thread Dave Shield
On 27/07/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > How to write persistent data storage snmpd_store_config(); See (for example) 'system_store' in the file agent/mibgroup/mibII/system_mib.c This covers both how to write data out to persistent storage,

persistent data storage

2006-07-31 Thread Siva Prakash Reddy G
Title: Message    Hi!     How to write persistent data storage. Is their any tool to generate persistent data storage file for MIB file.After