implement persistent data store

2017-05-26 Thread deepak . sachan deepak . sachan
Hi I am trying to implement persistent data store. First I have manually created myModule.conf file . In which i defined four tokens (token_1,token_2,...) with value 1,2,3,4 respectively. (Should these token`s name same as the variables` names that i want to set using snmpset? ) Then in

Re: persistent data file

2012-02-29 Thread Ravi Kumar
Thanks Dave. On Tue, Feb 28, 2012 at 4:50 AM, Dave Shield wrote: > On 23 February 2012 17:06, Ravi Kumar wrote: > > why can not we keep snmpv3 users in non persistent snmpd.conf ? > > You can. It's perfectly possible to set up SNMPv3 users in the > "normal" snmpd.conf file. (I'll often do

Re: persistent data file

2012-02-27 Thread Dave Shield
On 23 February 2012 17:06, Ravi Kumar wrote: > why  can not we  keep snmpv3 users in  non persistent snmpd.conf ? You can. It's perfectly possible to set up SNMPv3 users in the "normal" snmpd.conf file. (I'll often do this with temporary config files, while debugging assorted problems or deve

Re: persistent data file

2012-02-27 Thread Robert Story
On Thu, 23 Feb 2012 14:00:25 +0530 Ravi wrote: RK> Hi All, RK> RK> What is this persistent data file ? what type of information should be RK> stored in this ? RK> RK> /var/net-snmp/snmpd.conf This is where the agent and mib modules can store persistent information (informat

Re: persistent data file

2012-02-24 Thread Chris Cossman
set dims I am completely lost! -Hope this helps . . . certkey might handle serials , maybe certd for short. -Chris On Feb 23, 2012, at 12:30 AM, Ravi Kumar wrote: On Feb 23, 2012, at 12:30 AM, Ravi Kumar wrote: > Hi All, > > What is this persistent data file ? what type of informati

Re: persistent data file

2012-02-23 Thread Ravi Kumar
ore infopdrmation about snmvpv3 user..:) > > Regards > > > > > On Thu, Feb 23, 2012 at 1:30 PM, Ravi Kumar wrote: > >> Hi All, >> >> What is this persistent data file ? what type of information should be >> stored in this ? >> >> /var/net-s

persistent data file

2012-02-23 Thread Ravi Kumar
Hi All, What is this persistent data file ? what type of information should be stored in this ? /var/net-snmp/snmpd.conf what are the following lines in this file ? setserialno 1723900303 ifXTable .1 14:0 18:0x $ oldEngineID 0x80001f88805c454f7f278d544c who can set these ? Thanks

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 sotrage

2006-08-04 Thread Dave Shield
On 04/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > When i say agent stop, which function is executed in system_mib.c file. system_store() When shutting down, the agent will call: - any routines registered using SNMP_CALLBACK_STORE_DATA - any routines registered using

Persistent data sotrage

2006-08-04 Thread Siva Prakash Reddy G
Title: Message    Hi!   When i say agent stop, which function is executed in system_mib.c file.    

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

Re: Persistent Data

2004-07-28 Thread Wes Hardaker
> On Mon, 19 Jul 2004 16:34:38 -0500, [EMAIL PROTECTED] said: Brian> We would like to separate the V3 username info (keys and Brian> whatnot) out from the MIB data (psyslocation, psyscontact, Brian> etc). Brian> Is there a mechanism in place to do this already? No, but it would be fairly e

Persistent Data

2004-07-19 Thread Brian . Blietz
We have a need to separate out the persistent data in snmpd.conf (/var/net-snmp/snmpd.conf)   We would like to separate the V3 username info (keys and whatnot) out from the MIB data (psyslocation, psyscontact, etc).   Is there a mechanism in place to do this already?    Would it be