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

issue when installing hyperic open source 5.8.1

$
0
0

i have this issue when installing hyperic open source 5.8.1 can somebody help me please

 

Downloading: http://repo1.maven.org/maven2/org/hyperic/hq/dist/hyperic-hq-agent/5.8.1/hyperic-hq-agent-5.8.1.pom

[INFO] Unable to find resource 'org.hyperic.hq.dist:hyperic-hq-agent:pom:5.8.1' in repository central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Failed to resolve artifact.

 

Missing:

----------

1) org.hyperic.hq.dist:hyperic-hq-agent:pom:5.8.1

  Path to dependency:

      1) org.hyperic.hq.dist.hyperic-hq-agent:hyperic-hq-agent-noJRE:pom:5.8.1

      2) org.hyperic.hq.dist:hyperic-hq-agent:pom:5.8.1

 

----------

1 required artifact is missing.

 

for artifact:

  org.hyperic.hq.dist.hyperic-hq-agent:hyperic-hq-agent-noJRE:pom:5.8.1

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2),

  spring-release (http://maven.springframework.org/release),

  hyperic-external (http://maven.hyperic.org/external),

  cm-release (http://maven.cm.hyperic.org/release),

  hqapi-release (http://maven.hyperic.org/hqapi/release)

 

 

 

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4 minutes 41 seconds

[INFO] Finished at: Thu Mar 06 11:10:26 CET 2014

[INFO] Final Memory: 128M/938M


Hyperic server not starting.

$
0
0

I am trying to deploy Hyperic 5 open source to a windows server 2012.

 

I have installed the Hyperic server. When i try to start the service it runs for about 4 seconds then stops.

 

I am using the built in DB.

 

I will attach the bootstrap.log.

Create an nick-name for a resource ...

$
0
0
Is it possible to define a nick-name for a resource instead of it using the fully qualified domain name and its service type?  For example, the Oracle database servers, the resource name is "s321421el04.blah.blah.com Oracle 10g", but it would be preferrable to provide a more user-friendly name for the resource to be able to more quickly identify it.

hqapi command line tools invocation issue

$
0
0
i am having difficulty invoking hqapi.
i placed the following class of the hqapi client:

./server-4.2.0-EE/hq-engine/server/default/deploy/hq.ear/hq.war/hqu/hqapi1/lib/hqapi1-2.2.jar


but it still throws the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/hqapi1/tools/Shell
Caused by: java.lang.ClassNotFoundException: org.hyperic.hq.hqapi1.tools.Shell
     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.hyperic.hq.hqapi1.tools.Shell.  Program will exit.


I put the hqapi jar from my Hyperic release (which is enterprise 4.2) into the lib directory of the hqapi command line tools and it works. I am not sure why this isn't included in the hqapi tools distribution, but it might want to be noted in the documentation somewhere (http://support.hyperic.com/display/DOC/HQ+API+Command-Line+Tools#HQAPICommand-LineTools-CommonRequiredCommandQualifiers).

Error: org.hyperic.sigar.SysInfo.gathe

$
0
0
Hello
I am making a web application that displays system information on its main page. I am using Tomcat as my web server. I am using sigar API  in NetBeans on CentOS 5.2. I have added the sigar.jar file in my project and copied the libsigar-x86-linux.so file in /usr/lib directory. When i am running the project some times it runs perfectly displaying system information on the main page. But some times I am getting these errors on my main page:

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: org.hyperic.sigar.SysInfo.gather(Lorg/hyperic/sigar/Sigar;)V
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: org.hyperic.sigar.SysInfo.gather(Lorg/hyperic/sigar/Sigar;)V
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
     org.apache.jsp.main_jsp._jspService(main_jsp.java:268)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.UnsatisfiedLinkError: org.hyperic.sigar.SysInfo.gather(Lorg/hyperic/sigar/Sigar;)V
     org.hyperic.sigar.SysInfo.gather(Native Method)
     org.hyperic.sigar.OperatingSystem.getInstance(OperatingSystem.java:94)
     com.myapp.struts.Main.getOsDescription(Main.java:33)
     org.apache.jsp.main_jsp._jspService(main_jsp.java:180)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.


I think sigar api is unable to load system information. Any idea why I am getting these exception and how to fix them permanently. I am using hyperic-sigar-1.6.3. I am using CentOS 5.2 on Pentium 4 machine.

Thanks

NTDS\NTLM Authentication Error

$
0
0

Hi,


While configuring "Active Directory" on Hyperic we are experiencing below mentioned Error.

Please suggest to gix the same.


Error : "Invalied configuration Error retriving value: NTDS\NTLM Authentications"


Regards,

Abdul Shaik

Agent does not collect load average on CentOS

$
0
0

Hi,

 

after upgrading Hyperic HQ from 4.5.1 to 4.6 we discovered that agents on platform CentOS stopped collecting the load-average.

Database-Values for measurement are always "0.0000" since then.

Agents on other OS behave normal.

 

 

ea_measurement_data_1d

 

1339718400000;13730;0.80750;0.39000;1.40000
1339804800000;13730;0.66333;0.42000;1.19000
1339891200000;13730;0.62500;0.41000;1.18000
1339977600000;13730;0.91250;0.50000;1.56000
1340064000000;13730;0.69583;0.42000;1.21000
1340150400000;13730;0.69917;0.44000;1.13000
1340236800000;13730;0.74833;0.44000;1.42000

upgrade of agent:

1340323200000;13730;0.00000;0.00000;0.00000
1340409600000;13730;0.00000;0.00000;0.00000
1340496000000;13730;0.00000;0.00000;0.00000
1340582400000;13730;0.00000;0.00000;0.00000
1340668800000;13730;0.00000;0.00000;0.00000
1340755200000;13730;0.00000;0.00000;0.00000
1340841600000;13730;0.00000;0.00000;0.00000
1340928000000;13730;0.00000;0.00000;0.00000

 

 

A Test-Installation of Version 5 (Server and Agent) as brought the same result.

 

 

Regards,

 

Falk

Hyperic 4.6.6 Agent Startup Failure

$
0
0

Hey,

 

We have been using Hyperic extensively for monitoring more than 150 platforms for the past 3-4 months. We have recently upgraded the version from 4.4 to 4.6.6.

 

The issue is with the Hyperic Agent Startup and it is coming intermittently on few of the VM's. Steps to reproduce this:

1) Stop the Hyperic Agent

2) Start the Hyperic Agent

 

What I see on the console is:

Error:Error contacting agent: Error sending argument: Unable to connect to 127.0.0.1:2144: Connection refused, retried 5 times, cmd=agenting

 

The logs in log/agent,log:

 

19-02-2013 13:12:01,000 UTC INFO  [AgentDaemonMain] [AgentDaemon@1050] Attempting to rollback agent bundle
19-02-2013 13:12:01,001 UTC INFO  [AgentDaemonMain] [AgentDaemon@1059] Rollback of agent bundle was successful
19-02-2013 13:12:01,001 UTC INFO  [AgentDaemonMain] [AgentDaemon@1064] Restarting JVM...
19-02-2013 13:12:01,002 UTC INFO  [AgentDaemonMain] [AgentUpgradeManager@67] restart requested
19-02-2013 13:12:20,748 UTC ERROR [AgentDaemonMain] [AgentDaemon@1004] Agent configuration failed:
org.jasypt.exceptions.EncryptionOperationNotPossibleException
        at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:653)
        at org.hyperic.util.security.MarkedStringEncryptor.decrypt(MarkedStringEncryptor.java:74)
        at org.jasypt.properties.PropertyValueEncryptionUtils.decrypt(PropertyValueEncryptionUtils.java:72)
        at org.hyperic.util.security.SecurityUtil.decrypt(SecurityUtil.java:101)
        at org.hyperic.hq.agent.server.AgentDListProvider.init(AgentDListProvider.java:371)
        at org.hyperic.hq.agent.server.AgentDaemon.createStorageProvider(AgentDaemon.java:384)
        at org.hyperic.hq.agent.server.AgentDaemon.configure(AgentDaemon.java:430)
        at org.hyperic.hq.agent.server.AgentDaemon.newInstance(AgentDaemon.java:184)
        at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:1001)
        at java.lang.Thread.run(Thread.java:662)
