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-12-01 09:48:10

JAssfalg
Member
Registered: 2023-06-16
Posts: 8

GLPI Agent Proxy Installation on Ubuntu

Hello together,
i install the agent on Ubuntu.

-----------------------------------------------------------------------
sudo apt install libfuse2
chmod +x glpi-agent-1.6.1-x86_64.AppImage
sudo ./glpi-agent-1.6.1-x86_64.AppImage --install --server <URL>

-----------------------------------------------------------------------
That works.

My .cfg files for the config are in the directory /etc/glpi-agent

When in move the proxy-server-plugin.cfg to proxy-server-plugin.local and activate disable=no i geht not the proxy.

With windows it works perfektly but i didn`t work with windows.

I had the supposition that the complete directory the agent did not read the cfg files.

But then i change the Server link in the file /etc/glpi-agent/conf.d/00-install.cfg it works.

I want to use the agent as a proxy how can i do that ?

Thanks for all Tipps.

lg Joachim

Last edited by JAssfalg (2023-12-01 10:04:09)

Offline

#2 2023-12-01 11:46:47

JAssfalg
Member
Registered: 2023-06-16
Posts: 8

Re: GLPI Agent Proxy Installation on Ubuntu

Hello, with the command " sudo journalctl -u glpi-agent -e" i find the error

Config: unknown configuration directive disable
config: unknown configuration directive url_path

this are the two variables in the file proxy-server-plugin.cfg

What is the right way it? the proxy doesn´t work.
lg Joachim

Last edited by JAssfalg (2023-12-01 12:00:24)

Offline

#3 2023-12-07 14:48:10

JAssfalg
Member
Registered: 2023-06-16
Posts: 8

Re: GLPI Agent Proxy Installation on Ubuntu

Here a quick installation for Ubuntu:
### Install GLPI Agent Proxy
sudo apt install libfuse2
glpi-agent.readthedocs.io/en/latest/installation/linux-appimage.html

chmod +x glpi-agent-1.6.1-x86_64.AppImage
sudo ./glpi-agent-1.6.1-x86_64.AppImage --install --server glpi.staging.ippen.space/front/inventory.php

sudo journalctl -u glpi-agent -e
sudo glpi-agent --list-tasks

### Config Proxy
cd /etc/glpi-agent
sudo mkdir inventory
sudo nano proxy-server-plugin.cfg
disable = no aktivieren
only_local_store = yes
local_store = /etc/glpi-agent/inventory

### Config the Agent
sudo apt install ufw
sudo ufw enable
sudo ufw allow 62354
reboot service
systemctl enable glpi-agent

### Config SSL
sudo nano ssl-server-plugin.cfg
disable = no aktivieren

Fingerprint: openssl x509 -noout -fingerprint -sha256 -in cert.pem

Offline

Board footer

Powered by FluxBB