I need help in findnig out whether the "snmpd" command can control multiple 
tables and scalars which were generated with the MFD configuration file.

Here is a summary of what I did:

1) I unpacked the NetSNMPv5.4 into the following directory:

.../net-snmp-5.4/
 
2) I created an "OC-STB-HOST-MIB" directory as follows (since this is MIB I am 
working with):

.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/

3) I created subdirectories for each table and scalar located with the 
OC-STB-HOST-MIB file as follows:

.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAnalogVideoTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable-mib2c-orig/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostComponentVideoTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostDeviceSoftwareBase/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostDVIHDMITable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostEasObjects/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostHWIdentifiers/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostIEEE1394ConnectedDevicesTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostIEEE1394Table/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostInBandTunerTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostMpeg2ContentTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostPower/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostProgramStatusTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostRFChannelOutTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostSecuritySubSystem/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostSoftwareDownloadStatus/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostSPDIfTable/
.../net-snmp-5.4/agent/mibgroup/OC-STB-HOST-MIB/ocStbHostUserSettings/


4) I went into each table and scalar subdirectory and generated code using the 
"mib2c" command with the "mib2c.mfd.conf" configuration file (because I am a 
MIB dummy) .

5) I updated the code to populate the rows and table/scalar values.


Questions:

a) How do I compile the code located in the subdirectories for each table and 
scalar?   Do I simply go into each table and scalar subdirectory and execute 
the "make -f <myTableOrScalar>_Makefile" command individually or is there a way 
to compile all tables and scalar code together for the "OC-STB-HOST-MIB" MIB at 
one time?

b) I am assuming I should use the "/usr/local/sbin/snmpd" command to start the 
agent so I can then perform some GET requests to test the code I inserted, but 
I am not sure if this is correct.   Perhaps I run "individual" agents for each 
table/scalar or is there only "one" agent I need to start which will somehow 
control all GET requests for all my tables/scalars?  What do I need to do?  If 
I should only start one agent (ie: snmpd), then how do I go about doing this?



Extra (unrelated) question:

c) I am using "mib2c.mfd.conf" configuration files to generate code.   Does the 
code generated have the VACM packages incldued with it?  I mean am I able to 
use the security settings provided by SNMPv3 even though I decided to use the 
MFD configuration file?  I was told the VACM but not be incorporated into the 
MFD package.









       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to