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

How to monitor Network Component like interfaces status, Interfaces traffic and Temperature in Hyperic hq 4.6.6

$
0
0

Hi All.

 

I'm a new bird in Hyperic and first time using this tool on one of the project. I'm not from Network Engineer background so my question could be a silly here.

 

I would like to Monitor switches and other Network component like Network Interface, Traffic and Temperature. Is it possible to do this in Hyperic HQ 4.6.6. I have seen the same in different open source tool like zenoss, but since we are using Hyperic on our current project I would like to go with this tool only.

 

I would also like to know if there is any plugin (open-source) which can solve my issue.

 

I really appreciate if someone can help me on this or provide the details documentation / video etc to solve my issue.

 

Thanks & Regards,

Ankit Patni


Can hyperic agent collect metrics from a server where the "root" FS went to "Read Only" Mode?

$
0
0

Hello,

 

Can hyperic agent able to collect metrics from a server where the "root" FS went to "Read Only" Mode?

I.e will hyperic monitoring works if managed server "root" FS went to "Read Only" Mode?

 

Thanks

vRealize Operation Manager, with vRealize Hyperic Plugin 6.0.2470875

$
0
0

Installed the plugin in vRops, getting this error "unable to establish a vaild connection to the target system. Exception originated from the Hyperic. Incorrect user name or password. Verify that the user name and password you entered are correct", no firewall between this to servers, the hyperic server is Windows 2008R2 with hyperic server and agents installed.

Hyperic Agent Error on auto discovery of webpshere 8.5

$
0
0

Hi I am building a hyperic monitoring prototype for websphere 8.5 and when i start up the agent it doesn't discover the websphere process and complains of not finding IBM java class -->java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory :

 

I have added the ibm crypto.jar to the agent classpath but this has not helped.  full stack trace below:

 

25-08-2015 17:48:58,666 EDT DEBUG [autoinventory-scanner] [WebsphereDetector@380] WebSphere Admin 8.5 '/opt/was/ibm/WebSphere/AppServer/properties/version/WAS.product'.exists()=true

25-08-2015 17:48:58,666 EDT DEBUG [autoinventory-scanner] [WebsphereDetector@351] version= '8.5.5.2' type='8.5' res=true

25-08-2015 17:48:58,716 EDT DEBUG [autoinventory-scanner] [WebsphereAdminDetector@99] Configuring admin.host=<REMOVED> from: /opt/was/ibm/WebSphere/AppServer/profiles/AppSrv01/config/cells/<REMOVED>/nodes/<REMOVED>/serverindex.xml

25-08-2015 17:48:58,731 EDT DEBUG [autoinventory-scanner] [WebsphereAdminDetector@134] Configuring admin.port=8878 from: /opt/was/ibm/WebSphere/AppServer/profiles/AppSrv01/config/cells/<REMOVED>/nodes/<REMOVED>/serverindex.xml

25-08-2015 17:48:58,746 EDT DEBUG [system-0] [ScheduleThread@643] [3:10534:UTILIZATION] Metric='sigar:Type=CpuPercList,Arg=1:User' -> 0.34 timestamp=1440539338746

25-08-2015 17:48:58,851 EDT DEBUG [system-0] [ScheduleThread@576] collecting data for meas=[derivedId=16119|dsnId=16119]|interval=300000]

25-08-2015 17:48:58,747 EDT ERROR [websphere-0] [WebsphereServerCollector@125] ADMC0016E: The system cannot create a SOAP connector to connect to host <REMOVED> at port 8878.

org.hyperic.hq.product.MetricUnreachableException: ADMC0016E: The system cannot create a SOAP connector to connect to host <REMOVED> at port 8878.

        at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:136)

        at org.hyperic.hq.plugin.websphere.WebsphereCollector.getMBeanServer(WebsphereCollector.java:120)

        at org.hyperic.hq.plugin.websphere.WebsphereCollector.init(WebsphereCollector.java:85)

        at org.hyperic.hq.product.Collector.getValue(Collector.java:518)

        at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)

        at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:55)

        at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:171)

        at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:269)

        at org.hyperic.hq.measurement.agent.server.ScheduleThread$MetricTask.run(ScheduleThread.java:578)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:483)

        at java.util.concurrent.FutureTask.run(FutureTask.java:274)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)

        at java.lang.Thread.run(Thread.java:801)

