LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2015, 09:01 AM   #1
darkwall
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Add MIBSto SNMP


Hi,

I have a problem adding MIBS to SNMP on SLackware 14.1.
I want to monitor a UPS Tripplite and when i try to add MIBS t seems that the mibs won't load.
Here is my config

net-snmp-config --default-mibdirs
/root/.snmp/mibs:/usr/share/snmp/mibs


I put 2 mibs file in from Tripplite in /usr/share/snmp/mibs to ake it availble for everyone.
UPS-MIB-Definitions.txt
Tripp-Lite-MIB-Definitions.txt

When i try to trnslate here what i got...



snmptranslate -m +UPS-MIB-Definitions.txt -IR -On upsBatteryStatus
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (UPS-MIB-Definitions.txt): At line 0 in (none)
Unknown object identifier: upsBatteryStatus

Can someone can help?

Thanks in advance...
 
Old 06-22-2015, 09:03 AM   #2
darkwall
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
And i try this too

To be sure i didn't make a mistake...

root@ZABBIX:/usr/share/snmp/mibs# snmptranslate -m +UPS-MIB-Definitions -IR -On upsBatteryStatus
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (UPS-MIB-Definitions): At line 0 in (none)
Unknown object identifier: upsBatteryStatus


Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP Configuration problem - able to snmp outbound, unable to snmp inbound. sumncguy Linux - Desktop 2 04-28-2015 09:26 AM
add all network printers found via snmp call masonje Linux - Desktop 5 05-22-2013 03:20 PM
how to add MIB (Linux SNMP) lettuce84@naver.com Linux - Newbie 1 03-11-2011 07:30 PM
How to add SNMP packages to RHEL 5.4 FreeOSRules Red Hat 2 07-22-2010 02:34 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration