Query on configuring master and subagent in net-snmp
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, It will be very much helpful if you can clarify the below 2 queries. Query 1: ------- I followed the procedure mentioned in below specified link. http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/mib_module/index.html I used the same exapmle MIB, which was explained in the above mentioned link i.e. NET-SNMP-TUTORIAL-MIB, to perform the snmpget operation successfully. And I got correct result by using the example MIB. I tried to create the agents using the steps mentioned in below mentioned link. http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html a) Start the snmpd process with -x option to enable the master. b) go to the path where the C file is existing i.e. /home/oki1/ramac/net-snmp-5.1.4/agent/mibgroup c) net-snmp-config --compile-subagent mysubagent <c file_name> (Note:- oid_name.c) It will create one subagent named as "mysubagent" d) ./mysubagent & e) any snmp operations like snmpget But after running the step "d" , it is looking for /var/agentx/master file. So mysubagent process itself failing. Query 2: -------- The example MIB explains about only leaf node. As we are using 2 MIBs (SIP-COMMON-MIB and SIP-SERVER-MIB) in our project. We need to generate the code for entire MIB instead of object-wise code generation. Any input regarding the same will be of very helpful to us. Thanks in advance. Vijaya ------------------------------------------------------------------------- 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users