While the logs in log/wrapper.log are as follows:
STATUS | wrapper  | 2013/02/19 13:11:21 | JVM requested a restart.
INFO   | jvm 1    | 2013/02/19 13:11:22 | Stopping agent ...
INFO   | jvm 1    | 2013/02/19 13:11:34 | Success -- agent is stopped!
STATUS | wrapper  | 2013/02/19 13:11:39 | Reloading Wrapper configuration...
STATUS | wrapper  | 2013/02/19 13:11:39 | Launching a JVM...
INFO   | jvm 2    | 2013/02/19 13:11:39 | WrapperManager: Initializing...
INFO   | jvm 2    | 2013/02/19 13:11:41 | - Invoking agent
INFO   | jvm 2    | 2013/02/19 13:11:41 | - Agent thread running
INFO   | jvm 2    | 2013/02/19 13:11:41 | - Verifying if agent is running...
INFO   | jvm 2    | 2013/02/19 13:11:41 | Error invoking agent: Agent reported an error while starting up
STATUS | wrapper  | 2013/02/19 13:11:41 | JVM requested a restart.
INFO   | jvm 2    | 2013/02/19 13:11:42 | Stopping agent ...
INFO   | jvm 2    | 2013/02/19 13:11:54 | Success -- agent is stopped!
STATUS | wrapper  | 2013/02/19 13:11:59 | Reloading Wrapper configuration...
STATUS | wrapper  | 2013/02/19 13:11:59 | Launching a JVM...
INFO   | jvm 3    | 2013/02/19 13:11:59 | WrapperManager: Initializing...
INFO   | jvm 3    | 2013/02/19 13:12:00 | - Invoking agent
INFO   | jvm 3    | 2013/02/19 13:12:00 | - Agent thread running
INFO   | jvm 3    | 2013/02/19 13:12:00 | - Verifying if agent is running...
INFO   | jvm 3    | 2013/02/19 13:12:01 | Error invoking agent: Agent reported an error while starting up
STATUS | wrapper  | 2013/02/19 13:12:01 | JVM requested a restart.
INFO   | jvm 3    | 2013/02/19 13:12:02 | Stopping agent ...
INFO   | jvm 3    | 2013/02/19 13:12:14 | Success -- agent is stopped!
STATUS | wrapper  | 2013/02/19 13:12:19 | Reloading Wrapper configuration...
STATUS | wrapper  | 2013/02/19 13:12:19 | Launching a JVM...
INFO   | jvm 4    | 2013/02/19 13:12:19 | WrapperManager: Initializing...
INFO   | jvm 4    | 2013/02/19 13:12:20 | - Invoking agent
INFO   | jvm 4    | 2013/02/19 13:12:20 | - Agent thread running
INFO   | jvm 4    | 2013/02/19 13:12:20 | - Verifying if agent is running...
INFO   | jvm 4    | 2013/02/19 13:12:20 | Error invoking agent: Agent reported an error while starting up
STATUS | wrapper  | 2013/02/19 13:12:20 | JVM requested a restart.
INFO   | jvm 4    | 2013/02/19 13:12:21 | Stopping agent ...
INFO   | jvm 4    | 2013/02/19 13:12:33 | Success -- agent is stopped!
STATUS | wrapper  | 2013/02/19 13:12:38 | Reloading Wrapper configuration...
STATUS | wrapper  | 2013/02/19 13:12:38 | Launching a JVM...
INFO   | jvm 5    | 2013/02/19 13:12:39 | WrapperManager: Initializing...
INFO   | jvm 5    | 2013/02/19 13:12:40 | - Invoking agent
INFO   | jvm 5    | 2013/02/19 13:12:40 | - Agent thread running
INFO   | jvm 5    | 2013/02/19 13:12:40 | - Verifying if agent is running...
INFO   | jvm 5    | 2013/02/19 13:12:40 | Error invoking agent: Agent reported an error while starting up
INFO   | jvm 5    | 2013/02/19 13:12:41 | Stopping agent ...
INFO   | jvm 5    | 2013/02/19 13:12:53 | Success -- agent is stopped!
ERROR  | wrapper  | 2013/02/19 13:13:14 | Shutdown failed: Timed out waiting for signal from JVM.
ERROR  | wrapper  | 2013/02/19 13:13:14 | JVM did not exit on request, terminated
STATUS | wrapper  | 2013/02/19 13:13:15 | JVM received a signal SIGKILL (9).
STATUS | wrapper  | 2013/02/19 13:13:15 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 1)
FATAL  | wrapper  | 2013/02/19 13:13:15 | There were 5 failed launches in a row, each lasting less than 60 seconds.  Giving up.
FATAL  | wrapper  | 2013/02/19 13:13:15 |   There may be a configuration problem:please check the logs.
STATUS | wrapper  | 2013/02/19 13:13:15 | <-- Wrapper Stopped

