You are not logged in.
Hi,
at each OCS sync (auto or manual), in the computers' log history appears the line:
"The OCSNG TAG of the computer changed from NA to NA"
I delete them in DB.
Is it possible to exclude these lines from sync?
Best Regards.
Offline
Hi,
we have found the same issue.
OCS Inventory NG plugin 1.0.2
GLPI 0.84.5
Is it possible to exclude these lines from sync?
Best regards,
Offline
Same here. Same crap fills up the logs, day after day:
12218626 25-10-2014 23:30 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12218104 24-10-2014 23:30 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12216372 23-10-2014 23:30 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12215206 22-10-2014 23:30 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12214062 22-10-2014 04:35 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12212974 20-10-2014 23:25 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12211760 19-10-2014 23:25 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12211296 18-10-2014 23:25 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12210784 17-10-2014 23:25 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12209489 16-10-2014 23:20 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12207923 15-10-2014 23:15 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
1500+ Computers / 1100+ users
Offline
Hi,
we have found the same issue.
OCS Inventory NG plugin 1.0.2
GLPI 0.84.5Is it possible to exclude these lines from sync?
Best regards,
Hi,
we still have the problem after update GLPI (0.84.7) and OCS (2.1.2).
Offline
We still have this issue with OCS Inventory NG plugin v1.03:
"
...
12236178 10-11-2014 22:50 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12234672 09-11-2014 22:50 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12234108 08-11-2014 22:45 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12233673 07-11-2014 22:45 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12232545 06-11-2014 22:45 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12231253 05-11-2014 22:45 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
12230260 04-11-2014 22:40 ocsinventoryng OCSNG link The OCSNG TAG of the computer changed from H001123 to H001123
...
"
1500+ Computers / 1100+ users
Offline
Exemples of OCS Inventory NG plugins
Plugins Windows
Microsoft Office Key retrieve
HP Servers - ILO and RAID informations
Retrieve Internet Explorer proxy settings
Retrieve information from a text file of a specific software
Retrieve information of a specific software stored
Take control of remote computers with TeamViewer
Retrieve Windows services
Retrieve Windows Users
Retrieve Shared Folders
Offline
Anyone solve this issue?
Sill present also in lpi 0.84.8 and glpi-ocsinventory-plugin 1.0.3
Maybe someone test this in 0.85 branch?
Offline
In 0.85.4 it seems resolved. I don't find them.
I will monitor.
Offline
Hi
At this French link, http://forum.glpi-project.org/viewtopic.php?id=34593 the people find a solution to fix that:
I'm French and try to translate :
This example is for 1.0.3 plugin, used with GLIP 0.84:
You need to edit the config file :
plugins/ocsinventoryng/inc/ocsserver.class.php
After the line 5263 ( $data_ocs = Toolbox::addslashes_deep($PluginOcsinventoryngDBocs->fetch_array($result_ocs));)
Insert:
/**
* 2014-01-14 MC
* On verifie que le TAG OCS a change
**/
if ($data_ocs["TAG"] != $line_links["tag"]){
close the "if" with "}" juste after this " if ($DB->query($query)){".
Example:
5262 if ($PluginOcsinventoryngDBocs->numrows($result_ocs) == 1){
5263 $data_ocs = Toolbox::addslashes_deep($PluginOcsinventoryngDBocs->fetch_array($result_ocs));
5264
5265 /**
5266 * 2014-01-14 MC
5267 * On verifie que le TAG OCS a change
5268 **/
5269 if ($data_ocs["TAG"] != $line_links["tag"]){
5270
5271 $query = "UPDATE `glpi_plugin_ocsinventoryng_ocslinks`
5272 SET `tag` = '" . $data_ocs["TAG"] . "'
5273 WHERE `id` = '" . $line_links["id"] . "'";
5274
5275 if ($DB->query($query)){
5276 $changes[0] = '0';
5277 $changes[1] = $line_links["tag"];
5278 $changes[2] = $data_ocs["TAG"];
5279
5280 PluginOcsinventoryngOcslink::history($line_links["computers_id"], $changes,
5281 PluginOcsinventoryngOcslink::HISTORY_OCS_TAGCHANGED);
5282 return $data_ocs["TAG"];
5283 }
5284 }
5285 }
This fix work good for me
Last edited by Darkeyes (2015-07-09 15:42:58)
Offline