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 (information that is needed fro

Re: persistent data file

2012-02-24 Thread Chris Cossman
Hey, lookupd and Shark with snmpd.conf running ... I was fooling around a little with my include directory, and I came across some files that I wanted to put through another program. /usr/bin/acid has an option for settings that deal with physical_addresses as far as the ss# and the table s

Re: persistent data file

2012-02-23 Thread Ravi Kumar
why can not we keep snmpv3 users in non persistent snmpd.conf ? what are these ? setserialno 1723900303 ifXTable .1 14:0 18:0x $ oldEngineID 0x80001f88805c454f7f278d544c thanks On Thu, Feb 23, 2012 at 6:26 PM, Ballu ballu wrote: > this file used for snmp v3. It store infopdrmatio

Re: persistent

2006-08-16 Thread Dave Shield
On 16/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > There are var_ routine and write_ routine, Here write_ routine > is executed during SET, If you're using the "traditional" (v4 UCD) module API, yes. The newer v5 helper-based modules use a different approach. >when

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

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

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

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, how to trigger this (snmp_regis

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