To start with, ensure that you have libsmi installed. almost all of the
cisco mibs require it. There are RH/Fedora rpms available. Some other
distros have a package available from their package trees. 

If you use the cisco mib tool from their support website, you will
notice most mibs have several pre-requisites. make sure all of these are
included in the same folder with your cisco mibs. Instead of running
"zenmib run" in the cisco folder, use "zinmib run *" so you just deal
with the mibs in that folder only (In case another site folder has an
error.)

On Fri, 2007-06-01 at 15:42 +0000, MoreDakka wrote:
> I'm trying to add MIBs for Cisco routers and switches, just trying v1 right 
> now so I put *.my in the %ZENHOME/share/mibs/site/ directory and this is what 
> I get when running zenmibs run.
> 
> 
> Code:
> 
> [EMAIL PROTECTED] cisco]$ zenmib run
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/irtf/IRTF-NMRG-SMING
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/irtf/IRTF-NMRG-SMING-EXTENSIONS
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/irtf/IRTF-NMRG-SMING-TYPES
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/site/CISCO-FASTHUB-MIB.my
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/site/OLD-CISCO-SYS-MIB.my
> INFO:zen.zenmib:Skipping file /usr/local/zenoss/share/mibs/site/VIPER-MIB.my
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/site/ESSWITCH-MIB.my
> INFO:zen.zenmib:Skipping file /usr/local/zenoss/share/mibs/site/cisco/mibs.tar
> INFO:zen.zenmib:Skipping file 
> /usr/local/zenoss/share/mibs/site/cisco/mibs/README-MIB.txt
> Traceback (most recent call last):
>   File "/usr/local/zenoss/Products/ZenModel/zenmib.py", line 166, in ?
>     zm.load()
>   File "/usr/local/zenoss/Products/ZenModel/zenmib.py", line 138, in load
>     depMap = self.dependencies(walk(ietf, iana, irtf, tubs, site))
>   File "/usr/local/zenoss/Products/ZenModel/zenmib.py", line 63, in 
> dependencies
>     defines, depends = self.parse(filename)
>   File "/usr/local/zenoss/Products/ZenModel/zenmib.py", line 43, in parse
>     fp = open(mibfile)
> IOError: [Errno 2] No such file or directory: 
> '/usr/local/zenoss/share/mibs/site/cisco/mibs/.message'
> [EMAIL PROTECTED] cisco]$ cd ..
> [EMAIL PROTECTED] site]$
> 
> 
> 
> 
> I'm not sure why it's not adding these, any help here would be greatly 
> appreciated.
> 
> Thanks.
> 
> ------------------------
>  Josh Henry
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=6810#6810
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
-- 
James D. Roman
IT Network Administration

Terranet Inc.On contract to:
Science Systems and Applications, Inc.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to