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=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to