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 register station config table is engouh.
You need to register the column information - yes. You can't just say
"here's a table" and expect the agent to magically know all about it.
But you can define a structure that describes the columns of the
table, and register that as a single call. See mibII/sysORTable.c
for an example
> 2. I want to compile system_mib.c file which is located in
> /agent/mibgroup/mibII/system_mib.c, how can I do that. Can I get sample
> makefile and steps to compile.
If you've got a source distribution, then unpack this and run
./configure
make
When you come to adding your own module, copy the files ("myTable.c"
and "myTable.h") into the directory "agent/mibgroup", then run
./configure --with-mib-modules=myTable
make
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders