new to SNMP, need some hand-holding

So I'm setting up an SNMP monitor for a RAID array.  The manager/agent suite has already been installed on the remote server.  Next step is testing it, and figuring out how/what to monitor.  I'm looking for a piece of software that can generate packets from my local machine to the server to browse the remote MIB, get information, etc., so on.

The end goal is to monitor the RAID array for failures from a monitoring server.  Any advice towards that end is welcome.
LVL 51
Steve BinkAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

that1guy15Commented:
snmpwalk is a simple command that will pull all available OIDs and their values from a remote computer

snmpwalk -Oav -v1 -c public <ip address> <OID>

there are also lots of good free tools out there that will pull the same info for you. just google search mib browser.

0
Steve BinkAuthor Commented:
I found the net-snmp suite, and have it installed on my workstation.  I was trying to use snmptranslate to show information about the MIB file, which I copied over from the server (MEGARAID.MIB).  I put the MIB in c:\usr\share\snmp\mib, where I noticed the rest of the MIB files.  When I tried loading the file, it said it could not be found.  I think I finally got it to load by putting the full path/filename in the snmp.conf file.  At least, it stopped giving me the message that it couldn't be loaded, but I still can't be sure...

And that's because I need a server reboot.  We found a handy-dandy GUI tool to walk the whole SNMP spectrum offered by the server, and the RAID values were nowhere to be found.  We're assuming it needs a reboot after installing the agent because of that, and the fact that it told us to reboot and we didn't.  :)  That will happen this evening.  I'll catch back up with you on this tomorrow.
0
Steve BinkAuthor Commented:
In the meantime, what would be the command line to get a tree view from snmpwalk?  I've tried multiple options, but can't seem to nail it.  If not a tree view, then at least a view where the entire OID chain is printed for each new object.  Like this:

1 iso
1.3 another desc
1.3.6 yet another

instead of this:

1 iso
3 another desc
6 yet another
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

that1guy15Commented:
snmpwalk -Oav -v1 -c public 10.0.0.100 .1.3.6.1.4.1.2021.8.1.101

will give you values for all OID's under 1.3.6.1.4.1.2021.8.1.101 that are on the server
0
Steve BinkAuthor Commented:
I understand that part of it.  But when it prints out the results, it only provides the single level of OID.  I'd like to see an entire tree view for how the different objects relate.  Is there an easy switch to make that happen?
0
that1guy15Commented:
If you use snmpwalk without any switches then it should give you what you want.

snmpwalk -v 1 -c public 10.0.0.1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steve BinkAuthor Commented:
So far, that looks like what I want, but we still can't do a proper test today since the server was not rebooted last night.  Or maybe it attempted to reboot and stopped...we're not sure yet.

Anyways, when I query the SNMP agent, I still see none of the RAID items described in the MIB file, but it does seem to be parsed by snmpwalk.  So far so good, I suppose.  Waiting until tomorrow...again.
0
Steve BinkAuthor Commented:
ARGH!  Night shift failed to reboot again.  SysAdmin manager should be on tonight, though...thanks for your patience.
0
that1guy15Commented:
:) no problem
0
Steve BinkAuthor Commented:
My apologies for the late return.

We finally got the server rebooted.  It turned out the SNMP agent never really got installed.  We had to go through another installation process (and subsequent reboot) before it started replying with anything near expectations.  Once it was in, though, everything was coming up as expected.

So, I was doing it right...the server was "doing it wrong"..  :)  Thanks for your assistance.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Management

From novice to tech pro — start learning today.