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

Unable to import Platform

$
0
0
Hi,

I have added a new  agent to my hyperic-3.2.5.
While autodiscovery, showing following error

"Auto-Discovery        
Unable to import platform : org.hyperic.hq.appdef.shared.AIQApprovalException: Error connecting or communicating with agent EOF received from Agent "

How to resolve this error?

Thanks,
Indira

Not able to connect to Hyperic instance for Amazon Developer

$
0
0
I am following the instructions in the Hyperic HQ for Amazon Web Services pdf
I am using the ami-b8688cd1 image.

I am not able to connect to the instance on port 7080 and 7443.

I get the following error message :
Though the site seems valid, the browser was unable to establish a connection.

    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites?  Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.

I am able to browse other sites and I am not behind a firewall or proxy.

and I am not able to login to the Hyperic instance using the keypair through SSH

Hyperic Dashboard.

$
0
0
Hi.
I was running Hyperic HQ Server 4.0.2 on a CentOS 5 Final and all was working fine. I've install Hyperic 4.1.0, When i start it with the command:
------------------------------------------------------------------------------------------------------
# /opt/hyperic/server-4.1.0/bin/hq-server.sh start
Starting HQ server...
Initializing HQ server configuration...
Checking jboss jndi port...
Checking jboss mbean port...
Starting HQ built-in database...
pg_ctl: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.
HQ built-in database started.
Booting the HQ server (Using JAVA_OPTS=-XX:MaxPermSize=192m -Xmx512m -Xms512m)...
HQ server booted.
Login to HQ at: http://127.0.0.1:7080/
------------------------------------------------------------------------------------------------------

All seems to be OK, when i use the command (from the hyperic computer):
------------------------------------------------------------------------------------------------------
# wget http://127.0.0.1:7080/
Connecting to 127.0.0.1:7080... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://127.0.0.1:7080/SignIn.html [following]
--15:32:13-- http://127.0.0.1:7080/SignIn.html
Reusing existing connection to 127.0.0.1:7080.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `SignIn.html'

[ <=> ] 5,267 --.-K/s in 0s

15:32:13 (359 MB/s) - `SignIn.html' saved [5267]
------------------------------------------------------------------------------------------------------
It also works OK if i i use wget with the private IP from a computer in the network.

But, when i try to wget the page from a computer outside the network (using the public IP), it doesnt work. I think its not a problem of IPTABLES cause before i install the new version, all was working OK.
So, what could be the problem?


Thanks in advance, bye!

PD: Sorry for my poor English, im from Argentina.

Message was edited by: ipaddress

Remote error while invoking 'aiSendReport:

$
0
0
I'm receiving the below error when trying to add machines that are running the 3.2.4 agent.  My server is 4.1.0 and the agents were on there before, they were removed by mistake and I'm trying to add them back. 


From the agent:
ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying.  Error: Remote error while invoking 'aiSendReport: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException



From the server:
ERROR [Thread-4490] [org.jboss.ejb.plugins.LogInterceptor@413] RuntimeException in method: public abstract void org.hyperic.hq.autoinventory.shared.AutoinventoryManagerLocal.reportAIData(java.lang.String,org.hyperic.hq.autoinventory.ScanStateCore) throws org.hyperic.hq.autoinventory.AutoinventoryException:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     at java.lang.AbstractStringBuilder.substring(Unknown Source)
     at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.getIps(AutoinventoryManagerEJBImpl.java:665)
     at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.reportAIData(AutoinventoryManagerEJBImpl.java:693)
     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.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:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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:404)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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 $Proxy318.reportAIData(Unknown Source)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher.cmdAiSendReport(LatherDispatcher.java:594)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher._dispatch(LatherDispatcher.java:845)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher.dispatch(LatherDispatcher.java:819)
     at com.hyperic.hq.bizapp.server.session.LatherDispatcher.dispatch(LatherDispatcher.java:148)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatchWithoutTx(EELatherBossEJBImpl.java:86)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatchWithTx(EELatherBossEJBImpl.java:74)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatch(EELatherBossEJBImpl.java:59)
     at sun.reflect.GeneratedMethodAccessor621.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     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:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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:315)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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 $Proxy351.dispatch(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor619.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.hyperic.lather.jboss.JBossLatherServlet$EJBCaller.doInvoke(JBossLatherServlet.java:314)
     at org.hyperic.lather.jboss.JBossLatherServlet$EJBCaller.run(JBossLatherServlet.java:350)
2009-04-18 01:56:45,941 ERROR [Thread-4490] [com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl@88] Error dispatching method 'aiSendReport'
javax.ejb.EJBException: RuntimeException
     at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
     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 $Proxy318.reportAIData(Unknown Source)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher.cmdAiSendReport(LatherDispatcher.java:594)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher._dispatch(LatherDispatcher.java:845)
     at org.hyperic.hq.bizapp.server.session.LatherDispatcher.dispatch(LatherDispatcher.java:819)
     at com.hyperic.hq.bizapp.server.session.LatherDispatcher.dispatch(LatherDispatcher.java:148)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatchWithoutTx(EELatherBossEJBImpl.java:86)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatchWithTx(EELatherBossEJBImpl.java:74)
     at com.hyperic.hq.bizapp.server.session.EELatherBossEJBImpl.dispatch(EELatherBossEJBImpl.java:59)
     at sun.reflect.GeneratedMethodAccessor621.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     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:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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:315)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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 $Proxy351.dispatch(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor619.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.hyperic.lather.jboss.JBossLatherServlet$EJBCaller.doInvoke(JBossLatherServlet.java:314)
     at org.hyperic.lather.jboss.JBossLatherServlet$EJBCaller.run(JBossLatherServlet.java:350)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     at java.lang.AbstractStringBuilder.substring(Unknown Source)
     at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.getIps(AutoinventoryManagerEJBImpl.java:665)
     at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.reportAIData(AutoinventoryManagerEJBImpl.java:693)
     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.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:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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:404)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
     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)
     ... 43 more

TCP Out Rest, TCP Established Reset

$
0
0
Hi,

Could someone please help me with what these two TCP parameters TCP Out Reset, TCP Established Reset mean?
I believe Out Reset is the one given out by the machine in case of a time out on the  syn+syn/ack state and established Reset is the one given at from a "connection established" state (instead of FIN closure as in normal case). Could someone please clarify this?

-Jamieboy

Swap Free measurement on Windows 2008

$
0
0
Hello,

I am using Hyperic HQ 4.0.2 to monitor a Windows 2008 64-bit server. Everything works fine, but I see some anomalies in some of the metric measurements. One of those is the "Swap Free" metric.

I have a 95 GB paging file configured in Windows. However, Hyperic is reporting that I have a "Swap Free" of 104.2 GB.  How is this possible?

This is especially confusing in that my "Swap Used" metric is 63.6 GB. I would think that in order to have Swap Free and Swap Used of these amounts, I'd have to have at least a 167.8 GB paging file.

Anyone have any ideas? Is this a bug?

Thanks,
Brian

SIGAR doesn't work when included in JAR

$
0
0
Hi.

SIGAR works great when I'm using it from Eclipse.

But when I'm including it in JAR, and then launching it from command line, I'm getting the following exception:

Exception in thread "Server info update" java.lang.UnsatisfiedLinkError: org.hyperic.sigar.Uptime.gather(Lorg/hyperic/sigar/Sigar;)V
        at org.hyperic.sigar.Uptime.gather(Native Method)
        at org.hyperic.sigar.Uptime.fetch(Uptime.java:30)
        at org.hyperic.sigar.Sigar.getUptime(Sigar.java:400)
        at app.db.DataBase.setServerUpTime(DataBase.java:422)
        at app.update.threads.UpdateServerInfoThread.run(UpdateServerInfoThread.java:31)

Any idea how to solve this?

I'm using CentOS 64-bit, Sun Java 1.6.14.

Thanks in advance!

Evaluating OpenSource option with WebSphere V6.1

$
0
0
I've downloaded and installed the OpenSource server and agent onto a WinXP system running WAS 6.1.0.25 using the MSI install file.  Using the auto-detection, Hyperic HQ found my WAS 6.1 system but cannot connect to monitor it.  The message when trying to monitor states :

The problem is: Invalid configuration: Error reported by Agent @ 165.226.238.64:2144: java.lang.NullPointerException

Peculiarly, the paths in the configuration screen are Unix format and the program box lists startServer.sh rather than startServer.bat.

Even after adjusting the configuration properties and restarting the agent, it fails to make a SOAP connection to the JVM.


Anyone have any suggestions of adjustments or somewhere else to look?

Stock agent hanging after 'Starting HQ Agent...'

