VMware Cloud Community
nbrown1
Contributor
Contributor

Question on Configuring Performance Metrics in HQ 2.7

Hi-

We have installed open source HQ 2.7 on several linux servers. When trying to configure the Linux performance metrics template via Monitoring Default Configuration, we get this error message:

'unable to get all the parameters needed to complete this request' (see stack below). Has anyone else run into this problem? I'm wondering if I have missed something on the agent install? Thanks...

javax.servlet.jsp.JspException: ServletException in '/resource/common/monitor/config/ConfigMetrics.jsp': Cannot retrieve mapping for action /resource//monitor/config/ConfigMetrics at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) at org.apache.jsp.portal.ColumnsLayout_jsp._jspx_meth_tiles_insert_0(Unknown Source) at org.apache.jsp.portal.ColumnsLayout_jsp._jspx_meth_c_forEach_1(Unknown Source) at org.apache.jsp.portal.ColumnsLayout_jsp._jspx_meth_c_forEach_0(Unknown Source) at org.apache.jsp.portal.ColumnsLayout_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:604) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) at org.apache.jsp.portal.MainLayout_jsp._jspx_meth_tiles_insert_3(Unknown Source) at org.apache.jsp.portal.MainLayout_jsp._jspx_meth_html_html_0(Unknown Source) at org.apache.jsp.portal.MainLayout_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239) at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341) at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.hyperic.hq.product.servlet.filter.JMXFilter.doFilter(JMXFilter.java:300) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source)
0 Kudos
6 Replies
admin
Immortal
Immortal

Do you see anything in the logs/server.log when you submit the request?

Charles
0 Kudos
nbrown1
Contributor
Contributor

Thanks Charles. Here is what exists in server.log, other than the stack information that I pasted into the original post:

2006-06-14 14:24:19,576 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[org.apache.jsp.resource.common.monitor.config.ConfigMetrics_jsp]] Servlet.service() for servlet org.apache.jsp.resource.common.monitor.config.ConfigMetrics_jsp threw exception

Thanks for the help...

Nathaniel
0 Kudos
admin
Immortal
Immortal

Hi Nathan,

I'm afraid that the logs are not being terribly helpful in this
instance. I am not sure if I fully understand your scenario. Can
you take me through the steps that you took to get the error? Thanks.

Charles



On Jun 15, 2006, at 6:06 AM, Nathaniel Brown wrote:

> Thanks Charles. Here is what exists in server.log, other than the
> stack information that I pasted into the original post:
>
> 2006-06-14 14:24:19,576 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].
> [org.apache.jsp.resource.common.monitor.config.ConfigMetrics_jsp]]
> Servlet.service() for servlet
> org.apache.jsp.resource.common.monitor.config.ConfigMetrics_jsp
> threw exception
>
> Thanks for the help...
>
> Nathaniel


0 Kudos
nbrown1
Contributor
Contributor

Thanks Charles - here are the sequence of events that generated this error. From the Dashboard interface:

1) Click Adminstration link
2) From Adminstration page, under HQ Server Settings, click Monitoring Defaults Configuration link
3) From HQ Monitoring Defaults Configuration page, under Platform Types, click the EDIT METRIC TEMPLATE link for Linux
4) In the Monitoring Defaults Configuration > Linux platforms page that is presented, there are no Performance metrics listed (text message states 'No metrics of this type have been added to this resource.'). I click on the Performance link, which generates the 'unable to get all the parameters needed to complete this request' and provides a link to the stack.

Don't know if this helps, but here is some kernal/os data for the machine on which the hq server is running:

Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux

Red Hat Enterprise Linux ES release 4 (Nahant Update 3)

Hope this helps. Thanks...

Nathaniel
0 Kudos
admin
Immortal
Immortal


Thanks for the detailed instructions. That's certainly a bug. I
have logged it at: http://jira.hyperic.com/browse/HHQ-78.

The bug is only cosmetic in nature though.

The Linux platform does not have any performance metrics, which is
why that section is blank.

To enable metrics globally for all your Linux servers, click the
check boxes along side each metric. Then fill out the interval at
the bottom of the page and click the arrow button to enable them.
There is some documentation on this page at http://
support.hyperic.com/confluence/display/DOCSHQ27/ui-2.2.5 (You can
get context sensitive help on any page by clicking the ? link at the
top.)

Hope that helps,
-Ryan

On Jun 15, 2006, at 10:47 AM, Nathaniel Brown wrote:

> Thanks Charles - here are the sequence of events that generated
> this error. From the Dashboard interface:
>
> 1) Click Adminstration link
> 2) From Adminstration page, under HQ Server Settings, click
> Monitoring Defaults Configuration link
> 3) From HQ Monitoring Defaults Configuration page, under Platform
> Types, click the EDIT METRIC TEMPLATE link for Linux
> 4) In the Monitoring Defaults Configuration > Linux platforms page
> that is presented, there are no Performance metrics listed (text
> message states 'No metrics of this type have been added to this
> resource.'). I click on the Performance link, which generates the
> 'unable to get all the parameters needed to complete this request'
> and provides a link to the stack.
>
> Don't know if this helps, but here is some kernal/os data for the
> machine on which the hq server is running:
>
> Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686
> i386 GNU/Linux
>
> Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
>
> Hope this helps. Thanks...
>
> Nathaniel


0 Kudos
nbrown1
Contributor
Contributor

Thanks for the clarification Ryan...

Nathaniel
0 Kudos