Caused by: com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host <REMOVED> at port 8878.

        at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:635)

        at com.ibm.websphere.management.AdminClientFactory.access$000(AdminClientFactory.java:127)

        at com.ibm.websphere.management.AdminClientFactory$1.run(AdminClientFactory.java:210)

        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)

        at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:206)

        at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:125)

        ... 13 more

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:86)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:58)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:542)

        at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:457)

        ... 18 more

Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory]

        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:429)        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:228)

        ... 23 more

Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory]

        at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:475)

        at org.apache.soap.rpc.Call.WASinvoke(Call.java:487)

        at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:387)

        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)

        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:372)

        ... 24 more


the agent has the ibm crypto jar file in the class path as per grep ps:


-classpath ../../bundles/agent-x86-64-linux-5.8.3/lib/com.ibm.ws.security.crypto.jar

 

setup details:

 

hyperic agent version - 5.8.3

 

websphere version info:

--------------------------------------------------------------------------------

IBM WebSphere Product Installation Status Report

--------------------------------------------------------------------------------

 

Report at date and time August 25, 2015 6:02:28 EDT PM

 

Installation

--------------------------------------------------------------------------------

Product Directory        /opt/was/ibm/WebSphere/AppServer

Version Directory        /opt/was/ibm/WebSphere/AppServer/properties/version

DTD Directory            /opt/was/ibm/WebSphere/AppServer/properties/version/dtd

Log Directory            /home/was/var/ibm/InstallationManager/logs

 

Product List

--------------------------------------------------------------------------------

IBMJAVA7                 installed

BASE                     installed

 

Installed Product

--------------------------------------------------------------------------------

Name                  IBM WebSphere SDK Java Technology Edition (Optional)

Version               7.0.8.0

ID                    IBMJAVA7

Build Level           cf041446.01

Build Date            11/18/14

Package               com.ibm.websphere.IBMJAVA.v70_7.0.8000.20141118_1016

Architecture          x86-64 (64 bit)

Installed Features    IBM WebSphere SDK for Java Technology Edition 7

 

Installed Product

--------------------------------------------------------------------------------

Name                  IBM WebSphere Application Server

Version               8.5.5.2

ID                    BASE

Build Level           cf021414.01

Build Date            4/8/14

Package               com.ibm.websphere.BASE.v85_8.5.5002.20140408_1947

Architecture          x86-64 (64 bit)

Installed Features    IBM 64-bit WebSphere SDK for Java

                      WebSphere Application Server Full Profile

                      EJBDeploy tool for pre-EJB 3.0 modules

                      Embeddable EJB container

                      Stand-alone thin clients and resource adapters

 

--------------------------------------------------------------------------------

End Installation Status Report

--------------------------------------------------------------------------------

 

OS version:

 

SUSE Linux (SLES 11) x86_64

Cannot start Hyperic Agent in CentOS

$
0
0

Dear all,

 

I'm installing the Hyperic Agent 5.8.4.2 into a CentOS 6.6 box. When I try to start the agent by  hq-agent.sh start command, it gave me the following error:

 

[root@fbdlvmtool12 bin]# ./hq-agent.sh start

Starting HQ Agent...... running (3462).

Error: /tmp/agent.encrypt.lock is locked. can't continue.

org.hyperic.hq.agent.AgentConfigException: /tmp/agent.encrypt.lock is locked. can't continue.

        at org.hyperic.hq.agent.AgentConfig.ensurePropertiesEncryption(AgentConfig.java:273)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.ensurePropertiesEncryption(AgentClient.java:1437)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1207)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1372)

 

However I cannot see there is any file in the address  /tmp/agent.encrypt.lock

 

Any suggestions how what maybe the cause and how to troubleshoot this error?

 

Thanks

Silvester

chaniging name of hyperic clients slightly --xxx.yyy.zzz xxx.nnn.zzz

$
0
0
I have a number of solaris and linux boxes that the FQDN is slightly changing .

EX anubis.ctd.anl.gov to anubis.it.anl.gov     IP address is the same.