$
0
0
When I try to start HypericHQ agent, I get the following output. Nothing happens after this. I've waited over an hour.

user@server:~$ /home/hyperic/agent-4.1.2/bin/hq-agent.sh start
Starting HQ Agent...
- Unable to load agent token file.  Generating a new one ... Done

Has anyone seen this before? How do I troubleshoot why a Java app won't start? I've rolled out the same version on 5 similar servers.

uname -a:
    Linux serverhost 2.6.8-3-686-smp #1 SMP Thu Feb 9 07:05:39 UTC 2006 i686 GNU/Linux

Can't start agent with wrapper - why? And then it doesn't respond. Help!

$
0
0
I recently upgraded from Hyperic HQ 3.2 to 4.2 and I'm re-installing agents on my Solaris 9 boxes.  On one machine, I cannot seem to start the agent without using the hq-agent-nowrapper.sh script.

Anyone have any ideas why this is?

Additionally, once I do get it started/configured with the nowrapper script, it will not autodiscover my platform.  It gets to the following point in the log and then just stops responding:
2010-01-12 10:48:45,126 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> bizapp:createToken
2010-01-12 10:48:45,551 INFO  [Thread-0] [SSLConnectionListener] Locking auth token
2010-01-12 10:48:45,813 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> bizapp:setCAMServer
2010-01-12 10:48:45,924 INFO  [Thread-0] [CommandsServer] Setting the HQ server to: http://10.48.37.111:7080/jboss-lather/JBossLather
2010-01-12 10:48:45,927 INFO  [Thread-0] [AgentTransportLifecycleImpl] Stopping agent transport.
2010-01-12 10:48:45,932 INFO  [Thread-2] [ConfigPopulateThread] Starting config populate thread
2010-01-12 10:48:45,934 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> bizapp:getCAMServer

HQ_JAVA_HOME env variable is set to the jre packaged with hyperic: /hyperic-hq-agent-4.2.0/jre

I have searched this forum and Googled for days and tried many things on my end but can't get around this.  Please help me!

Agent 4.2.0 won't start up, gets "No token file found"

$
0
0
Hello,

I just upgraded my HQ 4.1.2 installation to 4.2.0, running on Windows 2003. The server upgrade went fine. However, when I tried to setup a new 4.2.0 agent on the same server that is running HQ Server, I find it will not start up.

When I run "hq-agent.bat setup" from the command line, I get the below message:

- No token file found, waiting for Agent to initialize

It just keeps repeating this message until I cancel the command.

I have tried setting "agent.setup.resetupTokens=yes" in the agent properties file, but that has not made a difference.

Any ideas what is going on here?

BTW:  All of my 4.1.2 agents still work fine--they communicate with the 4.2.0 HQ Server without any issues. Also, I have my HQ_JAVA_HOME set to the 1.6.0_16 JDK.

Thanks,
Brian

PTQL query works on Mac OS X 10.6, but fails on 10.5

$
0
0
Hi,

I'm having an issue monitoring a process in java from mac os x 10.5.

On 10.6, this seems to work fairly good, though, maybe not 100%, but close.

However, on 10.5 it works 0%.

I use process builder to create a java process. In this case it's actually a make command that's invoked that is causing the problem similar to the following:

make -f <path to makefile>/Makefile ARG1=VAL1 ARG2=VAL2 ARG3+=VAL3 <other args...> SRC_ROOT=<somepath> OUTPUTDIR=<anotherpath> all

I use PTLQ to look for this process and I create a query string something like:

String query = "Exe.Name.ct=make,Args.1.ct=-f,Args.2.ct=Makefile,Args.2.ct=ARG1=VAL1….".

Basically, to simplify the query, I take the basename of arch arg, and then use "ct' with each arg to try to match it. I didn't seem to have much luck using "eq" with unmodified args when I tried this weeks (if not months) ago.

On Mac OS X 10.6 this seems to work great. On Mac OS X 10.5, it doesn't match anything.

I once tried some query strings (like the PTQL page examples) such as "State.Name.eq=make,Args.-1.eq=all" (then also trying ct, then eventually changing State to Exe); however, if another make was running (and this does happen frequently), then it wouldn't match (I error out if there is more than one match). Using Exe instead of State seemed to make the following code work (at least on 10.6):

