Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've put in all the Nagios settings to monitor this but my commands are timing out:

./check_snmp -H -o READYNAS-MIB::volumeStatus.1 -C public -P 2c

I noticed that I don't have the MIB for the ReadyNAS's snmp. ReadyNAS publishes a text file with this information here:

I'm using Ubuntu. I put this .txt file in /usr/share/snmp/. I suspect that isn't correct.

On my Netgear I have it set to use snmp "public" and allow my nagios server access:

When I run that check_snmp command it just times out. Any ideas on how to troubleshoot this? I'm something of a nagios and snmp noob. Thanks.

share|improve this question
From your server does "snmpwalk -v1 -c public" or "snmpwalk -v2c -c public" return anything? – 3dinfluence Feb 2 '12 at 23:34
Yes, it outputs a lot of data. It looks like snmp is working on the netgear. – DrZaiusApeLord Feb 3 '12 at 0:23

The default search path for mibs probably doesn't include /usr/share/snmp, nor /usr/share/snmp/mibs, depending on which Ubuntu flavor you're dealing with.

I believe the "correct" place for any recent release would be /usr/share/mibs/site/, which should cause it to be auto-discovered by the snmp tools.

You should avoid using human-readable OID references with nagios, as a general rule; it is a performance hit, and is easy to break (as you've discovered).

Once you have the MIBs, and you discover which OIDs you're interested in, use snmptranslate, or add "-On" to snmpwalk/snmpget, to get the numeric OIDs. You could also find them via a MIB browser.

There are several existing plugins for checking ReadyNAS devices, on Nagios Exchange:

You might want to give one of those a try, instead of fighting with the stock check_snmp plugin, or re-inventing the wheel.

share|improve this answer

On Ubuntu, READYNAS-MIB.txt should go into /usr/share/snmp/mibs and not /usr/share/snmp

Then if you run

 snmptranslate -Td  READYNAS-MIB::volumeStatus.1

it should show you the definition of volumeStatus. If it doesn't work, try removing /usr/share/snmp/mibs/.index and trying again.

To see all of the SNMP data on the ReadyNAS that may be worth monitoring, run

snmpwalk -v1 -cpublic .1 > somefile

the ".1" will give you everything the ReadyNAS has for SNMP OIDs.

share|improve this answer

Try using OID Value instead name ... instead of READYNAS-MIB::volumeStatus.1 uste the number ( i dont know the OID value of it but should be something like bla bla ) just to insure that snmpt works ok, and if it gave you the results its the mib problem, if not try to see if the ports are open for SNMP ( if you using firewall )

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.