Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfg2rpt on Linux?

Status
Not open for further replies.

bc3345

Technical User
Apr 23, 2003
3
US
Can cfg2rpt from contributed Bay Tools be run under Red Hat Linux 7.2 using PERL 5.80? I see that it is mostly PERL. I have all *.pm's and *.pl's under /usr/wf... When I execute "cfg2rpt -f config -o config.rpt" I get "xxxx is not a valid MIB version" wher xxxx is something like 11_01, 13_00, etc. I need to run under Linux and not Windows.
 
Never mind! I figured it out and everything works fine under Linux. If anyone is interested, e-mail me and I will tell you how to do it.
 
HI

Could you please post a description of how you solved the issue and got the cfg2rpt to run on linux.

Ta
 
The databases used in the original of this, i.e. 1100.db, are Sun (Solaris) databases. I transferred all databases to a Sun and used db_dump to create CSV files. Then I transferred them all back to Linux and used db_load from the CSV files. You must keep the names of all databases consistent with the original names because one of the PERL scripts, meta.pl I think (going on memory here) checks the value of the router O.S in the config file and compares for a like database file. The database files are nothing more than the *.rpt files found in Site Manager's lib folder I believe. Make sure you have all required *.pm's in PERL's @INC, or use perl -I /path to *.pm's to run things. It produces an ASCII report file just like Site Manager does. Good luck!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top