Here are some code fragments. This one creates the query:

     public String makePTQLQueryString (String _command)
     {
          String [] cmdLineArray = _command.split("\\s+");
          String queryString = null;
          
          // turn every argument into a basename for use with contains "ct" query
          for (int i = 0; i < cmdLineArray.length; i++)
          {
               cmdLineArray [i] = basename (cmdLineArray [i]);
          }
          
          // every query should have the exe name
          queryString = "Exe.Name.ct="+cmdLineArray[0];

          // the rest of the command line, if any, should be args
          if (cmdLineArray.length > 1)
          {
               for (int i = 1; i < cmdLineArray.length; i++)
               {
                    queryString += ",Args."+i+".ct="+cmdLineArray[i];
               }
          }

          return queryString;
     }


Here I use a global sigar object (I also tried creating a new sigar obj for each query), and I search for processes that match the query above:

          int pid = 0;
          // process query logic moved to makeQueryString
          String query = makePTQLQueryString (appName);

          LOG(this, LOG_SEV_TRACE, "isRunning(" + appName + ", "
                    + guiApp + "): query:\n    '" + query + "'");

          try {
               pQuery = processQuery.getQuery(query);
          } catch (MalformedQueryException e) {
               LOG(this, LOG_SEV_ERROR,
                         "IsRunning: malformedquery exception: " + e.getMessage());
               return 0;
          }

          try {
               long[] pids = pQuery.find(sigar);
               LOG(this, LOG_SEV_TRACE, "isRunning(" + appName
                         + "): num of matching pids for '" + appName
                         + "': " + pids.length);

               if (pids.length == 1) {
                    pid = (int) pids[0];
                    LOG(this, LOG_SEV_TRACE, "isRunning(" + appName
                              + ", " + guiApp + "): found matching pid '" + pid
                              + "' for '" + appName + "'");
               } else if (pids.length < 1) {
                    LOG(this, LOG_SEV_TRACE, "isRunning(" + appName
                              + ", " + guiApp + "): no matching pid found for '"
                              + appName + "'");
               } else if (pids.length > 1) {
                    // we have more than one pid available, but randomly choosing
                    // one is prob not the right answer here
                    // a better solution is notify the user, and let him/her make a
                    // better appName query
                    LOG(this, LOG_SEV_TRACE, "isRunning(" + appName
                              + ", " + appName + ", " + guiApp
                              + "): warning: found '" + pids.length
                              + "' matching pids for '" + appName + "'");
               }
          } catch (SigarException e) {
               LOG(this, LOG_SEV_ERROR,
                         "IsRunning: sigar exception: " + e.getMessage());
               return 0;
          }

          LOG(this, LOG_SEV_INFO, "isRunning(" + appName + ", "
                    + guiApp + ") returns: " + pid);
          return pid;

Does this seem like the right approach to take with my queries? I am trying to make the code generic so that I can invoke arbitrary processes and still match them exactly.

Are there any known problems or limitations that might cause this to work on 10.6 but fail on 10.5?

Eventually, I want to make the same code work on mac, linux, windows, etc.

Thanks,

hyperguy

Error : mysqlstats: value=value:Created_tmp_disk_tables not found:

$
0
0
Hi,

I am using Hyperic HQ 4.3.0 Server & HQ Agent 4.3.0 on all my monitored clients.

I have MySQL 5.1.45-percona build server which needs to be monitored. When I try to configure it after key in the root password I get the following error on the UI

Please verify that this resource has been enabled for monitoring by following the directions below
Configuration Properties      
The configuration has not been set for this resource due to : Invalid configuration: Error retrieving value: Service mysqlstats:query=show /*!50002 global */ status,key=variable_name,value=value:Created_tmp_disk_tables not found: Could not create connection to database server. Attempted reconnect 3 times. Giving up.


However when I try to configure the agent manually by
java -jar hyperic-hq-agent/bundles/agent-4.3.0-1443/pdk/lib/hq-product.jar -Dplugins.include=mysql_stats -m discover -a properties
I get the following errors
1 servers detected