Any help on this would be really appreciated.
Regards,
Yashika

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);

Need help to use Sigar Java API in Linux Environment

$
0
0

Hi,

 

I have a certain requirements where I need to start & stop the service & kill if it is not stopping. I found the Sigar API provides the cross platform functionality for the same. I just make a demo application to test. My Demo app is working fine in windows environment. When I am testing the same app in Linux (Ubuntu) I am getting following errors.

 

I added the libsigar-x86-linux.so file to my java library path. Even then when I am trying to read all services by using Service.getServiceNames(); gives me UnsatisfiedLinkError.  if I am not included the same .so file then it is showing UnsatisfiedLinkError and missing the library libsigar-x86-linux.so.

 

If I am adding .so file to library path then it is showing while executing the Service.getServiceNames() method. I am using java 1.7 & Sigar 1.6.4 version.

 

Do we need to include .h (sigar\include folder) files to java bin folders ?

 

What is happening in my case, please help me to solve this issue.

 

 

Regards

Sekhar


Incorrect JVM WebSphereUtil

$
0
0

I just picked up maintaining Hyperic at work from some one else.  I went to look into the agent logs on a server that Hyperic had a recent alert for.  Once there I saw the logs were being filled with EDT Error sender thread and EDT ERROR Collector Thread WebSphereUtil Incorrect JVM. Both are followed by java.lang.NoClassDefFoundError: com/ibm/ws/runtime/util/utilHandlerClass .  When I asked the person who was working with Hyperic what to do to fix this problem they suggested poking around and that all previous fixes had been different so they could not give any advice.  Is there a good way to tell if this problem is coming up because WebSphere correctly or Hyperic is configured wrong? Is this something someone has run into before?

