Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 14798  / 1 Year ago, tue, december 6, 2022, 6:21:37

I've tried to open several MIB files in tkmib without success. For example:



$ sudo apt-get install tkmib
$ wget http://www.mibsearch.com/vendors/Compaq/download/CPQHLTH-MIB
$ tkmib CPQHLTH-MIB


Click "walk", then you should get an error message like this:



setting opts
getaddrinfo: CPQHLTH-MIB No address associated with hostname
error:snmp_new_session: Couldn't open SNMP session at /usr/lib/perl5/SNMP.pm line 475.
unable to create session at /usr/lib/perl5/SNMP.pm line 547.
Tk::Error: Can't call method "getnext" on unblessed reference at /usr/bin/tkmib line 506.
main::snmpwalk at /usr/bin/tkmib line 506
Tk callback for .frame5.button2
Tk::__ANON__ at /usr/lib/perl5/Tk.pm line 250
Tk::Button::butUp at /usr/lib/perl5/Tk/Button.pm line 175
<ButtonRelease-1>
(command bound to event)


As I'm completely new to SNMP and MIB files, and man tkmib is sparse to say the least, what do I actually need to do to be able to work with this file?


More From » snmp

 Answers
6

Install snmp-mibs-downloader:



sudo apt-get install snmp-mibs-downloader


It install a lot of MIBS in /var/lib/mibs/ietf



Then load with File > Load


[#38554] Wednesday, December 7, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainubt

Total Points: 496
Total Questions: 98
Total Answers: 126

Location: Sao Tome and Principe
Member since Wed, Dec 21, 2022
1 Year ago
;