Installing a net-snmp 5.6.1 problem....
My objective is to install net-snmp with perl module....
Currently i type command snmpd -d it will give UCD-snmp version: 4.2.1 Author: Wes Hardaker Email: ucd-snmp-coders@ucd-snmp.ucdavis.edu to update this version i download net-snmp-5.6.1.tar.gz put in /root/dashang/net-snmp-5.6.1.tar.gz Extract the that file cd net-snmp-5.6.1 type 1)./configure --prefix=/usr/local/net-snmp/ Then Long process is going on.process ask several question.. Then I type MAKE but still same process is going on.. No single file is install in /usr/local/net-snmp/ if i install perl cd perl MAKEFILE.pl it will give ERROR first install net snmp first.... PLEASE TELL ME THE SOLUTION HOW TO INSTALL SNMP.. when i type snmpd -v it should give latest version of snmp...... |
Quote:
And Perl has nothing to do with snmp...or do you mean you're trying to install a particular perl MODULE? Which one? Chances are you need to install the net-snmp development libraries. You say nothing about the version/distro of Linux you're using, but you can install net-snmp and the development libraries via your online repositories much easier, and you'll know they work too. |
i Solve my installation problem.....
But i still got problem on Adding Private Mib........ My objective is to add a a private MIB file...and perform operation snmpset and snmpget 1) I install net-snmp-5.3.3 ./configure --with-perl-modules make make install 2)I copied MIB file to /usr/share /snmp/mibs Now which step i have to take ??? i search that CREATE A TEMPLATE CODE of MIB file in .C and .H file For That i use tool mib2c i just try mib2c -c mib2c.scalar.conf ucdDemoPublic ---> it gives output outputting to ucdDemoPublic.c and ucdDemoPublic.h ... depth: 1 Number of Lines Created: 2 ucdDemoPublic.c 1 ucdDemoPublic.h 3 total Done. but the file content is blank....its not generating template code.... PLEASE GUIDE ME WHAT IS THE FURTHER STEP FOR ADDING MY PRIVATE MIB FILE.... THANK IN ADVANCE.. |
All times are GMT -5. The time now is 12:25 PM. |