Add Windows Support
The purpose of this blueprint is to add the necessary changes needed in order to have monasca-agent running on Windows.
In order to achieve this, there are a couple of things that needs to be done:
* Replace monasca_
* Avoid accesing Linux-specific modules, attributes, or functions on Windows. Examples include:
** signal.SIGUSR1 used in collector's daemon.
** os.statvfs function used in the disk checker.
** Different cpu stats used in the cpu checker that do not exist on Windows: nice, irq, softirq, iowait, steal.
* Refactor libvirt checker in a more generic and extendible one, so that Hyper-V, VMWare, and XenAPI checkers can easily be added.
Blueprint information
- Status:
- Started
- Approver:
- Roland Hochmuth
- Priority:
- Medium
- Drafter:
- Claudiu Belu
- Direction:
- Approved
- Assignee:
- Claudiu Belu
- Definition:
- Approved
- Series goal:
- None
- Implementation:
-
Needs Code Review
- Milestone target:
- None
- Started by
- Claudiu Belu
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Adds config-file arg option
Addressed by: https:/
Properly get the conf.d folder
Addressed by: https:/
Skip setting up handler for SIGUSR1 on Windows
Addressed by: https:/
Adds Windows support for cpu checker
Addressed by: https:/
Hyper-V: replaces in-tree hyper-v utils usage with os_win
Addressed by: https:/
WIP: Refactors libvirt checker
Addressed by: https:/
Adds Windows support for disk checker
Addressed by: https:/
Adds factory method to AgentChecker
Addressed by: https:/
Fully abstracts the hypervisor checker
Addressed by: https:/
WIP: Adds Hyper-V as a hypervisor checker
Addressed by: https:/
Adds older psutil support to process checker
Addressed by: https:/
Refactors hypervisor checker inspections
Addressed by: https:/
Adds hypervisor checker factory method
Addressed by: https:/
Fixes WMI related checkers
Addressed by: https:/
Adds documentation for monasca-agent on Windows
Work Items
Dependency tree

* Blueprints in grey have been implemented.