I have alerts and special graphs setup for this and other systems. If I delete the old name
from current sources I lose all the alerts etc,  What is the best way to change the name and
retain all the alerts etc I had already created for the new name ?????

Integrating with Netcool/Omnibus

$
0
0
Hi all,

This software is very good, better than nagios, zabbix, and so on. But for me there're two important question:

- Is there the availability to notify an alert in a different way than email? I have to integrate with Netcool/OmniBUS and the better way should be to send event to a remote syslog

- Is there the availabilty to send email when problem comeback?


Thanks
Stefano

Could not create deployment...jboss-service.xml

$
0
0
I found where other have had this issue but could not find a resolution.

This is a new install of v4.1.1 on CentOS5.2 32bit. 1GB memory, non ZEN kernel.
uname -a -> Linux utilpc.example.com 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux

File 'jboss-service.xml' has an updated timestamp so the process did touch the file.

Has anyone encountered this and resolved it?

-----------------------
From the server.out log file:

08:23:29,776 WARN  [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss
.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegis
try@d75415)]
08:23:29,835 ERROR [MainDeployer] Could not create deployment: file:/opt/hyperic/server-4.1.1/hq-engine/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

Edit:Added Hyperic version

   
Message was edited by: billygbob

Hyperic Agent Will Not Start: query did not return a unique result: 2

$
0
0
Unable to rediscover an agent that was removed. It is seeign a duplicate. If you look under new platform in the agent section of Hyperic we find the IP address for this host listed twice. The error we get is listed below.  Need some assistince in understanding which table(s) we need to query to identify and delete the duplicate to clear this error and get the agent running again.

Here is the message:

- Received temporary auth token from agent
- Registering agent with HQ
org.hyperic.hq.bizapp.client.AgentCallbackClientException: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: query did not return a unique result: 2
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:201)
at org.hyperic.hq.bizapp.client.BizappCallbackClient.registerAgent(BizappCallbackClient.java:135)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:808)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:517)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1257)
Caused by: org.hyperic.lather.LatherRemoteException: org.hyperic.lather.LatherRemoteException: Runtime exception: query did not return a unique result: 2
at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:124)
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:157)

java.sql.SQLException: ORA-00923: FROM keyword not found where expected

$
0
0
Hello guys, im install Hyperic HQ 4.3 GA an ambient Ubuntu + Oracle, but when i start the server this errors ocurr i dont have any idea. Please help me.


21:59:51,583 WARN  [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@6bb0aff3[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@57d345c handles=0 lastUse=1275699589363 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@6a5a7ff7 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@5b8767ad xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@5ef886d4 txSync=null]
java.sql.SQLException: ORA-00923: FROM keyword not found where expected

     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
     at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
     at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
     at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
     at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
     at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)
     at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)
     at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:458)
     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:322)
     at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:211)
     at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213)
     at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
     at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
     at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
     at org.hyperic.util.jdbc.DBUtil.getConnByContext(DBUtil.java:302)
     at org.hyperic.hq.events.server.session.HQDBHealthStartupListener$HQDBHealthTask.run(HQDBHealthStartupListener.java:116)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
     at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:619)
