Hi Emmanuel,
Just stumble aver the same situation for another data collector bundle.
In my case, the explanation was that the status field was set in the params.local.xml file in the form of
~~~
<vspherefarmcollector>
<fields>
<status>
<json>
<update>1</update>
</json>
</status>
</fields></vspherefarmcollector>
~~~
(the exact syntax is a wild guess, in my case, the field was not 'update', but, if this is your situation, you should be able to fine tune my answer :))
And, if set, this parameter take precedence over the value in the json file.
HTH,
Pascal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i don't think that the file exists by default. You can create one, in the 'conf' directory. Values in the params.local.xml file take precedence over the txo params.distrib.xml files (one in the conf directory (i think) and the other in the connector directory (Again, speaking from memory). I'm sure that there are two files :) So, if you don't have a params.local.xml file the values a readen from the params.distrib.xml files.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a problem that I can't solve.
I would like the status of the PCs not to be modified by the synchro between OCS and ITOP.
I modified the file ocsng-data-collector/collectors/OCSPCCollector.json by putting this :
But every time I run a sync, on ITOP, the parameters come back to this state:
Field, Reconciliation, Update, Update policy
Status No Yes Master (locked)
Do you know where the problem comes from?
Best regards,
Emmanuel
Hi Emmanuel,
Just stumble aver the same situation for another data collector bundle.
In my case, the explanation was that the status field was set in the params.local.xml file in the form of
~~~
<vspherefarmcollector>
<fields>
<status>
<json>
<update>1</update>
</json>
</status>
</fields></vspherefarmcollector>
~~~
(the exact syntax is a wild guess, in my case, the field was not 'update', but, if this is your situation, you should be able to fine tune my answer :))
And, if set, this parameter take precedence over the value in the json file.
HTH,
Pascal
Hello Pascal,
You are talking about the params.local.xml file.
But in which directory is it located?
Emmanuel
Hi Emmanuel,
i don't think that the file exists by default. You can create one, in the 'conf' directory. Values in the params.local.xml file take precedence over the txo params.distrib.xml files (one in the conf directory (i think) and the other in the connector directory (Again, speaking from memory). I'm sure that there are two files :) So, if you don't have a params.local.xml file the values a readen from the params.distrib.xml files.