How do you get CPU ID or serial number using Hyperic Sigar?

$
0
0

Is there a method in the Sigar API that returns the CPU ID of the host running the JVM?

Hyperic 5.8 don't see vCenter 5.1

$
0
0

Hi guys.

 

   Recently, I installed a Hyperic 5.8. So, i want add my vCenter infrastructure to hyperic inventory, but apparently I'm doing something wrong, because i can't see vcenter in hyperic's resource tab.

 

 

   vCenter parameters:

 

   vCenter 5.1.

   VirtualCenter.VimApiUrl:  https://vcenter-prod.mydomain.local:443/sdk

 

 

   Hyperic Parameters

 

   vCenter URL: https://vcenter-prod.mydomain.local:443/sdk (i tried with https://vcenter-prod.mydomain.local/sdk, without 443 port, and nothing happens)

   vCenter user: admin (i tried with system-domain\admin, and nothing happens).

  Passwd: admin user password.

 

 

  I restarded hyperic server many times and nothing. I try to install vsphere plugin from solutionsexchange, but hyperic don't show plugin 

 

   Do I need add another parameter in any place?

 

 

Greetings

Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/bizapp/agent/client/AgentClient

$
0
0

We are trying to use this product to monitor SOA 11g on Weblogic Server on Linux 86-64 bit.....  We are getting this error...

 

