I did so, I got the correct OIDs and the NAS is reporting values on smnpwalk.
The only thing is that after, on HA, I get null values (0). As an example, for ‘volumeFreeSize’ snmpwalk reports a 1627 value, and HA shows 0.
snmpwalk also reports the OID back as iso.3.6.1…, however, if I change that on the sensor, after restarting it says that the value is not valid. For me, this is a sign that the OIDs that I have posted are correct… but I am not getting values.
No, the logs do not return any error. If I change the OID to something else, yes, it gives an error back. If I put the right one, as posted at the beginning, the error goes away, but I do not get any values.
No, I did not integrate the NAS, I did not figure any integration (nor Asustor API) that would work for an integration.
I am just trying to use the SNMP and it does not work. What I do know is that if I turn off the NAS, HA will show error on the sensors that I got defined. If I turn the NAS back on, the sensors work but the values come out blank (zero).
So my feeling is that the connection works, but the return values, for some reason, are not read/translated properly.
Using a snmpwalk I can read the OIDs and get values, but not on HA.
I sorted this sometime ago, but forgot to get back to provide a feedback.
At the end, everything was fine on the setup I had on HA, and the problem was that I needed to get the SNMP trap level activated for “Critical” and only had the “Information”.
Activating the Critical trap level on the NAS made this starting to work without any issues.
I’ve selected all the options in the NAS to filter out the problem, so also “critical” is selected.
I get some readings from diffrent sensors. Like “NAS-ADMVersion” & “NAS-SysTemperature” but other sensors like “NAS-cpuUsage” & “NAS-volumeTotalSize” stay blanc.
I just used the OID’s as mentioned in this link. Also followed step 5 here, downloaded the MIB’s directly from my NAS and read them out using “Paessler MIB Importer” and it’s showing the same OID’s as used in HASS.
I did not yet used an SNMP walk yet, because I asumed that the OID’s should be quite accurate when getting the same info from 2 diffrent ways from the official site and from the NAS itself. But could still try it ofcourse, what free program is best used for this?
oh btw, I’m not able to configure the SNMP version 3 into HASS (following this guide), it returns errors then. But I assume that the version 2c would be sufficient for retracting this info? Not sure though.
Yes, I agree on that! I was already looking for a way to do so.
It looks strange that the other OID’s respond with the same configuration, so maybe first check this out yes.
I never worked with SNMP and OID’s before. So actually looking for an effective way doing so.
Maybe I’m doing something wrong, but I’ve tried Netcruch Tools now to scan my NAS-IP. But then it returns only one node. And the OID is not quite corresponding with the OID’s from the official Asustor list, which makes it a bit confusing. Or maybe use the wrong application or settings for this scan?
Thanks a lot! That solves the problem of a few sensors (did not have time to try them all yet) so far!
I figure out that a couple of them, which are working now, missed the last digit. For example:
Was already wondering how configure the seperate HDD’s or Volumes, because it only showed one and the same OID. But I see you’re doing this with the last (missing in my config) diggit.
Where did you got this from? And what programm did you’ve used to do the SNMPwalk?
I just confirmed all the OIDs from there. To make it easier for you, on the ADM leave the Critical trap only. If you have the others (Error, Warning and Information) active you will get tons of OIDs that will not give you what you are looking for.
Does your “NAS Free Memory” baseoid gives the correct vallues?
I recently updated the memoy from 2 to 4GB. My NAS also mentions 4GB of RAM and a memory use of 29%
The OID’s however retrieve diffrent vallues, 3860 of total RAM, 503 of free RAM, which makes 13%?
try the linux os ram/memory free oids. That might work. Also, memory free is exactly what it says. It’s the available memory. So, that means your numbers are WAY off from what’s in your UI. (3860-503) / 3860 = 86%
I wouldn’t be alarmed about the 3860, sometimes these company’s remove the memory needed for base operations from the total. Either way, Try the linux OIDs for memory. That looks like a linux os.