Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Process monitoring error. Sigar command works but not in the configuration

$
0
0
I am trying to monitor a java process, specifically tripwire. There are multiple java processes on this box so I used the sigar console to drill down the process I want to monitor. The query/output from sigar is as follows:

sigar> ps State.Name.eq=java,Args.*.ct=tripwire
25822   root    23:46   132M     58M    -       S       0:5     java:com.tripwire.space.bootstrap.BootstrapLauncher

When I enter the query in the process.query field, "State.Name.eq=java,Args.*.ct=tripwire", the following error is returned:

The configuration has not been set for this resource due to : Invalid configuration: Error retrieving value: Failed to invoke getProcMem[State.Name.eq=java,Args.*.ct=tripwire]: Query did not match any processes: State.Name.eq=java,Args.*.ct=tripwire

The following is the DEBUG output from the local agent:

2007-10-29 20:07:59,989 DEBUG [MeasurementCommandsServer] Getting real time measurement: Process:sigar:Type=ProcCpu,Arg=State.Name.eq%3Djava%2CArgs.
*.ct%3Dtripwire:Percent
2007-10-29 20:07:59,991 DEBUG [MeasurementCommandsServer] Error getting real time measurement 'Process:sigar:Type=ProcCpu,Arg=State.Name.eq%3Djava%2
CArgs.*.ct%3Dtripwire:Percent': Error retrieving value: Failed to invoke getProcCpu[State.Name.eq=java,Args.*.ct=tripwire]: Query did not match any
processes: State.Name.eq=java,Args.*.ct=tripwire
org.hyperic.hq.product.MetricNotFoundException: Failed to invoke getProcCpu[State.Name.eq=java,Args.*.ct=tripwire]: Query did not match any processe
s: State.Name.eq=java,Args.*.ct=tripwire
        at org.hyperic.hq.product.SigarMeasurementPlugin.getValue(SigarMeasurementPlugin.java:211)
        at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:171)
        at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:269)
        at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:130)
        at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:122)
        at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.getMeasurements(MeasurementCommandsServer.java:292)
        at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:503)
        at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)
        at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:203)
        at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:680)
        at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:744)
        at org.hyperic.hq.agent.server.AgentDaemon.main(AgentDaemon.java:762)
Caused by: org.hyperic.sigar.SigarException: Failed to invoke getProcCpu[State.Name.eq=java,Args.*.ct=tripwire]: Query did not match any processes:
State.Name.eq=java,Args.*.ct=tripwire
        at org.hyperic.sigar.SigarInvoker.invoke(SigarInvoker.java:243)
        at org.hyperic.sigar.SigarInvoker.invoke(SigarInvoker.java:213)
        at org.hyperic.sigar.jmx.SigarInvokerJMX.invoke(SigarInvokerJMX.java:196)
        at org.hyperic.hq.product.SigarMeasurementPlugin.getValue(SigarMeasurementPlugin.java:204)

Any suggestions? Thanks.

Viewing all articles
Browse latest Browse all 52618

Trending Articles