Hi Nicolas,
Sorry my previous message didn't include the screenshots for some reason, and I realise the explanation at the end was written incorrectly.
First, here is my UI:
When the DNS323 is offline the RAID status shows Unknown. It takes a few minutes for the status to update - its not instantaneous but that's fine for me.
Second, this is the cron config:
Third, to find the OID:
1. This command will list the extensions as MIB text:
snmpwalk -v 2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutput1Line
It gives an output of this:
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."raid_status" = STRING: [UU]
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."system_fan_speed" = STRING: 2857
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."system_temperature" = STRING: 42500
2. This command will show that the OID number I used converts to that extension entry:
snmptranslate .1.3.6.1.4.1.8072.1.3.2.3.1.1.11.114.97.105.100.95.115.116.97.116.117.115
It gives an output of this:
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."raid_status"
So how did I get the number in the first place? I remember doing this successfully , but it no longer works for some reason:
snmptranslate -On NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."raid_status"
Now I am getting this error message:
Unknown Object Identifier (Index out of range: raid_status (nsExtendToken))
Sorry. Presumably my memory is faulty and I did something else.
But it should be possible to work out the correct numbers as the last 11 numbers match the ASCII codes for the 11 characters making up raid_status - lower case r is ASCII 114 etc.
Hope that helps clarify some things.