21:59:51,593 WARN  [JBossManagedConnectionPool] Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@6bb0aff3[state=DESTROYED mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@57d345c handles=0 lastUse=1275699589363 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@6a5a7ff7 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@5b8767ad xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@5ef886d4 txSync=null]
21:59:54,580 WARN  [LocalManagedConnectionFactory] Destroying connection that is not valid, due to the following exception: oracle.jdbc.driver.T4CConnection@77efcc1a
java.sql.SQLException: ORA-00923: FROM keyword not found where expected

     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
     at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
     at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
     at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
     at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
     at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)
     at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)
     at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:458)
     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:322)
     at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:211)
     at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213)
     at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:613)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
     at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
     at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
     at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:104)
     at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:66)
     at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
     at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
     at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
     at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
     at org.hibernate.loader.Loader.doQuery(Loader.java:673)
     at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
     at org.hibernate.loader.Loader.doList(Loader.java:2213)
     at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
     at org.hibernate.loader.Loader.list(Loader.java:2099)
     at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
     at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
     at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
     at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
     at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
     at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
     at org.hyperic.hq.appdef.server.session.PlatformDAO.getPlatformCount(PlatformDAO.java:459)
     at org.hyperic.hq.appdef.server.session.PlatformManagerEJBImpl.getPlatformCount(PlatformManagerEJBImpl.java:1803)
     at sun.reflect.GeneratedMethodAccessor443.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:576)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:657)
     at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:576)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:657)
     at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
     at org.jboss.ejb.Container.invoke(Container.java:960)
     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
     at $Proxy284.getPlatformCount(Unknown Source)
     at org.hyperic.hq.bizapp.server.session.HQInternalService.getPlatformCount(HQInternalService.java:66)
     at sun.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:99)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
     at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:197)
     at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
     at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:362)
     at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:556)
     at org.hyperic.util.stats.ConcurrentStatsCollector$MBeanCollector.getValue(ConcurrentStatsCollector.java:732)
     at org.hyperic.util.stats.ConcurrentStatsCollector$MBeanCollector.getVal(ConcurrentStatsCollector.java:690)
     at org.hyperic.util.stats.ConcurrentStatsCollector$StatsWriter.getCSVBuf(ConcurrentStatsCollector.java:319)
     at org.hyperic.util.stats.ConcurrentStatsCollector$StatsWriter.run(ConcurrentStatsCollector.java:289)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
     at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:619)

Hard coding creating problem to build a Cassandra JMX Plugin?

$
0
0
Hi
I am trying to build a Hyperic HQ Plugin for Cassandra Data store. By default Cassandra gives very extensive JMX report for the all keyspace, Column families and cache etc. To show all the keyspaces and column families metrics current jmx plugin implementation leads to hard code all the Mbean corresponding to keyspaces and column families which is greate and not leading to general solution at all.
Please give suggesion for it??
Cassandra sample jmx report:---------------------------------------

MBean: org.apache.cassandra.db.ColumnFamilyStore
Name: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Employee
0. Attribute: PendingTasks = 0 (r)
1. Attribute: ColumnFamilyName = MailBoxFolder (r)
2. Attribute: MinRowCompactedSize = 0 (r)
3. Attribute: MaxRowCompactedSize = 0 (r)
4. Attribute: MeanRowCompactedSize = 0 (r)
5. Attribute: MemtableColumnsCount = 0 (r)
6. Attribute: MemtableDataSize = 0 (r)
7. Attribute: MemtableSwitchCount = 0 (r)
8. Attribute: ReadCount = 0 (r)
9. Attribute: RecentReadLatencyMicros = NaN (r)
10. Attribute: LifetimeReadLatencyHistogramMicros = ERROR (r)
11. Attribute: RecentReadLatencyHistogramMicros = ERROR (r)
12. Attribute: TotalReadLatencyMicros = 0 (r)
13. Attribute: WriteCount = 0 (r)
14. Attribute: TotalWriteLatencyMicros = 0 (r)
15. Attribute: RecentWriteLatencyMicros = NaN (r)
16. Attribute: LifetimeWriteLatencyHistogramMicros = ERROR (r)
17. Attribute: RecentWriteLatencyHistogramMicros = ERROR (r)
18. Attribute: TotalDiskSpaceUsed = 198735111 (r)
19. Attribute: LiveDiskSpaceUsed = 198735111 (r)
20. Attribute: LiveSSTableCount = 5 (r)
21. Attribute: BloomFilterFalsePositives = 0 (r)
22. Attribute: RecentBloomFilterFalsePositives = 0 (r)
23. Attribute: BloomFilterFalseRatio = 0.0 (r)
24. Attribute: RecentBloomFilterFalseRatio = 0.0 (r)
Operation: java.lang.Object forceFlush []
Operation: void forceMajorCompaction []
Operation: void invalidateRowCache []
MBean: org.apache.cassandra.db.ColumnFamilyStore
Name: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Departmert
0. Attribute: PendingTasks = 0 (r)
1. Attribute: ColumnFamilyName = MessageLogLayer (r)
2. Attribute: MinRowCompactedSize = 0 (r)
3. Attribute: MaxRowCompactedSize = 0 (r)
4. Attribute: MeanRowCompactedSize = 0 (r)
5. Attribute: MemtableColumnsCount = 0 (r)
6. Attribute: MemtableDataSize = 0 (r)
7. Attribute: MemtableSwitchCount = 0 (r)
8. Attribute: ReadCount = 0 (r)
9. Attribute: RecentReadLatencyMicros = NaN (r)
10. Attribute: LifetimeReadLatencyHistogramMicros = ERROR (r)
11. Attribute: RecentReadLatencyHistogramMicros = ERROR (r)
12. Attribute: TotalReadLatencyMicros = 0 (r)
13. Attribute: WriteCount = 0 (r)
14. Attribute: TotalWriteLatencyMicros = 0 (r)
15. Attribute: RecentWriteLatencyMicros = NaN (r)
16. Attribute: LifetimeWriteLatencyHistogramMicros = ERROR (r)
17. Attribute: RecentWriteLatencyHistogramMicros = ERROR (r)
18. Attribute: TotalDiskSpaceUsed = 0 (r)
19. Attribute: LiveDiskSpaceUsed = 0 (r)
20. Attribute: LiveSSTableCount = 0 (r)
21. Attribute: BloomFilterFalsePositives = 0 (r)
22. Attribute: RecentBloomFilterFalsePositives = 0 (r)
23. Attribute: BloomFilterFalseRatio = 0.0 (r)
24. Attribute: RecentBloomFilterFalseRatio = 0.0 (r)
Operation: java.lang.Object forceFlush []
Operation: void forceMajorCompaction []
Operation: void invalidateRowCache []

