You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-10-19 14:29:50

dszflavio
Member
Registered: 2023-10-19
Posts: 4

GLPI inventory Plugin - module agent error

Hello my Friends,

I' m having a problema with glpi inventory plugin, when i try to set my server as as module agent for netdiscovery, the mensage "You dont have permission to perform this action" appears to me.
I am logged with super-admin account.


Is anyone having the same problem?


Is there a way to fix this? or another way to inventory my network devices without running a task with the glpi inventory plugin?

Offline

#2 2023-10-19 17:55:17

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI inventory Plugin - module agent error

Check the GLPI access-errors log (files/_log/access-errors.log) for more information.


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

#3 2023-10-19 21:06:16

dszflavio
Member
Registered: 2023-10-19
Posts: 4

Re: GLPI inventory Plugin - module agent error

the log in access-erros.log is:

User ID: 11 tried to access or perform an action on /glpi/plugins/glpiinventory/front/agentmodule.form.php with insufficient rights. Additional information: User is missing the 1 (unknown right name) right for agent
        Stack Trace:
                /var/www/html/glpi/src/Session.php:984 displayRightError()
                /var/www/html/glpi/plugins/glpiinventory/front/agentmodule.form.php:44 checkRight()

Offline

#4 2023-10-19 21:22:36

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI inventory Plugin - module agent error

Which version of GLPI and the GLPI Inventory plugin?


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

#5 2023-10-20 00:11:42

dszflavio
Member
Registered: 2023-10-19
Posts: 4

Re: GLPI inventory Plugin - module agent error

The versions I use are:

GLPI 10.0.2
GLPI Inventory Plugin 1.2.0

Offline

#6 2023-10-20 00:27:17

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI inventory Plugin - module agent error

Those versions may have some compatibility issues. GLPI Inventory 1.0.5 removed the "agent" permission in favor of managing that permission in GLPI itself. I suggest updating GLPI to 10.0.10 (it would probably fix a lot of other issues and would get you up to date on security fixes). Also, check the profile assigned to your user to make sure that inventory/agent related permissions are granted.


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

#7 2023-10-20 00:41:26

dszflavio
Member
Registered: 2023-10-19
Posts: 4

Re: GLPI inventory Plugin - module agent error

Thank you for the advice.
I will update my glpi and plugin versions.
Is there any way to inventory network equipment via the CLI of my GLPI server?

Offline

#8 2023-10-23 13:59:06

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI inventory Plugin - module agent error

As far as I know, you have to use the network discovery and network inventory tasks to find and inventory network equipment.


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

Board footer

Powered by FluxBB