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 app...
aaron_gc
Nov 28, 2016Initiate
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_5
I 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_gcDec 03, 2016Initiate
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.
- ianyDec 08, 2016Guide
+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-mDec 11, 2016Tutor
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.
- a-j-mDec 29, 2016Tutor
I've fixed this on my NAS, used some of my spare time over the holidays.
I built a Debian Jessie VM (amd64) and then followed the build instructions here to rebuild snmpd
apt-get build-dep snmpd
cd /usr/src
apt-get source libsnmp-base libsnmp5 snmpd
edits as below then
debian/rules binary
Used the source patch here to edit the source
https://sourceforge.net/p/net-snmp/bugs/2502/
edited the debian/rules to add --enable-ipv6 as it was building without IPv6 support for some reason.
Copied the .deb files to my nas and installed (dpkg -i ...) it's all working fine now and I don't seem to have broken anything.
libsnmp30_5.7.2.1+dfsg-1_amd64.deb
snmpd_5.7.2.1+dfsg-1_amd64.deb
snmpwalk results for before and after patch as closely as I'd expect and I can see the btrfs data now.
All my data is backed up elsewhere, I suggest you do the same before trying this.
Related Content
NETGEAR Academy

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