MBean: org.apache.cassandra.db.ColumnFamilyStore
Name: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Country
0. Attribute: PendingTasks = 0 (r)
1. Attribute: ColumnFamilyName = MailerSite (r)
2. Attribute: MinRowCompactedSize = 0 (r)
3. Attribute: MaxRowCompactedSize = 0 (r)
4. Attribute: MeanRowCompactedSize = 0 (r)
5. Attribute: MemtableColumnsCount = 0 (r)
6. Attribute: MemtableDataSize = 0 (r)
7. Attribute: MemtableSwitchCount = 0 (r)
8. Attribute: ReadCount = 0 (r)
9. Attribute: RecentReadLatencyMicros = NaN (r)
10. Attribute: LifetimeReadLatencyHistogramMicros = ERROR (r)
11. Attribute: RecentReadLatencyHistogramMicros = ERROR (r)
12. Attribute: TotalReadLatencyMicros = 0 (r)
13. Attribute: WriteCount = 0 (r)
14. Attribute: TotalWriteLatencyMicros = 0 (r)
15. Attribute: RecentWriteLatencyMicros = NaN (r)
16. Attribute: LifetimeWriteLatencyHistogramMicros = ERROR (r)
17. Attribute: RecentWriteLatencyHistogramMicros = ERROR (r)
18. Attribute: TotalDiskSpaceUsed = 3064 (r)
19. Attribute: LiveDiskSpaceUsed = 3064 (r)
20. Attribute: LiveSSTableCount = 2 (r)
21. Attribute: BloomFilterFalsePositives = 0 (r)
22. Attribute: RecentBloomFilterFalsePositives = 0 (r)
23. Attribute: BloomFilterFalseRatio = 0.0 (r)
24. Attribute: RecentBloomFilterFalseRatio = 0.0 (r)
Operation: java.lang.Object forceFlush []
Operation: void forceMajorCompaction []
Operation: void invalidateRowCache []
-------------------------------------------------------------------------------------------------------------------------------

I have defined some metrics in the jmx plug in that i want to access are
---------------------------------------------------------------
<metrics name="cassandraFamily">
<metric name="TotalDiskSpaceUsed" category="UTILIZATION" indicator="true"/>
<metric name="LiveDiskSpaceUsed" category="UTILIZATION" indicator="true"/>
<metric name="LiveSSTableCount" category="UTILIZATION" indicator="true"/>
</metrics>

-------------------------------------------------------------
To display metrics data for all the three column families i need to do hard coding like--
----------------
<property name="OBJECT_NAME" value="org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Employee"/>
<metrics include="cassandraFamily"/>

