4 Replies Latest reply: Oct 13, 2010 9:03 AM by Pankaj Nayal RSS

Hyperic Agent not dicovering processes running on 64 bit jre

Spider_hyperic Hot Shot
Currently Being Moderated
Hi

I installed Hyperic Agent 4.1.1 on Windows 2008 Server R2 Enterprise.
I have 3 instances of an application deployed on different tomcat instances. 2 of these apps use 64 bit jre and one uses 32 bit jre. The hyperic agent is able to discover app running on 32 bit jre but not the other 2 apps.
But when i search for these apps using Sigar (using the same query which plugin's xml file uses) i am able to discover all the 3 apps. While searching using Sigar i am using the jre that comes bundled with the agent.
Please let me know if more information is required and if anyone has faced the same issue.

With regards
  • 1. Re: Hyperic Agent not dicovering processes running on 64 bit jre
    Currently Being Moderated
    The Hyperic agent was able to discover apps using 64 bit jre.

    Earlier i mentioned that the Agent (using embedded 1.5 32 bit jre) was unable to discover the apps but Sigar was able to do so from command line. The difference was the jre used by Sigar which was 1.6 64 bit one.

    I set the HQ_JAVA_HOME System Environment variable to the 64 bit jre and restarted the agent after which the apps using 64 bit jre were also properly discovered. Please let me know whether this is the correct way of using Hyperic Agents on a 64 bit OS (like windows 2008 server).

    Also will the native code that Hyperic agent uses (32 bit dlls etc) work fine on a 64 bit windows OS ?
  • 2. Re: Hyperic Agent not dicovering processes running on 64 bit jre
    Spider_hyperic Hot Shot
    Currently Being Moderated
    The Hyperic agent was able to discover apps using 64 bit jre.

    Earlier i mentioned that the Agent (using embedded 1.5 32 bit jre) was unable to discover the apps but Sigar was able to do so from command line. The difference was the jre used by Sigar which was 1.6 64 bit one.

    I set the HQ_JAVA_HOME System Environment variable to the 64 bit jre and restarted the agent after which the apps using 64 bit jre were also properly discovered. Please let me know whether this is the correct way of using Hyperic Agents on a 64 bit OS (like windows 2008 server).

    Also will the native code that Hyperic agent uses (32 bit dlls etc) work fine on a 64 bit windows OS ?
  • 3. Re: Hyperic Agent not dicovering processes running on 64 bit jre
    Currently Being Moderated
    Hi All

    As mentioned earlier also, i was able to monitor apps using 64 bit jre by running Hyperic agent with a 64 jre (using the HQ_JAVA_HOME system environment variable). I think all the servers and services are shown properly but i get a warning in the wrapper log for the agent saying -

    Log Contents :
    -------------------------------------------------------------------------------------------------------------------------------
    STATUS | wrapper  | 2010/10/12 22:13:51 | --> Wrapper Started as Service
    STATUS | wrapper  | 2010/10/12 22:13:51 | Launching a JVM...
    INFO   | jvm 1    | 2010/10/12 22:13:52 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2010/10/12 22:13:52 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:52 | WARNING - Unable to load the Wrapper's native library because none of the
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           following files:
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             wrapper-windows-x86-64.dll
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             wrapper.dll
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           could be located on the following java.library.path:
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             C:\Program Files (x86)\Hyperic HQ 4.4.0\agent-4.4.0\wrapper\sbin\%LD_LIBRARY_PATH%
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             C:\Program Files (x86)\Hyperic HQ 4.4.0\agent-4.4.0\wrapper\sbin\..\..\wrapper\lib
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           Please see the documentation for the wrapper.java.library.path
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           configuration property.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           System signals will not be handled correctly.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Invoking agent
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Agent thread running
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Verifying if agent is running...
    INFO   | jvm 1    | 2010/10/12 22:14:08 | - Agent is running
    INFO   | jvm 1    | 2010/10/12 22:14:08 | Agent successfully started
    -------------------------------------------------------------------------------------------------------------------------------

    Please let me know what kind of issues can i expect to face because of the missing dll.

    With regards
  • 4. Re: Hyperic Agent not dicovering processes running on 64 bit jre
    Spider_hyperic Hot Shot
    Currently Being Moderated
    Hi All

    As mentioned earlier also, i was able to monitor apps using 64 bit jre by running Hyperic agent with a 64 jre (using the HQ_JAVA_HOME system environment variable). I think all the servers and services are shown properly but i get a warning in the wrapper log for the agent saying -

    Log Contents :
    -------------------------------------------------------------------------------------------------------------------------------
    STATUS | wrapper  | 2010/10/12 22:13:51 | --> Wrapper Started as Service
    STATUS | wrapper  | 2010/10/12 22:13:51 | Launching a JVM...
    INFO   | jvm 1    | 2010/10/12 22:13:52 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2010/10/12 22:13:52 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:52 | WARNING - Unable to load the Wrapper's native library because none of the
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           following files:
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             wrapper-windows-x86-64.dll
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             wrapper.dll
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           could be located on the following java.library.path:
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             C:\Program Files (x86)\Hyperic HQ 4.4.0\agent-4.4.0\wrapper\sbin\%LD_LIBRARY_PATH%
    INFO   | jvm 1    | 2010/10/12 22:13:52 |             C:\Program Files (x86)\Hyperic HQ 4.4.0\agent-4.4.0\wrapper\sbin\..\..\wrapper\lib
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           Please see the documentation for the wrapper.java.library.path
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           configuration property.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |           System signals will not be handled correctly.
    INFO   | jvm 1    | 2010/10/12 22:13:52 |
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Invoking agent
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Agent thread running
    INFO   | jvm 1    | 2010/10/12 22:13:56 | - Verifying if agent is running...
    INFO   | jvm 1    | 2010/10/12 22:14:08 | - Agent is running
    INFO   | jvm 1    | 2010/10/12 22:14:08 | Agent successfully started
    -------------------------------------------------------------------------------------------------------------------------------

    Please let me know what kind of issues can i expect to face because of the missing dll.

    With regards

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 6 points

Share This Page