Skip to content

Adding the possibility to choose the SNMPv3 security level and context.#109

Open
PaliPalo wants to merge 1 commit intoInfotelGLPI:masterfrom
PaliPalo:master
Open

Adding the possibility to choose the SNMPv3 security level and context.#109
PaliPalo wants to merge 1 commit intoInfotelGLPI:masterfrom
PaliPalo:master

Conversation

@PaliPalo
Copy link
Copy Markdown

@PaliPalo PaliPalo commented Apr 1, 2026

Plus adapting the SNMP form to warn more precisely which field is needed in SNMPv3.

There's two fields added to glpi_plugin_printercounters_snmpauthentications table:

  • context varchar(255) default ''
  • security_level tinyint not null default 0

The method setSNMPAuth(...) in inc/commonsnmpobject.class.php has been modified to take this new fields into account.

And the inc/snmpauthentication.class.php has been adapted to present new fields and set the handlers for the security level dropdown list.

TODO: Translations in other languages

Plus adapting the SNMP form to warn more precisely which field is needed
in SNMPv3.

There's two fields added to glpi_plugin_printercounters_snmpauthentications
table:

 - context varchar(255) default ''
 - security_level tinyint not null default 0

The method setSNMPAuth(...) in inc/commonsnmpobject.class.php has been
modified to take this new fields into account.

And the inc/snmpauthentication.class.php has been adapted to present
new fields and set the handlers for the security level dropdown list.

TODO: Translations in other languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant