Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Mise à jour TAG un peu aléatoire; TAG Updated randomly [closed]

Bonjour,

Je parviens à mettre à jour mes tags via la commande :

C:\Windows\system32>"C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe" /force /server=ip/ocsinventory /tag=hello /np /debug

ceci-dit cela ce fait de manière un peu aléatoire j'explique:

"Tag: N/A"

"Tag: Hello1"

"Tag: Hello2"

"Tag: N/A" est remplacé par "Tag: Hello1" après que j'ai poussé "Tag Hello2".

Pour obtenir le "Tag: Hello2" dans la console admin je pousse "Tag: Hello3" mais ça ne fonctionne pas...

Avez-vous une solution qui actualise automatiquement.

Merci,

-----------------------------------------------------

Hi there,

I update my tags with this command line :

C:\Windows\system32>"C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe" /force /server=ip/ocsinventory /tag=hello /np /debug

But that performs randomly, explanation :

"Tag: N/A"

"Tag: Hello1"

"Tag: Hello2"

"Tag: N/A" is replaced by "Tag: Hello1" only if "Tag Hello2" is pushed .

And to get "Tag: Hello2" in admin panel i push with "Tag: Hello3" but it does'nt work...

Do you have a solution that works automatically.

Thanks,
closed with the note: Résolu
in OCS Inventory NG agent for Windows by (160 points)
closed by

2 Answers

+1 vote
Bonjour

Pour mettre le tag à jour depuis le client, il faut mettre l'option OCS_OPT_ACCEPT_TAG_UPDATE_FROM_CLIENT à 1 dans le fichier z-ocsinventory-server.conf.. Redémarrer apache après la modification.

Si cette option n'est pas positionnée, le tag est modifié depuis l'interface graphique.

Frank
by (88.5k points)
0 votes
Bonjour,

Merci pour avoir pris le temps de répondre ceci-dit l'option Update_From_Client avait déja la valeur 1.

Je parviens à faire la mise à jour des tags depuis le début, mon problème était que cela se faisait de façon aléatoire.

La mise à jour s'effectue bien, maintenant il fallait simplement patienter ~1 min.

Ligne de commande utilisée: C:\Windows\system32>"C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe
" /server=ipSERVER/ocsinventory /Force /tag=MyTag

----------------------------------------------------

use command line as above and wait ~1 min.
by (160 points)
 
Powered by Question2Answer
...