Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 787225

Summary: Probe Log Agent : log size - should be renamed to avoid confusion
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7CC: cperry, jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-1.8.40-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 16:21:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 871344    

Description Miroslav Suchý 2012-02-03 15:52:45 UTC
Description of problem:
Probe Log Agent : log size - does not show size of log

Version-Release number of selected component (if applicable):
spacewalk 1.7 nightly

How reproducible:
always

Steps to Reproduce:
1. create probe Log Agent : log size for /var/log/messages
2. on monitored machine do chown root:nocpulse /var/log/messages; chmod g+r /var/log/messages
3. push scout config
  
Actual results:
there is some ploted value on first execution probe, but then graph show 0 size of file although it is 100k big.

Expected results:
graph which show real size of file

Comment 1 Michael Mráka 2012-02-14 14:39:08 UTC
The result of investigation is - "size" metric is in reality "size increment from the last check". So in the case above 0 increment si expected.

I agree that current desctiontion of the probe (as well as probe Log Agent: Lines) is misleading and should be changed to something like "Size Increment" (resp. "Lines Increment") for better understanding.

Comment 2 Clifford Perry 2012-02-16 15:29:29 UTC
Agree - can we update the description to better match the functionality of the probe code.

Comment 3 Jan Pazdziora (Red Hat) 2012-04-10 14:16:08 UTC
Fixed in Spacewalk master, ab041f279e3b44cacdc09338e4701110acfa9ee4.

Comment 4 Jan Pazdziora (Red Hat) 2012-10-30 19:25:51 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 5 Jan Pazdziora (Red Hat) 2012-11-01 16:21:41 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18