NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
a-j-m
Oct 06, 2016Tutor
snmp issue with 6.6.0
Since upgrading to 6.6.0 I'm no longer able to monitor disk usage using snmp. I've been using cacti to graph my 312 for the last 2 years.
The system disk and the two disk in the NAS no longer appear when I query the device. With snmpwalk I still see swap, memory etc but not the physical disks.
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Shared memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.36 = STRING: /dev/shm
HOST-RESOURCES-MIB::hrStorageDescr.37 = STRING: /run
HOST-RESOURCES-MIB::hrStorageDescr.38 = STRING: /run/lock
HOST-RESOURCES-MIB::hrStorageDescr.39 = STRING: /sys/fs/cgroup
I've tried adding the disks to snmpd.conf and restart but I can't see them.
disk / 5%
includeAllDisks 5%
16 Replies
Replies have been turned off for this discussion
- groupehnctAspirant
We have exactly the same problem. No more possible monitoring of the disk space since 6.6.0
- groupehnctAspirant
The application we're using is "The Dude" from Mikrotik.
We were using in the past functions using "oids" to calculate for instance the total size available in Go for our ReadyNas 3130 : round((oid("1.3.6.1.2.1.25.2.3.1.5.36")*oid("1.3.6.1.2.1.25.2.3.1.4.36"))/(1024*1024*1024)).
Since release 6.6.0, it looks like no more oid correspond to the disk and we are no more able to use the functions to monitor the Size available, the used size, etc.
- aaron_gcInitiate
There is something strange going on here. I have given Netgear the benfit of doubt and loaded the MIB file that came with the 6.6.0 firmware update.
After executing snmpwalk -c **** -v2c -m "READYNASOS-MIB.txt" ip_address_of_netgear I still was only able to see the following paths
RFC1213-MIB::mib-2.25.2.3.1.3.33 = STRING: "/"
RFC1213-MIB::mib-2.25.2.3.1.3.36 = STRING: "/dev/shm"
RFC1213-MIB::mib-2.25.2.3.1.3.37 = STRING: "/run"
RFC1213-MIB::mib-2.25.2.3.1.3.38 = STRING: "/run/lock"
RFC1213-MIB::mib-2.25.2.3.1.3.39 = STRING: "/sys/fs/cgroup"
RFC1213-MIB::mib-2.25.2.3.1.3.56 = STRING: "/media/USB_HDD_5"
RFC1213-MIB::mib-2.25.2.3.1.3.57 = STRING: "/run/nfs4/media/USB_HDD_5"This aligns with a standard SNMP Walk without the MIB File
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Shared memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.33 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.36 = STRING: /dev/shm
HOST-RESOURCES-MIB::hrStorageDescr.37 = STRING: /run
HOST-RESOURCES-MIB::hrStorageDescr.38 = STRING: /run/lock
HOST-RESOURCES-MIB::hrStorageDescr.39 = STRING: /sys/fs/cgroup
HOST-RESOURCES-MIB::hrStorageDescr.56 = STRING: /media/USB_HDD_5
HOST-RESOURCES-MIB::hrStorageDescr.57 = STRING: /run/nfs4/media/USB_HDD_5I have attached 3 USB Storage Devices which I can see only 1 and I'm also missing the main Partion on the RAID
I'm not sure if this is deliberate to prevent NMS from accessing the appropriate data, but there has certainly been a change or introduced bug
- aaron_gcInitiate
How to use SSH to monitor your Netgear NAS
For full disclosure, I'm a PreSales Engineer for Paessler AG in the APAC region. Paessler develops a Network Monitoring Solution called PRTG Network Monitor - https://www.paessler.com/
You can download the trial version, which converts to a 100 Sensor Freeware version after 30 days (100 sensors @ 10 devices).
I was able to see all me disks by using the SSH Disk Free Sensor - https://www.paessler.com/manuals/prtg/ssh_disk_free_sensor as illustrated below; (you will need to ensure that SSH is enables on the NAS)
Hopefully this will be a work around until the missing OIDs have been returned.
- ianyGuide
+1 here.
my array is not visible in neither Observium, nor plain snmpwalk...
given the fact I upgraded to 6.6.0 solely to be able to configure SNMP location, I'm really impressed by the fact that I lost the most important functionality in return to this capability...
- a-j-mTutor
Done a bit more digging, Readynas 6.5.2 to 6.6.0 included an upgrade to Debian 8, Jessie. The snmpd version shipping with debian Jessie dropped support for btrfs file systems, this is a bug and has been fixed. There is a fix in later versions of snmpd 5.7.3+, currently installed 5.7.2.1+dfsg-1
http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/2015-December/001680.html
https://sourceforge.net/p/net-snmp/bugs/2502/
It'll probably just work when they upgrade to Stretch, but that's probably going to be a while. Between now and then we'll have to hope that snmpd is upgraded in a Readynas update.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!