There's a strange error when that Unix agent performed an SNMP discovery:
[snmp] Failed to load Ocsinventory::Agent::Modules::Snmp::If_Mib: Missing
right curly or square bracket at /usr/local/share/perl/5.20.2/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm li
ne 178, at end of line
syntax error at /usr/local/share/perl/5.20.2/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm line 178, at EOF
Compilation failed in require at (eval 244) line 2.
BEGIN failed--compilation aborted at (eval 244) line 2.
So, I inserted manually the "missing" bracket at the end of file (before the "1;" line). And..... it worked!
O.S: Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Agent version: Ocsinventory unified agent for UNIX, Linux and MacOSX (2.3)