Hi,
you may have a lock at this file:
agent/mibgroup/examples/netSnmpHostsTable_access.c
The HostsTable will read/writes /etc/hosts for example.
Best Regards
Claus
On 19.01.2013, at 20:57, Guillermo Veneranda wrote:
Hello,
I found very useful the examples provided to create new modules
(agent/mibgroup/examples).
I need your help with the following.
At the beginning of the file scalar_int.c says:
"/ ** @ Example scalar_int.c
* This example Creates some scalar registrations That Allows
* Some variables to be accessed simply via SNMP. In a more
* Realistic example, it is likely That These variables would Also be
* In other ways manipulated outside of SNMP gets / sets. '
This other way would be reading and writing a text file.
How I can make the agent read and write the variable in a text file
whenever performs a SNMP get / set operation?
Thanks in advance.
Guille
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders