Re: Mib2c /Win32
"taner memet ali" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <001201c5e538$83a7f900$6502a8c0@psilaptop> |
----- Original Message ----- From: "jdx" <[email protected]> To: "taner memet ali" <[email protected]>; "net-snmp-users" <[email protected]> Sent: Tuesday, November 08, 2005 4:51 PM Subject: Re: Mib2c /Win32 Well, thank you for your first answer ; for I could not find the files, I've go to 5.2. (just compiled from a few weeks : Build date: October 18, 2005) And that time I found good mib2c.*.conf files, but.... >2°/ with net-snmp-5.2.2.pre1-1.win32.exe >( >http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.2.pre1-1.win32.exe > ) > No mfd-top.m2c file (In Linux tar file, they are in: > ./local/mib2c-conf.d/* => where to copy them in Windows tree ? > > And I didn't succeed to get mib2c(.pl) using MIB files in another place > than default directory c:/usr/share/snmp/mibs, > unless I was using c:/usr/etc/snmp/mib2c.conf > with various parameters for mibs ..... > > And may I suggest to rename Perl scripts in .pl > (for the BAT files aren't mandatory ! /XP ) > >Could you explain where to unpack them from the >Linux .tar.gz ! i have copied the all files in /local/mib2c-conf.d to my folder were the mib2c.*.confs are and it worked >It may smell like I also made mistakes in conf file, >but I'm not surte of it in C:/usr/etc/snmp = > mibdirs C:/usr/work;C:/usr/share/snmp/mibs > persistentDir C:/usr/snmp/persist > tempFilePattern C:/usr/temp/snmpdXXXXXX this seems ok to me Thanks jdx >PS: for Win32 packaging.. >When I was modifying MIB2C.bat >adding just: SET MIBS=ALL in second line, >it works better, but still asks for IANA-RTPROTO->MIB.txt >that I supplied for another tool. May be it would be >added to package. you should load the mib in snmp.conf like this mibs +IANA-RTPROTO-MIB >Another question, if you please : >why does this script ( MIB2C.bat ) call just the <same->name-perl-script> >is it just not to have to rename Perl scripts with a .pl >extension ? >Or is there any other better reason ? For I didn't >understand >why to have two calls on IF test like : >if "%OS%"=="Windows_NT" goto ... i dont know maybe the perl guru Thomas Anders can help you here with best regards ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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