<property name="OBJECT_NAME" value="org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Departmert"/>
<metrics include="cassandraFamily"/>

<property name="OBJECT_NAME" value="org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=test,columnfamily=Country"/>
<metrics include="cassandraFamily"/>

-----------------------------------------------------------------
Above implementation is the problem not a generic solution. I want to work it should be like this

<property name="OBJECT_NAME" value="org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=*,columnfamily=*"/>
<metrics include="cassandraFamily"/>


But not working above soltion giving exception--
MetricNotFoundException: ObjectName not found [org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=%keyspace%,columnfamily=%columnfamily%]: javax.management.InstanceNotFoundException: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=%keyspace%,columnfamily=%columnfamily%
org.hyperic.hq.product.MetricNotFoundException: ObjectName not found [org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=%keyspace%,columnfamily=%columnfamily%]: javax.management.InstanceNotFoundException: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=%keyspace%,columnfamily=%columnfamily%
at org.hyperic.hq.product.jmx.MxUtil.objectNotFound(MxUtil.java:161)
at org.hyperic.hq.product.jmx.MxUtil.getValue(MxUtil.java:331)
at org.hyperic.hq.product.jmx.MxMeasurementPlugin.getValue(MxMeasurementPlugin.java:58)
at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:274)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)
at org.hyperic.hq.product.util.PluginDumper.getValue(PluginDumper.java:653)
at org.hyperic.hq.product.util.PluginDumper.fetchMetrics(PluginDumper.java:796)
at org.hyperic.hq.product.util.PluginDiscoverer.dumpProperties(PluginDiscoverer.java:375)
at org.hyperic.hq.product.util.PluginDiscoverer.dumpProperties(PluginDiscoverer.java:424)
at org.hyperic.hq.product.util.PluginDiscoverer.dumpServer(PluginDiscoverer.java:488)
at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:563)
at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:321)
at org.hyperic.hq.product.util.PluginDumper.testDiscovery(PluginDumper.java:1154)
at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:459)
at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:311)
Caused by: javax.management.InstanceNotFoundException: org.apache.cassandra.db:type=ColumnFamilyStores,keyspace=%keyspace%,columnfamily=%columnfamily%
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1403)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1359)
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:878)
at org.hyperic.hq.product.jmx.MxUtil.getValue(MxUtil.java:581)
at org.hyperic.hq.product.jmx.MxUtil.getValue(MxUtil.java:308)
... 15 more

Please give me suggestion ASAP

Message was edited by: suniluiit

JVM Crash when using SIGAR getProcMem

$
0
0
I use SIGAR in a web application running on a tomcat 5.5 server, I use it to monitor the memory usage of some external processes. I'm experiencing some java vm crashes that seems to happen when calling getProcMem, so far I've only seen the crash after a tomcat restart when getProcMem gets called on a new process for the first time but I can't absolutely confirm that's the only time it happens.

I've seen it happen on two different servers.

Server 1:
hs_err_pid30194.log
SIGAR 1.6.4
Server version: Apache Tomcat/5.5
Server number: 5.5.26.0
OS Name: Ubuntu 10.04.1 LTS
OS Version: 2.6.32-24-generic
Architecture: amd64
JVM Version: 1.6.0_20-b02
JVM Vendor: Sun Microsystems Inc.
Hardware: 2xQuad core Xeon

Server 2:
hs_err_pid24776.log
SIGAR: 1.6.4
Server version: Apache Tomcat/5.5
Server number: 5.5.26.0
OS Name: Ubuntu 9.04
OS Version: 2.6.28-19-server
Architecture: amd64
JVM Version: 1.6.0_20-b02
JVM Vendor: Sun Microsystems Inc.
Hardware: 2xQuad core Xeon E7420

Updated to clarify I meant crashes of the java virtual machine.
   
Message was edited by: LeonLj

agent registering eth0 IP address instead of hostname for FQDN

$
0
0
Hi,

After much fiddling and searching around, we finally figured out why, when we registered computer replicas with different hostnames, it would replace the original platform in Hyperic HQ.

We have 2 xen environments each running 5 domUs (Virtual Machines) on Debian lenny. One is an active server while the second is a stand-by configuration. The Virtual Machines on the stand-by environment are a copy from the active environment.

