Bug 1446480

Summary: [RFE] add "Uptime" Column to oVirt Metrics Store
Product: [oVirt] ovirt-engine-metrics Reporter: nelson <nelson.lameiras>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: bugs, eheftman, mperina, oourfali, sradco, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2?
gklein: testing_plan_complete+
rule-engine: planning_ack?
sradco: devel_ack+
lsvaty: testing_ack+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release introduces the collectd uptime plugin which collects statistics and reports on the system's uptime.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:14:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1475135    

Description nelson 2017-04-28 07:42:35 UTC
Host listing screen should have a "uptime" column available (as Vm listings screen). This can be useful for many reasons, including quickly detecting recently rebooted hosts (following server crashes) and be aware of hosts running for "to long without rebooting".

Reason: Better overview.

Comment 1 Yaniv Kaul 2017-06-07 21:14:46 UTC
Shirly, do we / can we report host uptime via collectd (https://collectd.org/wiki/index.php/Plugin:Uptime )?

Comment 2 Shirly Radco 2017-06-08 06:48:08 UTC
(In reply to Yaniv Kaul from comment #1)
> Shirly, do we / can we report host uptime via collectd
> (https://collectd.org/wiki/index.php/Plugin:Uptime )?

We can add it. Should this be moved to metrics then?

Comment 3 Yaniv Kaul 2017-06-20 14:23:38 UTC
(In reply to Shirly Radco from comment #2)
> (In reply to Yaniv Kaul from comment #1)
> > Shirly, do we / can we report host uptime via collectd
> > (https://collectd.org/wiki/index.php/Plugin:Uptime )?
> 
> We can add it. Should this be moved to metrics then?

Yes. We can later re-think if we want it elsewhere as well.

Comment 4 Red Hat Bugzilla Rules Engine 2017-06-21 05:40:44 UTC
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.

Comment 6 Lukas Svaty 2017-09-21 15:52:15 UTC
plugin is loaded on engine and hosts

/etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin uptime

however stats are not included in samples as per BZ#1494190

tested in ovirt-engine-metrics-1.1.1-0.0.master.20170919065728.el7.centos.noarch

Comment 7 Lukas Svaty 2017-10-06 09:02:23 UTC
data reported and searchable by query: collectd_plugin = uptime

verified in ovirt-engine-metrics-1.1.1-0.0.master.20171001113530.el7.centos.noarch

Comment 8 Sandro Bonazzola 2017-12-20 11:14:46 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.