/oracle/hyperic/agent-4.6.6/bin

[oracle@soa01 bin]$ ls

hq-agent.bat  hq-agent.sh

[oracle@soa01 bin]$ ./hq-agent.sh stop

Stopping HQ Agent...

Stopped HQ Agent.

[oracle@soa01 bin]$ ./hq-agent.sh start

Starting HQ Agent...... running (1996).

Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/bizapp/agent/client/AgentClient

Caused by: java.lang.ClassNotFoundException: org.hyperic.hq.bizapp.agent.client.AgentClient

  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Could not find the main class: org.hyperic.hq.bizapp.agent.client.AgentClient.  Program will exit.

 

-- SETTINGS are for JRE are here...which are used for WLS for SOA also.... ( the default JRE home was giving same error we tried our luck with what we sued for WLS - same issue )

 

/oracle/hyperic/agent-4.6.6/bundles/agent-4.6.6/conf/wrapper.conf

# default JAVA_HOME in case it is not already set

set.default.HQ_JAVA_HOME=/oracle/jdk1.7.0_51/jre

 

 

-- SETTINGS for... agent.properties file

 

# required to find server/lib/weblogic.jar

weblogic.installpath=/oracle/middleware/wlserver_10.3/

 

-- SETTINGS for bundles/bin/hq-agent.sh

 

ENT_CLASSPATH="${AGENT_LIB}/cryptoj.jar"

CLIENT_CLASSPATH="${AGENT_LIB}/wlfullclient.jar"

Running simple command java -jar sigar.jar throws error

$
0
0
When I run the sigar.jar I get the following error:
liblibsigar-x86_64-linux.so: liblibsigar-x86_64-linux.so: cannot open shared object file: No such file or directory
org.hyperic.sigar.SigarException: liblibsigar-x86_64-linux.so: liblibsigar-x86_64-linux.so: cannot open shared object file: No such file or directory
   at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
   at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at java.lang.Class.forName(libgcj.so.7rh)
   at org.hyperic.sigar.SigarLoader.class$(SigarLoader.java:77)
   at org.hyperic.sigar.SigarLoader.getLocation(SigarLoader.java:77)
   at org.hyperic.sigar.cmd.Runner.main(Runner.java:176)
Exception in thread "main" java.lang.NullPointerException
   at java.io.File.normalizePath(libgcj.so.7rh)
   at java.io.File.<init>(libgcj.so.7rh)
   at org.hyperic.sigar.cmd.Runner.getLibJars(Runner.java:73)
   at org.hyperic.sigar.cmd.Runner.addJarDir(Runner.java:134)
   at org.hyperic.sigar.cmd.Runner.main(Runner.java:180)


I am running the test on a (RHEL 6.5).

Java provides the OS information as
Operating System:Linux 2.6.18-92.el5
Architecture:amd64
Number of processors:2

So what is the native shared lib that it should use?

If the shared library is identified how do I make it available to the application?

Regards,
Chet

Failed to load sigar-x86-winnt

$
0
0
Hi folks,

I´m new to Sigar development. I´m trying some stuff using Eclipse IDE. My development platform is Windows XP 5.1.  I´ve put Sigar.jar in Eclipse buildpath and set the java.class.library environment to the directory where  is the sigar-x86-winnt.dll.

Below is my code:

import org.hyperic.sigar.*;

public class Server {

     /**
      * @param args
      */
     public static void main(String[] args) {
          // TODO Auto-generated method stub
          
          System.out.println(System.getProperty("java.library.path"));
          
          Sigar sigar = new Sigar();
     

     }

}

