Bug 564107 - Log level of Sigar failures: Change from DEBUG to ERROR.
Summary: Log level of Sigar failures: Change from DEBUG to ERROR.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 1.3
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: ews1.0.2 rhq_triage
TreeView+ depends on / blocked
 
Reported: 2010-02-11 20:52 UTC by Ondřej Žižka
Modified: 2011-03-08 12:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-08 12:50:03 UTC
Embargoed:


Attachments (Terms of Use)
Agent's log. (316.24 KB, text/plain)
2010-02-11 20:55 UTC, Ondřej Žižka
no flags Details

Description Ondřej Žižka 2010-02-11 20:52:57 UTC
Description of problem:

I've been trying to add Tomcat 5.5.28 from EWS 1.0.1 on Windows 2003. Tomcat exposes JMX, but the agent fails to send the information. This is what jshaughn identified as the most likely culprit:

-------------------------
2010-02-11 20:52:06,796 DEBUG [InventoryManager.discovery-1] (org.rhq.core.system.ProcessInfo)- Unexpected error occurred while looking up info for [<unknown>] process with pid [288] - call to getProcExe failed. Did the process die? Cause: org.hyperic.sigar.SigarException: Incorrect function.
-------------------------

"(21:23:19) jshaughn: but really, I think 2000 (minimum), XP (most likely) and Vista are the real targets.  Win7 as well, but that's not yet tested."

As  Windows 2003 is supported ( http://www.jboss.com/pdf/JON_2.3_datasheet.pdf ), I suggest to log it at ERROR level.

Comment 1 Ondřej Žižka 2010-02-11 20:55:01 UTC
Created attachment 390346 [details]
Agent's log.

Comment 2 Ondřej Žižka 2010-02-11 23:48:58 UTC
Btw, Sigar platforms support:
http://support.hyperic.com/display/SIGAR/Home

Comment 3 wes hayutin 2010-02-16 16:52:32 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 4 wes hayutin 2010-02-16 16:58:16 UTC
making sure we're not missing any bugs in rhq_triage

Comment 5 Corey Welton 2010-09-30 13:59:34 UTC
mazz- should be a quick fix, no?

Comment 6 John Mazzitelli 2010-09-30 14:20:39 UTC
we used to have this message at a higher log level but the logs got very noisy so we lowered it to DEBUG. It seems this isn't a rare error condition, sometimes sigar just can't see all the processes and in many cases, this actually isn't an error condition, its just the agent doesn't have perms to view them all.

recommend either we close as WONTFIX since we used to have it this way but chose to change it to DEBUG.

Comment 7 Charles Crouch 2011-03-08 12:50:03 UTC
As mazz described in his comment this change in logging was made deliberately, and would not have any functional impact on the operation of the Tomcat plugin. Therefore I'm setting this to WONTFIX. If there is a related issue to Tomcat not being manageable on Win2003 then that needs to be raised as a new issue.


Note You need to log in before you can comment on or make changes to this bug.