[2015/04/09 02:18:01] #net-snmp <HappyKeyboard> Hi ! I am trying to use SNMP to monitor the RAID status of a server, but I'm probably missing something
[2015/04/09 02:18:24] #net-snmp <HappyKeyboard> Server-side, I added this line to /etc/snmp/snmpd.conf : pass .1.3.6.1.2.1.10.7.11.1 /usr/lib/nagios/plugins/check_md_raid.sh 10 5
[2015/04/09 02:18:52] #net-snmp <HappyKeyboard> Where check_md_raid.sh returns a string and sets its exit number according to the status of my RAID array
[2015/04/09 02:20:22] #net-snmp <HappyKeyboard> Client-side, I execute this command : snmpget -v 3 -l authPriv -a SHA -x AES -u HP50 -A private -X private 192.168.1.1 1.3.6.1.2.1.10.7.11.1.0
[2015/04/09 02:20:38] #net-snmp <HappyKeyboard> And this is what I get : EtherLike-MIB::dot3HCStatsEntry.0 = No Such Instance currently exists at this OID
[2015/04/09 02:20:56] #net-snmp <HappyKeyboard> (removing the .0 at the end of the snmpget command results in the same message)
[2015/04/09 02:21:28] #net-snmp <HappyKeyboard> So, what do I do wrong ? I must have missed something but haven't found what so far
[2015/04/09 04:51:32] #net-snmp <HappyKeyboard> Problem solved ! I had to use extend-sh instead of pass
[2015/04/09 04:54:07] #net-snmp <HappyKeyboard> But i have another problem now : when I try to snmpget NET-SNMP-EXTEND-MIB::nsExtendOutputFull.\"myextendname\" , I get this error : authorizationError (access denied to that object)
[2015/04/09 04:54:26] #net-snmp <HappyKeyboard> Only with SNMPv3
[2015/04/09 04:54:41] #net-snmp <HappyKeyboard> No problem when I use SNMPv2c/v1
[2015/04/09 05:22:44] #net-snmp <HappyKeyboard> I'm so dumb, I forgot to add -l authPriv in my command line... Problem solved