You are not logged in.
Right now I am forcing an inventory check using the fusion-agent on a client which works but creates another server entry under inventory -> computers in glpi. This would be fine as I could delete the old server entry however I have made some manual additions to the comments field, etc. that I dont want to lose or redo everytime I want to update the inventory on a server.
Can I either hard set a comment section, etc. on the client so that field gets populated when an inventory check is ran? Or is there another way people are making this work that I am un-aware of.
Thanks!
Offline
1/ if it create new computer insteal update existing, you may update your import devices rules.
2/ fter have computer created by FusionInventory, if you modify a field manually, this field will be locked and automatic inventory will not update it
Offline
That sounds exactly what I am looking for. I've been in the plugin section but am unable to find how to set the import rules.
Offline
Little more on this. I go to GLPI-> Plugins -> Fusion -> Equipment import. However there are no pre-existing rules defined.
Last edited by uk6999 (2013-03-27 00:29:04)
Offline
Oh strange, what version of plugin FusionInventory you have?
Offline
FusionInventory Agent (2.1.14)
Red-Hat 6.3
Offline
I just got it to work by adding my own rule for one server. That is a ton of rules to add but hey if it works and is one time only I guess I can live with it.
I did ( Assets to Import : Name ) Condition: Already exists in GLPI
Actions: Fusion Inventory -> Link if possible otherwise create device.
After I re-ran a forced inventory check the server showed a current time stamp update and retained the previous comments I had entered. I still have some more work to do on this to make sure it works as intended. I did try setting a couple of global "catch all" conditions in the Equipment Import section but it did not work.
Last edited by uk6999 (2013-03-27 00:48:57)
Offline
add these criteria in your rule :
* itemtype is computer
* name exist
Offline
That doesnt seem to work.
Criteria:
Criteria: Assets to import: Item Type
Condition: Is
Reason: Computer
Actions:
Fields: FusionInventory link
Action type: Assign
Value: Link if possible, else create device
Offline
This works. At least the few times I have tried it.
Criteria:
Criteria: Assets to import: Name
Condition: Already present in GLPI
Reason: Yes
Actions:
Fields: FusionInventory link
Action type: Assign
Value: Link if possible, else create device
This matches on all computers. Think I will stick with that if it continues to work. Thank you for the direction in getting this fixed ddurieux and all the speedy replies.
Offline