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 2024-05-10 10:25:37

Franga92
Member
Registered: 2024-05-10
Posts: 5

Check value audit during deploy

Hello guys,

I ask you for a little info. I am updating the agent and via task and added a check to verify the installed version.

Even though the installed version is 1.7.3 he keeps offering me the update.

This is my configuration. What am I doing wrong?

TYPE=     Registry value not equals to

LABEL= Audit label

Path to the value= HKEY_LOCAL_MACHINE\SOFTWARE\GLPI-Agent\Installer\Version

VALUE= 1.7.3

If not successful= Start job now

Offline

#2 2024-05-10 14:53:32

Kortal
Member
Registered: 2024-04-24
Posts: 20

Re: Check value audit during deploy

Hello, you need to use:
If not successful= Skip job

It is a double negative comparision, dunno if it makes sense ? (it does in my head at least... big_smile)

I think it would be better to have the operator "If successful = xxx", cause it is easier to apprehend i suppose

Last edited by Kortal (2024-05-10 14:55:06)

Offline

#3 2024-05-10 15:12:58

Franga92
Member
Registered: 2024-05-10
Posts: 5

Re: Check value audit during deploy

Hello kortal,

thanks for your reply. i tried as you advised but it didn't work.

In my opinion the problem is that he can't get the value of the string, but goes to read only the registry key.

Offline

#4 2024-05-10 15:33:16

Kortal
Member
Registered: 2024-04-24
Posts: 20

Re: Check value audit during deploy

It is weird, it is working properly on my side.
This is the audit i'm using for this exact same purpose (i'm upgrading agents with deploy task too)
https://imgur. com/a/gduxQBt

don't you have any error in the agent log ?
what is the log in the deploy task ?

Last edited by Kortal (2024-05-10 15:34:32)

Offline

Board footer

Powered by FluxBB