When I run the code above, the following exception is thrown:

Failed to load sigar-x86-winnt: java.lang.NullPointerException
org.hyperic.sigar.SigarException: Failed to load sigar-x86-winnt: java.lang.NullPointerException
     at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
     at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
     at br.com.unimedbh.Server.main(Server.java:15)


Does anyone have any idea of what is going on?

Thanks in advance.

Angelo

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

Directory Usage... Differences on results...

$
0
0
I'm trying to verify how close the values from the command line "du" and the implementation class "Du". I don't know if that is the result of using the commands under a virtual machine, but the values differ...

* Sigar du execution
>$ /usr/lib/jvm/java-6-openjdk/bin/java -Djava.library.path=/u1/svnedge/replica_admin/SvnEdge/ext/sigar -classpath /u1/svnedge/replica_admin/SvnEdge/lib/sigar.jar org.hyperic.sigar.cmd.Du /u1/svnedge/production-tests/1.1/csvn/data/repositories/ddd

* Sigar Du execution output
73110   /u1/svnedge/production-tests/1.1/csvn/data/repositories/ddd

* Linux du command execution
>$ du -sb /u1/svnedge/production-tests/1.1/csvn/data/repositories/ddd

* Linux du command output
77206   /u1/svnedge/production-tests/1.1/csvn/data/repositories/ddd

I'm running these commands under a VMWare image running the following OS.

# Arch: i686
# Name: Linux
# VendorName: Linux
# Description: Ubuntu 10.04
# VendorVersion: 10.04
# Machine: i686
# Vendor: Ubuntu
# VendorCodeName: lucid
# PatchLevel: unknown
# Version: 2.6.32-23-generic

Any comments on that? How could I get the same values on the method calls? Is there a difference related to the blocks on the OS image?

Thanks...
Marcello de Sales

I/O Using Sigar

$
0
0
Hello,

I'm trying to monitor disk I/O using the Sigar library in a Java program. This is primarily on Windows 64-bit (although I would be running this on Linux as well).

I had a couple of questions on the usage

1. Using sigar.getDiskUsage(fs), I'm able to get Reads, Writes, Write Bytes, Read Bytes on a Windows machine for a drive (service time is not returned). Is there a way to get the idle time percentage for the disk using Sigar?

2. Is it possible to use Sigar to monitor the I/O of a given process? It appears that the disk usage only looks at the FileSystem.

Any comments/suggestions appreciated.

Thanks in advance

Unable to import platform : java.rmi.ServerException: RuntimeException;

$
0
0
Hi,
I am using Hyperic HQ open Source edition,Version 4.2.0.7 in BOSS Linux(A debian derived linux)
I have installed the Hyperic server in System A and I installed agent in System B with static XML configuration(not interactive setup).
It was working fine.
But suddenly  today,
When I started the agent in System B, it was working fine, and I got the following message,

"Starting HQ Agent...
[ Running agent setup ]
What is the HQ server IP address: IP
Should Agent communications to HQ always be secure [default=no]: yes
What is the HQ server SSL port [default=7443]: 7443
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]: Username
What is your HQ password: **Not echoing value**
What IP should HQ use to contact the agent [default=IP]: IP
What port should HQ use to contact the agent [default=2144]: 2144
- Received temporary auth token from agent
- Registering agent with HQ
- HQ gave us the following agent token
    1282738337824-4989276030924327659-7835937724282052279
- Informing agent of new HQ server
- Validating
- Successfully setup agent "




In the Server's Dashboard, When i clicked the "Add to Inventory Button",I got the following messsage,

"     Unable to import platform : java.rmi.ServerException: RuntimeException; nested exception is: org.hyperic.hq.common.SystemException: javax.ejb.TransactionRolledbackLocalException: Could not execute JDBC batch update"

How to recover from this error?
I even checked the following link,

http://jira.hyperic.com/browse/HHQ-4139?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

Can any one help me how to resolve this issue?
Viewing all 52618 articles
Browse latest View live


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