Help setting a SNMP Sensor for Asustor NAS

Thanks again! Will look for it! :+1:

1 Like

Thanks! Iā€™ve tried these Linux OIDā€™s but it almost gives the same results. However, the linux ā€œusedā€ value is almost the same as the asustor ā€œfreeā€ value, so I gues something is switched here or theyā€™ve used the wrong name for it in the Asustor OID list. At the time of making the screenshot, the Asustor ā€œactivity monitorā€ showed an memory use of 25%.

So is it possible the ā€œactivity monitorā€ shows the wrong value? Or that send values by the OIDā€™s are wrong? Can it be that it has something to do with the upgraded (doubled) memory? That itā€™s somehow still making measurments with the 2GB of RAM instead of the 4GB of RAM now?

Well going off the linux numbers:

3788100 + 1693000 = 5481100

and

1693000 / 5481100 = 30%

As for your question about asustor info, I have no idea. I donā€™t have that. Might be worth googling.

1 Like

I should try to get more info about this yes,

Excuse me, but I donā€™t understand. Making a sum of used and free memory should give the total amount of memory yes. But Iā€™m sure Iā€™ve only installed 2 soDIMMS of 2GB, making 4GB in total.

Taking the sum of the used and free memory gives a total memory of 5,5GB. Iā€™m not sure now, but donā€™t think this type of NAS has some onboard memory. The NAS itselfs also mentions a total RAM of 4GB.

Maybe I should just forget about this sensor.

Thanks a lot annyway, aprreciate your help :+1:

Iā€™ve looked it over again, and the sum of the values of ā€œused memā€ and ā€œfree memā€ got closer to the 4GB now somehow.
But I was thinking to configure a gauge of the used memory percentage, so the value of the sum of used and free mem is not verry important here. But it wil be give the most thrustworthy value on a range of 100 I guess. So Iā€™m going to use your method. Thanks! :+1:

1 Like

I also found on another post - unfortunately I didnā€™t bookmark it :woozy_face: - that Paessler SNMP Tester is a HUGE help. Put in the IP of your NAS, and under Request Type ā†’ Walk the first part of the OID (think this is the manufacturer / device part?), ie 1.3.6.1.4.1.44738 in this case.

Start a test run in the right-hand window and app gives you a list OIDs and their values for the device.

im about to give up to get cpuUsage. any ideas?

----------------------- New Test -----------------------

2022. 04. 04. 0:24:59 (3 ms) : SNMP v2c
2022. 04. 04. 0:24:59 (4 ms) : Walk 1.3.6.1.4.1.44738.2
2022. 04. 04. 0:24:59 (8 ms) : 1.3.6.1.4.1.44738.2.1.0 = "AS6602T" [ASN_OCTET_STR]
2022. 04. 04. 0:24:59 (12 ms) : 1.3.6.1.4.1.44738.2.2.0 = "42" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (29 ms) : 1.3.6.1.4.1.44738.2.3.0 = "55" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (32 ms) : 1.3.6.1.4.1.44738.2.4.0 = "3701" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (35 ms) : 1.3.6.1.4.1.44738.2.5.0 = "115" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (38 ms) : 1.3.6.1.4.1.44738.2.6.0 = "IntelƂĀ® CeleronĆ¢ā€žĖ˜ CPU @ 2.00GHz" [ASN_OCTET_STR]
2022. 04. 04. 0:24:59 (42 ms) : 1.3.6.1.4.1.44738.2.7.1.1.2.0 = "0" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (46 ms) : 1.3.6.1.4.1.44738.2.7.1.1.2.1 = "0" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (49 ms) : 1.3.6.1.4.1.44738.2.7.1.1.2.2 = "0" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (53 ms) : 1.3.6.1.4.1.44738.2.7.1.1.2.3 = "0" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (56 ms) : 1.3.6.1.4.1.44738.2.8.1.1.1.1 = "1" [ASN_INTEGER]
2022. 04. 04. 0:24:59 (60 ms) : 1.3.6.1.4.1.44738.2.8.1.1.2.1 = "1088" [ASN_INTEGER]

Hi,

At least for me, CPU is reported for each core, not as whole. You can either use just one core (thatā€™s what I am doing) or create a median sensor from the 4 cores.

Hope it helps

Hi,

Thank you for your answer.
Referring to ASUSTORā€™s table 1.3.6.1.4.1.44738.2.7.1.1.2ā€¦ should be what Iā€™m looking for. The problem is that it shows 0 for each.

AND

I tried PRTG Network Monitor and it showing the right values. Maybe Iā€™m wrong but based on sensor datas (ID) from PRTG ā€¦2.0 is belongs to the total usage % and 2.1/2.2/2.3/2.4 values for the cores. Unfortunately I really donā€™t know how can I get the exact OIDs from this program.

Thanks!

Hi,

Really not sure about it. Although, without much use, the CPU easily goes to 0% (at least in my case). I would recommend that you implement the sensor and check whether it changes over time, while using the NAS (entering into ADM, for example).

I just checked mine and is working fine with this:

- platform: snmp
  name: 'NAS CPU Usage'
  host: your_nas_ip
  community: public
  baseoid: 1.3.6.1.4.1.44738.2.7.1.1.2.0
  version: '2c'
  unit_of_measurement: '%'

Make sure to have all ā€œSNMP trap levelā€ activated.

Cheers

1 Like

Hello,

My CPU usage is around 5% in the best case. I use the same config as you. All SNMP levels are activated. I got every sensor data except from CPU. I gave up, so I go for Glances.

Thank you for your help anyways. :slight_smile:

Having the same problem, Iā€™ve configured some gauges (CPU, memmory, diskspace.) The all used to give certain values. But since some months now, I think after some HASS or ADM update, CPU is not giving anny value annymore.

I suppose something something changed or got removed at a newer version (dinā€™t changed the settings).

FWIW I couldnā€™t get the single CPU Usage value working so I went with the four individual core values
196609-196613