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-02-16 06:38:20

ikrar557
Member
Registered: 2023-02-16
Posts: 3

Error "Tag Agent"

hello, haii.

I face issue that i can't fix myself, the issue is when i push GLPI-Agent to server (https/http) with tag 1 string (e.g. STRING1) it's work perfectly fine, but when i push with 2 string (e.g. STRING1 STRING2) it only detected the STRING1, so the STRING2 will deleted. But it only occur when i install glpi agent via AppImage, but when using perl installation the issue doesn't occur.

The reason i keep using AppImage, because in my company most of them using opensuse 42.2 which quite old and deprecated and i can't install via perl installation because needed so many deps that i can't find and will breaks so many deps to.

Any suggestion will highly appreciated, thank you

Offline

#2 2023-02-16 09:54:19

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: Error "Tag Agent"

Hi ikrar557,

the issue is when i push GLPI-Agent to server (https/http) with tag 1 string (e.g. STRING1) it's work perfectly fine, but when i push with 2 string (e.g. STRING1 STRING2) it only detected the STRING1, so the STRING2 will deleted.

Sorry, but this sentence is not understandable. Can you explain which option you were using ? Can you provide samples ?


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#3 2023-02-16 11:10:22

ikrar557
Member
Registered: 2023-02-16
Posts: 3

Re: Error "Tag Agent"

gbougard wrote:

Hi ikrar557,

the issue is when i push GLPI-Agent to server (https/http) with tag 1 string (e.g. STRING1) it's work perfectly fine, but when i push with 2 string (e.g. STRING1 STRING2) it only detected the STRING1, so the STRING2 will deleted.

Sorry, but this sentence is not understandable. Can you explain which option you were using ? Can you provide samples ?


Sorry for the confusion, here's the example

sudo glpi-agent -s server.glpi,com --backend-collect-timeout=3 --no-task=ESX,Collect,Deploy -t 'STRING1 STRING2'
sudo: unable to resolve host IKRAR: Name or service not known
[info] target server0: server server.glpi,com
[info] sending contact request to server0
[info] sending prolog request to server0
[info] running task Inventory
[info] New inventory from kali-2023-02-16-11-48-35 for server0 (tag=STRING1)

When i push agent with tag 'STRING1 STRING2', it's only recognize the first STRING1 instead STRING1 STRING2
But yeah, it only occurs with installation using AppImage, i already tested in OpenSUSE and Kali Linux with produce same error

Offline

Board footer

Powered by FluxBB