-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.3.x+xen related updates #162
2.3.x+xen related updates #162
Conversation
g-bougard
commented
Sep 26, 2016
- Fix Virtual Machines not inventored (XenServer 6.2) Fusion Inventory Agent 2.3.17 #88 , thanks @fquiroga for commands output sample so I was able to add unittests
- Fix Citrix Xenserver 6.5 VMs issue #150 : don't use xl inventory while xe available
Thank's @g-bougard how can i apply the patch to test the vm inventory working ? Regards. |
Hi @fquiroga the most simple way for you is to download and replace modified Xen.pm & XenCitrixServer.pm files with the following links: |
@fquiroga Hi, had you time to test this PR on your side ? Thx |
Hi @g-bougard, i will test the PR this afternoon and feedback. |
Hi @g-bougard, it seems it's working now with a few issues: 1- In GLPI, the machines are stored as a new Computer. List of virtual machines This are the logs when i manually run fusioninventory-agent: [root@xcp-01 Inventory]# fusioninventory-agent Regards. |
Thanks for the feed back, I'll investigate. |
Fix indentation
…ersion in system path
Fixed debian to debian base folder
Plus minor refacto
Thanks to Aethonan Telegram bot
Support DEVICE given PID Bump NetInventory task version to 3.0 Get rid of START/END messages in newer server protocol Add NetInventory protocol unittest
failing to run NetInventory task
Move common SNMP values getter to SNMP::Device class This fix a regression where MEMORY, RAM & CPU was removed from net inventory.
Support port & protocol options for NetInventory & NetDiscovery tasks
* Fix nmap output used toward 2 ips and the checked result was a merge of the 2 * Fix device discovery with only ping responding and without dns * Updated unittest to show the ping without dns support
Update nmap options for NetDiscovery task
The dependency was only used for few old MacOS tests and was failing for few cpantesters so reducing our cpantester score...
Cleanup related unittest
Register planned task by Target
Target class API refacto
Modify code to use getAllLines() API on the command get-edid output for the monitors
IT WORKED! File: 1 - REMOVE: Through debugging I noticed that this foreach is not feeding the hash "$ machine" correctly, so I removed it.
2 - ADD: as the above foreach did not work, I fed the hash $ machine manually. So I added the following lines just below the lines commented above:
3 - ALTER: I noticed that the_getUUID function was returning the UUID with a space at the beginning, so the "xe vm-param-list uuid=$machine->{UUID}" command did not return the correct content. So I edited the _getUUID function by adding a space after the ":". Before: After: 4 - ALTER: In the _getVirtualMachines function the labels for memory and processor are wrong. Before:
After:
Before:
After:
@fquiroga Man, can you make a test? @g-bougard Could you help me make a better code and then publish this fix properly? Like I said, I'm not a programmer. I just interpret codes well. hehe |
Hi @ntnbrito |
excellent friend! |