You are not logged in.
I have this plugin installed and active but when I click on the Printer in question and then click on the "Update Printer Data" I get this error message. I am not sure what I have to do to get it loaded.
Offline
You need to install the "php-snmp" PHP extension. It installs like other PHP extensions for your OS/platform.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
I should clarify that I am running Ubuntu 22.04 LTS and php-snmp is installed via apt-get but I still get the same error message. I have tried "systemctl restart apache2" but that didn't do anything.
Offline
Does it show up in the list in Setup > General > System tab under the "Server" section?
Simply installing the extension for the right PHP version should be enough.
Do you have multiple versions of GLPI installed?
Check your system PHP version with:
php --version
and compare it to what Apache is using (Check system info in GLPI under Setup > General > System tab).
You can switch the system default version with the update-alternatives command, or install the snmp extension for the specific version used by Apache (Ex: php8.2-snmp).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
I think I got it working now. I have php 8.1 so I install the Php_SNMP for 8.1 and I am not getting the error message anymore. Now I have to find some documentation on how to configure it correctly.
Offline