Hi,
I have recently started using snmpagent and thold version 0.6.
When I change "snmp notification receiver" to use snmpv3 and set the auth password and\or the privacy password, I get the error "Error: Passwords do not match, please retype."
I have tried many simple combinations of passwords and it simply will not accept a new password.
I noticed that when I initially enabled the plugin, it used the default snmp settings and the password fields had hashes in them and if I use the default settings I can save the config but not when I change the passwords!
Please let me know if any logs would help investigating the issue?
Thank you.
Snmpagent error when using snmpv3 notifications
Moderators: Developers, Moderators
Re: Snmpagent error when using snmpv3 notifications
This seems to have something to do with the password check algorithm. Uncommenting the password check works (well password was saved have not tested v3 yet):
Original:
Uncommented:
Also there is no check for privacy password!
Original:
Code: Select all
if ($save["snmp_version"] == 3 && ($save["snmp_auth_password"] != $save["snmp_auth_password_confirm"])) {
raise_message(4);
}
Code: Select all
/*if ($save["snmp_version"] == 3 && ($save["snmp_auth_password"] != $save["snmp_auth_password_confirm"])) {
raise_message(4);
}*/
Re: Snmpagent error when using snmpv3 notifications
Any plans to fix this bug in the next SNMPagent plugin release? SNMP v3 is very popular these days
Who is online
Users browsing this forum: No registered users and 0 guests