Server: blr-cos-mdb.digi.com MySQL Stats 5.1.x [/usr]
AIID...../usr
config...
product..{jdbcUrl=jdbc:mysql://localhost:3306, jdbcUser=root, process.query=State.Name.eq=mysqld}
metric...{}
control..null
cprops...{version=5.1.x}
generating [plugin-properties/mysql-stats-5.1.x/blr-cos-mdb.digi.com_MySQL_Stats_5.1.x.properties]
ERROR [main] [PluginDiscoverer] MySQL Stats 5.1.x Linux-->org.hyperic.hq.product.PluginException: java.sql.SQLException: Access denied for user 'root'@'127.0.0.1' (using password: NO)
org.hyperic.hq.product.PluginException: java.sql.SQLException: Access denied for user 'root'@'127.0.0.1' (using password: NO)
        at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.discoverServices(MySqlServerDetector.java:125)
        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:226)
        at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:604)
        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: java.sql.SQLException: Access denied for user 'root'@'127.0.0.1' (using password: NO)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3996)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:348)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
        at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.getConnection(MySqlServerDetector.java:192)
        at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.discoverServices(MySqlServerDetector.java:120)
        ... 6 more


How to monitor the MySQL 5.1.x ?

Regards
Shann

Message was edited by: massoo

Agent problem

$
0
0
I have some problem when I try to start my HQ agent. I'm a beginner with hyperic hq and Im using it with Spring's tc server. I have the tc server, hq server and hq agent on the same machine. The installation of the hq-server goes just fine but when I'm trying to start the hq-agent I'm getting the error message below. Anyone can give me a hint what the problem might be? Any suggestions or input would be appreciated because I'm not sure what to do.

Starting HQ Agent...
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: localhost
Should Agent communications to HQ always be secure [default=no]:
What is the HQ server port     [default=7080]:
- Testing insecure connection ... Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=x.x.x.x]:
What port should HQ use to contact the agent [default=2144]:
- 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: RuntimeException
        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: RuntimeException
        at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:124)
        at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:157)
        ... 4 more
- Error registering agent: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException

Unable to register agent: Failed to connect to agent: Unable to connect to

$
0
0
I am using default ports,
the two servers are both on the same physical switch,
I've dropped firewalls on both devices,
I have the right passwords,
I've even telnetted to the port 2144 (but don't know what to type for manual test)
Pinged both devices by IP and DNS names,
Tried both the Secure and Insecure configurations,

Performed full reinstall of the Agent, (not server, as it's talking with 3 winboxes).

Host OS: RHEL5.5 x64bit
The OS is DVD from RH fresh - no other apps on it.
Patched the bejesus out of it too.

Using same .tgz file as the other 18 RHEL4 and 5 boxes without a hitch.

****************************************************************************************
[hqagent@foobarUX ~]$ ./hyperic-hq-agent-4.4.0/bin/hq-agent.sh start
Starting HQ Agent...
[ Running agent setup ]
What is the HQ server IP address: foo.bar.com
Should Agent communications to HQ always be secure [default=no]: yes
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]:foomaster
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.104.216]:
What port should HQ use to contact the agent [default=2144]:
- Received temporary auth token from agent
- Registering agent with HQ
- Unable to register agent: Failed to connect to agent: Unable to connect to 192.168.104.216:2144: Connection timed out: connect
***************************************************************************************
What's next?

Error: Unable to deserialize agent data. You may need to update your agent.

$
0
0
I've installed Hyperic 4.5 server and agent on a Debian Linux.
Everything is fine with these default installation, I can see the tomcat server for example.

I've made a simple java application with a custom mbean.
This application is launched with jmx enabled configuration.

Adding this application is OK with "Add Server / Sun JVM", I can see JVM Memory, thread, etc...
But when I want to make a "JMX MBean Query" with the defautl field I've got this error:
"Error: Unable to deserialize agent data. You may need to update your agent."

=> Server and Agent are at the same version

I checked the server log and here is the error:

