Just clarifying, everything but the monitoring works, after a few minutes my device turns red.
found a error message in Nedi : "SNMP error An empty authProtocol was specified"
I really dont know what that means, I have a auth pwd in Nedi.conf and in my device.
I searched on internet and found that this error message probably comes from perl
Below is some code that solved the problem in OCS software
name : snmpv3
version : 3
USERNAME : my-internal-snmpv3-username
AUTHKEY : my-very-secret-password-for-encryption
AUTHPASSWD : my-very-secret-password-for-authentication
Here is a working code for me, modified in /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Modules/Snmp.pm (agent side) :
push @{$self->{communities}},{
VERSION=>$_->{VERSION},
NAME=>$_->{NAME},
USERNAME=>$_->{USERNAME},
AUTHPROTO=>"SHA",
AUTHPASSWD=>$_->{AUTHPASSWD},
PRIVPROTO=>"AES",
PRIVPASSWD=>$_->{AUTHKEY}
};