Re: persistent storage of sysContact, sysName, sysLocation

2011-05-31 Thread Dave Shield
On 24 May 2011 13:29, wrote: > Is there a possibility in order to store the parameter of the OID's > if the snmpset command is called. UCD-SNMP-MIB::versionSavePersistentData OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Set

persistent storage of sysContact, sysName, sysLocation

2011-05-24 Thread normanraedke
Hello, i do not specify anything in the snmpd.conf file and use "snmpset" commands to set the initial values. We have a embedded linux platform an if i do an powercycle off snmpd has no chance to store the values persistent. Is there a possibility in order to store the parameter of the OID's

Re: Persistent storage

2007-09-18 Thread Peter Czaja
Hi, coming back to.. Dave Shield schrieb: > On 04/09/07, Peter Czaja <[EMAIL PROTECTED]> wrote: >> But where is the equivalent to the "init_myagent_scalar()" function? >> >> Something like "finalize_myagent_scalar()", which would be a natural >> place to implement the corresponding calls to netscn

Re: Persistent storage

2007-09-04 Thread Dave Shield
On 04/09/07, Peter Czaja <[EMAIL PROTECTED]> wrote: > But where is the equivalent to the "init_myagent_scalar()" function? > > Something like "finalize_myagent_scalar()", which would be a natural > place to implement the corresponding calls to netscnmp_ds_write_*(). > > What did I miss? Add the fo

Persistent storage

2007-09-04 Thread Peter Czaja
My goal is to persistently store some writable values of a custom MIB so they survive the lifetime of my SNMP AgentX subagent "myagent". I already stumbled upon the concept of DEFAULT_STORE and its netsnmp_ds_(get|set)_(boolean|int|string) calls. When compiling using "net-snmp-config --compile-