There are differences though:
- another hostname (/etc/hostname)
- one of the ip address is different, but not always eth0

When the ip address for eth0 on active vs stand-by is different, then no worries, the new platform is added to the list without replacing the original replica.
When the eth0 ip address is the same, it will be seen as the same computer because hyperic uses this same ip address for its FQDN identification.

I believe the following bug mirrors the issue:
http://jira.hyperic.com/browse/HHQ-3243

Is there a plan for when a new release will have this issue fixed? We are running 4.5.
Is there a workaround to supply in agent.properties or other hyperic-agent config file, a specific FQDN?


sincerely,

Norberto Soares

EXCEPTION_ACCESS_VIOLATION

$
0
0

Hi

 

I've been using Sigar in my Java app for months without any issue and for some reason within the last 2 weeks JVM has started crashing intermittently.

 

Here's the error that I get:

 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000004e5d4ed4, pid=6896, t
id=12984
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode windows-amd64
compressed oops)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# An error report file with more information is saved as:
# C:\bot\hs_err_pid6896.log
#
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

 

 

The operating system is Windows Server 2008 R2, I've updated Java and the operating system, but I still get the random crashes. I haven't made any major changes to the application within the last few weeks.

 

Does anyone have any idea what might be causing the crash?

 

Thanks

How to get correctly the percent of used CPU per process

$
0
0

I'm trying to get the percent of used CPU per process on windows with Qt/C++. Firstly i get a list of running processes and after, for each process i try to get the used CPU, for most process the result looks valid (they match with task manager in windows), but with the AIDA64 process (that is running a CPU stress test in background), i got strange values like 312% what is wrong with my c++ code?

 

    sigar_t *sigarproclist;
    sigar_proc_list_t proclist;
    sigar_open(&sigarproclist);
    sigar_proc_list_get(sigarproclist, &proclist);
    for (size_t i = 0; i < proclist.number; i++)
    {
        sigar_proc_cpu_t cpu;
        int status1 = sigar_proc_cpu_get(sigarproclist, proclist.data[i], &cpu);
        if (status1 == SIGAR_OK)
        {
            Sleep(50);
            int status2 = sigar_proc_cpu_get(sigarproclist, proclist.data[i], &cpu);
            if (status2 == SIGAR_OK)
            {
                sigar_proc_state_t procstate;
                sigar_proc_state_get(sigarproclist, proclist.data[i], &procstate);
                qDebug() << procstate.name << cpu.percent * 100 << "%";
            }
        }
    }
    sigar_close(sigarproclist);

32-bit vs 64-bit agent

$
0
0

I have some Windows 2008 machines that are 64-bit that have the 32-bit Hyperic Agent on them.  I recently upgraded to Hyperic 5.8.4 and want to upgrade the agents to the same version as the server.  I can upgrade the 32-bit agent to the latest 32-bit agent version, but I was wondering if I should uninstall the 32-bit agent on the 64-bit machine and install the 64-bit agent.  Is it worth the effort to do this on a bunch of machines?  Is there a benefit to using the 64-bit agent on a 64-bit machine or should I just stay with the 32-bit agent on the 64-bit machines?

GA Announcement: vRealize Hyperic 5.8.5 is Now Live

$
0
0

What’s new?

Hyperic 5.8.5 is a maintenance release with major and minor bug fixes.

In addition to general issue fixing, the following changes have been made:

  • The user interface has been upgraded to use Apache Struts 2 framework.
    Users who have created custom pages or extensions to the user interface, must update their pages to the Struts 2 framework.
  • As part of the user interface upgrade, the URLs of all pages have changed.
    Users who have scripts that point to vRealize Hyperic pages must modify the URLs accordingly.
  • New buttons are provided in the user interface to set or clear indicator flags for metrics in the Edit Metric Template page.
    Metrics that were enabled or disabled earlier retain their state unless you specifically change them.
  • JRE version 7u91 (1.7.0-91) is supported.
  • SSLv3 has been removed from the vRealize Hyperic agent.
  • TC Server has been updated to version 3.0.2 and Tomcat to verion 8.

 

  • The PostgreSQL database has been upgraded to version 9.1.15.
  • The cipher list in the vRealize Hyperic server and agent has been upgraded to provide enhanced security
  • JVM MBean query causes update agent message
    A JVM MBean query no longer causes the Unable to deserialize agent data. You may need to update your agent. message.
  • vRealize Hyperic server startup takes too long
    The start up time for vRealize Hyperic server has been improved.
  • vRealize Hyperic discovers Microsoft Windows 2102r2 as unknown
    Microsoft Windows 2102 r2 is no longer discovered as unknown by vRealize Hyperic.
  • Agent using Java 6 cannot connect to the vRealize Hyperic server
    Agents using Java 6 can now connect to the vRealize Hyperic server.
  • HibernateTransactionManager timeout too low causing transactions to be aborted
    The timeout for HibernateTransactionManager is no longer so low that transactions are aborted.
  • CPU is reported as 1 when the availbility is 0
    The CPU availability is no longer incorrectly reported as 1 (meaning 100%), when the availbility is actually 0.
  • Heavy agent CPU utilization when is agent unable to communicate with the server
    Heavy agent CPU utilization no longer occurs when the agent is unable to communicate with the vRealize Hyperic server.
  • Sybase JDBC password displayed in clear text
    The Sybase JDBC password is no longer displayed in clear text when plug-in debugging is enabled.

 

Known Issues in vRealize Hyperic 5.8.5

The following issue is known to exist in this version of vRealize Hyperic.

  • Following an update of vRealize Hyperic, the LDAP password does not display any characters in the user interface. Nevertheless, the password is configured, saved in the database, and works as expected.

 

hiding behind a reversing proxy and ROOT context setup

$
0
0
Due to firewall issues, I need to hide hyperic behind an Apache server.
The problem is hyperic is mapped to the ROOT context ("/") in the jboss server.
But the apache server I want to put in front of it, already is serving other applications, and as such I cant proxy the root ("/").

So the solution is to put hyperic at some other context say /hyperic/
but for this to work, the hyperic web application also need to be deployed at /hyperic/ location.

For this I have changed the following stuff

hq.ear/META-INF/application.xml  :- Changed context-root for hq.ear from "/" to "/hyperic"

hq.ear/hq.war/WEB-INF/jboss-web.xml :- Changed context-root from "/" to "/hyperic"

And mapped /hyperic URL in apache mod_proxy_ajp to ajp://localhost:9009/hyperic

This works apart from some exceptions.

The availability icon images, point to /images/... instead of /hyperic/images/...

I suspect this is due to some Resourse Filters in hq.war's web.xml.
Any ideas on how to fix this ?

JMX TOMCAT 5.5

$
0
0
hey all,

i'm trying to monitor my Tomcat server using hyperic .

if some one can tell me the step  how to configure JMX with tomcat5.5


I would appreciate

SNMP Plugin for McAfee WebGateway 7

$
0
0

Hello,

 

I'm trying to monitor our new McAfee WebGateway using SNMP and this is my first own SNMP xml Plugin,

 

but it won't work..

 

I've downloaded the mcafee.mib to /usr/share/snmp/mibs (hyperic:root -rw-r--r--).

 

And my first target is, to monitor only 1 Parameter (CPU util. for example), as simple as possible.

 

At the end is the current state of the mcafee.xml plugin, with following Error message in Hyperic:

The problem is: Invalid configuration: Invalid request: Failed to lookup OID for name=stCPULoadRaw (last lookup failure=null)

 

Could anyone help me please, for my first plugin?

The Connection to SNMP seems to work.

 

Andi

 

(MIB File in Attachement)

<plugin>

     <property name="PLUGIN_VERSION" value="1.8"/>

     <property name="MIBDIR" value="/usr/share/snmp/mibs" />

     <property name="MIBS" value = "${MIBDIR}/mcafee.mib" />

     <platform name="McAfee Web Gateway">

          <config include="snmp"/>

          <plugin type="measurement"

               class="org.hyperic.hq.product.SNMPMeasurementPlugin"/>

          <property name="template" value="${snmp.template}:${alias}"/>

          <metric name="CPU Load 1m"

               alias="stCPULoadRaw"

               indicator="true"/>

     </platform>

</plugin>

Viewing all 52618 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>