2010-11-14 00:34:49,592 INFO  [catalina-exec-6] [JmxController@?] Invoking method: queryMBeans with [id:[10004], eid:[2:10010], attachId:[10004], mode:[list]]
2010-11-14 00:34:52,093 INFO  [catalina-exec-11] [JmxController@?] Invoking method: queryMBeans with [id:[10004], presetFilter:[JVM Memory MBean], refreshInterval:[0], pattern:[java.lang:type=MemoryPool,*], attributeFilter:[.*], operationFilter:[.*], eid:[2:10010], attachId:[10004], mode:[list]]
2010-11-14 00:34:52,576 WARN  [catalina-exec-11] [org.hyperic.hq.livedata.agent.client.LegacyLiveDataCommandsClientImpl@89] Unable to deserialize agent data.  You may need to update your agent.
com.thoughtworks.xstream.converters.ConversionException: Cannot deserialize object with new readObject()/writeObject() methods
---- Debugging information ----
class               : java.util.HashMap
required-type       : javax.management.MBeanOperationInfo
path                : /map/entry/map/entry[2]/javax.management.MBeanOperationInfo-array/javax.management.MBeanOperationInfo
line number         : 491
-------------------------------
        at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:281)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
        at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:55)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
        at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:79)
        at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
        at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:79)
        at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
        at org.hyperic.hq.livedata.agent.client.LegacyLiveDataCommandsClientImpl.serializeData(LegacyLiveDataCommandsClientImpl.java:63)
        at org.hyperic.hq.livedata.agent.client.LegacyLiveDataCommandsClientImpl.getData(LegacyLiveDataCommandsClientImpl.java:85)
        at org.hyperic.hq.livedata.server.session.LiveDataManagerImpl.getData(LiveDataManagerImpl.java:268)
        at org.hyperic.hq.livedata.server.session.LiveDataManagerImpl.getData(LiveDataManagerImpl.java:220)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
[...]

The simple application is running with the OpenJDK 6 but I've got the same error when I run it with the jre included in hyperic server.

I always get a per process CPU usage of zero when using the C API

$
0
0
I have written a little test program that deliberately goes into a tight CPU loop. This features as high CPU usage on task manager. However, my C++ sigar program shows it with a CPU usage of zero. It shows zero for every process. Here is a redacted version of my code:

int errorCode;
sigar_proc_list_t processList;
errorCode = sigar_proc_list_get(sigar, &processList);
if (errorCode != SIGAR_OK)
{
throw std::runtime_error(sigar_strerror(sigar, errorCode));
}

for (size_t i = 0; i < processList.number; i++)
{
sigar_proc_cpu_t cpu;
errorCode = sigar_proc_cpu_get(sigar, processList.data[i], &cpu);
if (errorCode != SIGAR_OK)
{
continue;
}

std::cout << processList.data[i] << " " << 100.0 * cpu.percent << std::endl;
}

What am I doing wrong please?

-Andrew Marlow

Problems with hyperic agent/server communication

$
0
0
Hi, I'm trying to use hyperic to monitor tc server instances and am running into a problem where the hyperic server is not auto discovering the running tc server instance.

I double checked the installation procedure with the spring source/hyperic docs; re-installed the hyperic server and agent.. and still have the same problem.

Looks like the agent is not able to communicate with the server. Not sure how to fix this. Any help is greatly appreciated.

Thanks, Ephrim.

Environment :
1) OS : Linux
2) Tc server, hyperic server, hyperic agent all running on the same machine
3) Used defaults when installing the hyperic agent
4) No network problems (telnet to hyperic server and agent port woks fine)

Problem :
1) Hyperic console is not auto discovering the running tc server instance even after a few minutes
2) The following errors are seen in the agent and server logs.

Agent Log :
=================
2011-01-24 17:40:24,221 ERROR [Thread-0] [MQSeriesProductPlugin] No PCF Jar found (see help on the Inventory Properties page) => []
2011-01-24 17:40:24,359 INFO [Thread-0] [ProductPluginManager] Loading plugin: springsource-tcserver-plugin.jar
2011-01-24 17:40:25,549 INFO [Thread-0] [AgentDaemon] Product Plugin Manager initalized

