Skip to content

SNMPv3 Password field does not correctly limit to size of database field #3969

@Ratief

Description

@Ratief

Cacti Version: 1.1.38
OS: Ubuntu 18.04.4 LTS

I am switching to SNMPv3 and it took me almost 2 hours to discover that Cacti is silently limiting the SNMPv3 password length to 50 characters (via HTML maxlength). I have been using a longer password for my Nagios installation so I know that SNMPv3 supports longer passwords. Is where a reason why Cacti is limiting this password? The SNMP community string is limited to 100 characters.

I believe that the default varchar length is 255 and as far as I have researched there is no reason to limit a varchar to less as you will not gain any performance benefits in doing so.

If the above is correct it would be nice if the SNMPv3 password could be increased to 255 characters. The SNMPv3 privacy password should also be increased from 200 to 255 as well (I have no idea why they have different lengths).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions