No entry in USMUserNameTable

Hello,
I am using the agent++4.3.1 and browsing my agent from MIB Explorer Pro (5.0.2).
I picked up “SHADES” user from code example and all the time when request is answered I have WARING: USMUserNameTable: No entry for (user name) in table: (SHADES)
What this warning means?

Regards,
Safet

Hello,

snmp++ has to map the user name to a security name. The function USM::get_security_name() calls first USMUserNameTable::get_security_name() and then USMUserTable::get_security_name().

If you only added the localized user to the USM (this will happen when agent++ API is used), the USMUserNameTable does not have an entry for the user, but the user is found in the USMUserTable.

Kind regards,
Jochen

Hello Jochen,

Thank you. Is this important to fix and if yes what I should do?

Regards,
Safet

Hello,

you do not have to fix anything. But maybe I will lower the log level to info…

Kind regards,
Jochen

Thank you. I will do it on my side to. Any way in the release version I will disable all logs.

Regards,
Safet