2011-01-24 17:41:41,558 ERROR [Thread-1] [MQSeriesDetector] Fatal Error determining the MQ Version
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at org.hyperic.hq.plugin.wsmq.MQSeriesDetector.getSer verList(MQSeriesDetector.java:58)
at org.hyperic.hq.plugin.wsmq.MQSeriesDetector.getSer verResources(MQSeriesDetector.java:120)
at org.hyperic.hq.autoinventory.scanimpl.NullScan.sca n(NullScan.java:83)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner .java:198)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLo op(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$00 0(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(Sca nManager.java:107)
2011-01-24 17:41:41,573 ERROR [Thread-1] [MQSeriesDetector] Fatal Error determining the MQ Version
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at org.hyperic.hq.plugin.wsmq.MQSeriesDetector.getSer verList(MQSeriesDetector.java:58)
at org.hyperic.hq.plugin.wsmq.MQSeriesDetector.getSer verResources(MQSeriesDetector.java:120)
at org.hyperic.hq.autoinventory.scanimpl.NullScan.sca n(NullScan.java:83)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner .java:198)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLo op(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$00 0(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(Sca nManager.java:107)
2011-01-24 17:41:49,030 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying. Error: IO error: Connection failure: HTTP/1.1 400 Bad Request
2011-01-24 17:42:11,086 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying. Error: IO error: Connection failure: HTTP/1.1 400 Bad Request
2011-01-24 17:42:40,526 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 33 secs before retrying. Error: IO error: Connection failure: HTTP/1.1 400 Bad Request
2011-01-24 17:43:21,127 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 50 secs before retrying. Error: IO error: Connection failure: HTTP/1.1 400 Bad Request

Server Log
==============
2011-01-24 17:47:42,446 ERROR [tomcat-http--23] [org.hyperic.lather.server.LatherServlet@219] Invalid Lather request made from 127.0.0.1
2011-01-24 17:50:40,218 ERROR [tomcat-http--40] [org.hyperic.lather.server.LatherServlet@219] Invalid Lather request made from 127.0.0.1

Hyperic as a Munin replacement?

$
0
0
Hi everyone! New member and new Hyperic user. Currently a user of Nagios for availability monitoring and Munin for performance metrics/monitoring.

I've installed Hyperic Ent Trial and configured an agent on one of our servers. My first impression is that the graphs are difficult to read due to their small size and use of dots to plot instead of lines.

Is there any way to modify the graphs to use line graphing instead?

Is there any way to increase the size of the graphs within the Resource->Monitor view? They appear to be small so as to fit an 800x600 browser. Who still uses that small of resolution? Within Munin you know within a second of viewing a graph if there is an issue. I have to squint and work overtime to get a sense of what's being displayed.

Munin displays daily and weekly graphs side-by-side for every resource being monitored on a host. This helps tremendously in visually digesting a systems trends or spikes. Is there any way to have a daily and weekly graph side-by-side within Hyperic?

It seems thus far that our Munin isn't going anywhere. Which is a shame because Hyperic is capable of collecting comparable metrics. It just doesn't seem able to allow good use of those metrics. I'm a little bummed that a perl utility using rrd and static html is more usable.

Also, there are plugins for nearly every possible metric available for Munin. I can't seem to find out how to graph Mysql Query Cache performance in Hyperic (hit rate, cache mem usage, etc). I want to like Hyperic, I just need some help.

Problem Websphere 7.0 with HQ 4.4.0 SOAP Connection Fails.

$
0
0
HI , I am facing the below error while saving the configuration details for websphere 7.0 .


2011-02-28 18:07:59,646 INFO  [Thread-3] [RuntimeAutodiscoverer] Running runtime autodiscovery for WebSphere 7.0
2011-02-28 18:07:59,943 ERROR [Thread-3] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: WebSphere 7.0: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
org.hyperic.hq.product.PluginException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at org.hyperic.hq.plugin.websphere.jmx.WebsphereRuntimeDiscoverer.discoverServices(WebsphereRuntimeDiscoverer.java:157)
     at org.hyperic.hq.plugin.websphere.WebsphereDetector.discoverServices(WebsphereDetector.java:89)
     at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:226)
     at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)
     at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)
     at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
     at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
     at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Caused by:
org.hyperic.hq.product.MetricUnreachableException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:143)
     at org.hyperic.hq.plugin.websphere.jmx.WebsphereRuntimeDiscoverer.discoverServices(WebsphereRuntimeDiscoverer.java:136)
     ... 7 more
Caused by:
com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:529)
     at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:132)
     ... 8 more
Caused by:
java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
     at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:358)
     ... 9 more
Caused by:
com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.)]
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:377)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:197)
     ... 14 more
Caused by:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.)]
     at org.apache.soap.transport.http.SOAPHTTPConnection.send(Unknown Source)
     at org.apache.soap.rpc.Call.invoke(Unknown Source)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:349)
     at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:334)
     ... 15 m



agent.properties: Values specified in this file are mentioned below.

agent.setup.camIP=10.80.131.163
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=yes
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.80.131.164
agent.setup.agentPort=2144
agent.setup.resetupTokens=no


# required to find websphere jars
#websphere.installpath=/opt/WebSphere/AppServer
websphere.installpath=/C:/Program Files/IBM/SDP/runtimes/base_v7



can someone please let me know what should be done to resolve this issue

NOTE:-I have checked serverindex.xml file for port and host name  they are correct.

Thanks ans Regards,
Shalani
Viewing all 52618 articles
Browse latest View live


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