Bug 1805252

Summary: [RFE] Schedule a daily count of managed VMs and print result to audit log
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Adam Grare <agrare>
Status: CLOSED NOTABUG QA Contact: Jaroslav Henner <jhenner>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.11.0CC: akarol, dmetzger, jhenner, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1805915 (view as bug list) Environment:
Last Closed: 2020-03-20 15:46:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1805915    

Description Satoe Imaishi 2020-02-20 15:06:30 UTC
To implement license management, get a daily count of managed VMs. 

PRs:

https://github.com/ManageIQ/manageiq/pull/19830
https://github.com/ManageIQ/manageiq/pull/19835


This work adds a scheduled task controlled. The frequency is controlled by :audit_vm_total key. A new method was added to miq_server which performs the count and logging.