fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
361 stars 148 forks source link

Impossible to force inventory on the computer panel #2901

Open brisingertrece opened 4 years ago

brisingertrece commented 4 years ago

Hello Everything works fine, the agent sends his inventory regularly. but if I try to force the execution of the inventory from the panel, I get an error message "impossible to communicate with the agent!" GLPI connectivity with fusioninventory, and the agent is correct. There is visibility between machines, and it automatically updates the object.

Is this forced button functional?

image

Thanks for everything

ddurieux commented 4 years ago

Check if port 62354 of your computer is open for the GLPI server, for example on server use telnet ipcomputer 62354

brisingertrece commented 4 years ago

GLPI connectivity with fusioninventory, and the agent is correct. Netcat -zv ip_agent 62354 Result: ... Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 10.1.3.97:62354. Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds. ... Netcat -zv ip_server 80 Result: ... Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to xxx.xxx.xxx.xxx:80. Ncat: 0 bytes sent, 0 bytes received in 0.00 seconds. ...

ddurieux commented 4 years ago

What operating system you have on your GLPI server?

brisingertrece commented 4 years ago

Hi, we have Centos 7 x64.

dennmuel commented 4 years ago

Hi, we're having the same issue basically. Port is open according to nmap. Is there any news on this?

ddurieux commented 4 years ago

On centos, selinux block when php try to open a remote connection, you need open it (not remember the command about it, but you can find it easyly on the internet)

dennmuel commented 4 years ago

Thanks for answering so quickly! :) Sorry, forgot to mention that we run GLPI on Debian. Like the same or rather a different problem?

BTW: For anyone landing here, the respective command might be this (didn't check it):

setsebool -P httpd_can_network_connect 1
setsebool -P httpd_can_network_connect_db 1

Does anyone know the equivalent command/setting for Debian?

chagasgb commented 3 years ago

Hi, I have the same issue. Is there any news?