LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-10-2014, 08:23 AM   #1
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
A little lost with SNMP and OID


We got two UPS at different locations, one is responding to snmpget but the other does not. I have never worked with SNMP earlier, just knew it was to control network devices, but I think the problem might be the OID.

I'm copying the same command that is working, just changing the ip, but no status is returned. What else could I do?
 
Old 02-10-2014, 09:39 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Are these two units the same make and model? If not, using the same OID is not likely to work.

Are you using the right community name and SNMP version? Does snmpwalk work?

Can you ping the unit? Have you verified that the IP settings are correct (IP address, netmask, gateway)?
 
Old 02-10-2014, 03:54 PM   #3
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
Don't know about the units, but I guess they are not the same.

Yes, both the community and version are ok. Tomorrow at work I'll try the snmpwalk.

Network settings are ok as well. Can ping or access through telnet.

I tried to actually understand the .mib file, trying to understand from where did the working OID come from, but I couldn't find any clue. For instance, the OID has a 33, so if I didn't understood wrong, somewhere within the .mib file should be a line saying "whatever, 33", shouldn't it? Because there wasn't any :S
 
Old 02-11-2014, 04:27 AM   #4
satheesh_n
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Just check the firmware of those two devices, if not matching then upgrade it with the latest one. We also faced same problem with other type of network devices, after upgrading the firmware. It worked fine. Just give a try.
 
Old 02-11-2014, 08:12 AM   #5
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
Ok, I understand now the whole thing of Mib and OID.

It seems we got network problems now, or maybe a faulty UPS because SNMP port is enabled and configured, but nmap shows it as closed.
 
  


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
How to associate SNMP OID with specific parameter under SNMP agent? m4rtin Linux - Server 1 09-16-2011 10:04 AM
snmp RAID OID hostatonce Linux - Software 0 10-28-2007 11:53 AM
How to override one OID in SNMP? clacour Linux - General 1 07-28-2007 03:22 PM
SNMP OID for slackware linux coolrock Slackware 2 09-27-2006 04:23 AM
snmp set my oid alaios Linux - Networking 2 06-02-2005 11:57 PM

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

All times are GMT -5. The time now is 03:47 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