It is unclear to me what you are trying to achive. If you hard code a
community configuration into the VACM table (this is what your test code is
doing), then there is no need to save it in a file.
Mark.
----- Original Message -----
From: "Koren Ofer-BOK016" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, June 20, 2005 2:44 PM
Subject: RE: VACM and snmpv2c community string
Hi,
I found that my new VACM group wasn't saved in the persist file
(snmpd.conf) because of the following:
I'm calling vacm_parse_simple from my MIB file which call to
vacm_parse_group.
In vacm_parse_group the default gp->storageType value is set to
SNMP_STORAGE_PERMANENT.
When trying to save the data :
snmp_store --> snmp_save_persistent --> store_vacm ---> vacm_save
And here we save the groups only if gptr->storageType == ST_NONVOLATILE.
My question's are:
1. Is there a better way to create the new group within the agent as
NONVOLATILE so it will be saved in the persist file?
2. When I restart the agent, Is it re-load the last persist file ? In
other words, Where will my vacm groups saved while restarting the agent
?
Thanks a lot for your help.
Ofer.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 17.06.2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 17.06.2005
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders