
Hi All, I am a new libsmi user. I have downloaded the win32 binaries from ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/WIN32/libsmi-0.4.6.zip.
I can get the smilint application to check my MIB modules, only when I have placed the smi directory in the C:\smi path.
When I try to execute smilint from another directory, such as D:\usefulutils\smi then it fails to locate the other MIB's I am importing. This occurs even when I use a configuration file. I am using the example smi.conf I found in the source distribution of the library (which I modified to point to the correct paths and use semicolons instead of colons). Whatever I do, I can't seem to get smilint to find the additional MIB's when outside the C:\smi directory.
I execute the following command which will fail: D:\usefulutils\smi\bin>smilint.exe -c smi.conf -l 3 BASIC-MIB.txt BASIC-MIB.txt:5: failed to locate MIB module `SNMPv2-TC' BASIC-MIB.txt:12: failed to locate MIB module `SNMPv2-SMI'
I execute the same command from C:\smi and it works. C:\smi\bin>smilint.exe -c smi.conf -l 3 BASIC-MIB.txt
The smi.conf file includes the following path reference: path ;D:\usefulutils\smi\mibs
I am assuming I am going wrong somewhere with the smi.conf, but just don't know where.
If I have the C:\smi directory intact when I execute the command "D:\usefulutils\smi\bin>smilint.exe -c smi.conf -l 3 BASIC-MIB.txt" it also works.
Does anyone have any suggestions? Regards. Matt Jones.
participants (1)
-
Matt Jones