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

Initial setup - Cant dump MYSQL DB - Permission denied

$
0
0
I am following the instruction on Page 13 RunHQinCloud:
$ ssh -i id_rsa-hqserver-keypair hqadmin@ec2-67-202-9-216.compute-1.amazonaws.com
$ sudo mkfs -t xfs /dev/sdh
$ sudo /opt/hyperic/tools/mount_mysql.sh
$ /opt/hyperic/server/bin/hq-server.sh stop
$ /opt/hyperic/agent/bin/hq-agent.sh stop
$ sudo mysqldump -Q -u root -p12345 --all-databases > /mysql/full-db-dump.sql
$ sudo /etc/init.d/mysqld stop

When I run the mysqldump statement I get "/mysql/full-db-dump.sql: Permission Denied"

I have tried replacing root with hqadmin and -p12345 with the hqadmin password.
I have also tried removing both.

I'm now stuck.... Can someone please help...?

Thanks

Microsoft Cluster

$
0
0
I am deperate to have a solution for agents running within a microsoft cluster.

If you have workarounds that would be good, but my infrastructure is clustered, and at this time not monitorable (at least not properly ;-) )

Where to put the sigar library in ubuntu?

$
0
0
HI all,

I'm doing the memory usage and file system disk usage monitoring on Windows and
Linux (Ubuntu). The program works in Windows(I put the sigar library in the jdk library)
and now i'm having problem with the ubuntu. Where should i pun the sigar library in ubuntu?

HQ Agent Crash on AIX 5.3

$
0
0
Agent version 4.2.0
OS AIX 5.3

Agent has been running for 8 days, crashed today.  javacore file attached. 

Here is the output from the wrapper.


ERROR  | wrapper  | 2010/03/02 00:24:47 | JVM appears hung: Timed out waiting for signal from JVM.
ERROR  | wrapper  | 2010/03/02 00:24:47 | JVM did not exit on request, terminated
STATUS | wrapper  | 2010/03/02 00:24:52 | Reloading Wrapper configuration...
STATUS | wrapper  | 2010/03/02 00:24:53 | Launching a JVM...
INFO   | jvm 7    | 2010/03/02 00:25:18 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 7    | 2010/03/02 00:25:18 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 7    | 2010/03/02 00:25:18 |
INFO   | jvm 7    | 2010/03/02 00:28:18 | - Invoking agent
INFO   | jvm 7    | 2010/03/02 00:28:18 | - Agent thread running
INFO   | jvm 7    | 2010/03/02 00:28:18 | - Verifying if agent is running...
INFO   | jvm 7    | 2010/03/02 00:31:20 | Error invoking agent: Agent reported an error while starting up
WARN   | wrapper  | 2010/03/02 00:35:05 | JVM process was still running after receiving a SIGCHLD signal.
STATUS | wrapper  | 2010/03/02 00:35:07 | JVM requested a restart.
INFO   | jvm 7    | 2010/03/02 00:35:08 | Stopping agent ...
INFO   | jvm 7    | 2010/03/02 00:35:08 | Success -- agent is stopped!
STATUS | wrapper  | 2010/03/02 00:35:14 | Reloading Wrapper configuration...
STATUS | wrapper  | 2010/03/02 00:35:14 | Launching a JVM...
INFO   | jvm 8    | 2010/03/02 00:35:24 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 8    | 2010/03/02 00:35:24 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 8    | 2010/03/02 00:35:24 |
INFO   | jvm 8    | 2010/03/02 00:37:11 | - Invoking agent
INFO   | jvm 8    | 2010/03/02 00:37:11 | - Agent thread running
INFO   | jvm 8    | 2010/03/02 00:37:11 | - Verifying if agent is running...
INFO   | jvm 8    | 2010/03/02 00:40:09 | - Agent is running
INFO   | jvm 8    | 2010/03/02 00:40:13 | Agent successfully started
INFO   | jvm 8    | 2010/03/02 00:46:53 | Unhandled exception
INFO   | jvm 8    | 2010/03/02 00:46:53 | Type=Segmentation error vmState=0x00000000
INFO   | jvm 8    | 2010/03/02 00:46:53 | J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
INFO   | jvm 8    | 2010/03/02 00:46:53 | Handler1=F0B2C110 Handler2=F0B2614C
INFO   | jvm 8    | 2010/03/02 00:46:53 | R0=00000000 R1=31390AC0 R2=F0B2D6D0 R3=30F7AC4C
INFO   | jvm 8    | 2010/03/02 00:46:53 | R4=00000008 R5=E83C3810 R6=00000000 R7=00000000
INFO   | jvm 8    | 2010/03/02 00:46:53 | R8=00000000 R9=00000000 R10=00000000 R11=00000000
INFO   | jvm 8    | 2010/03/02 00:46:53 | R12=D1A7FA58 R13=308B7C00 R14=312F9C10 R15=F0B32774
INFO   | jvm 8    | 2010/03/02 00:46:53 | R16=00000003 R17=00000000 R18=F0B2DF00 R19=0000007B
INFO   | jvm 8    | 2010/03/02 00:46:53 | R20=302D4850 R21=312F9C24 R22=00000000 R23=302D46E8
INFO   | jvm 8    | 2010/03/02 00:46:53 | R24=302D46E8 R25=F0B1E1E0 R26=F0B2CC5C R27=30585240
INFO   | jvm 8    | 2010/03/02 00:46:53 | R28=00000000 R29=30F7AC50 R30=00000005 R31=3002B2C8
INFO   | jvm 8    | 2010/03/02 00:46:53 | IAR=D1A7FA90 LR=D1A7FA7C MSR=0000D032 CTR=D1A7EF30
INFO   | jvm 8    | 2010/03/02 00:46:53 | CR=48000288 FPSCR=82004000 XER=00000004 TID=00000000
INFO   | jvm 8    | 2010/03/02 00:46:53 | MQ=00000000
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR0 427271c56a507000 (f: 1783656448.000000, d: 1.267491e+12)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR1 c1ec752b5f200000 (f: 1595932672.000000, d: -3.819527e+09)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR2 433000001c56a507 (f: 475440384.000000, d: 4.503600e+15)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR3 4530000080000127 (f: 2147483904.000000, d: 1.934282e+25)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR4 4330000100000000 (f: 0.000000, d: 4.503604e+15)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR5 4330000100000000 (f: 0.000000, d: 4.503604e+15)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR11 7e37e43c8800759c (f: 2281731584.000000, d: 1.000000e+300)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR12 c0025de41aa2d008 (f: 446877696.000000, d: -2.295845e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR13 7e37e43c8800759c (f: 2281731584.000000, d: 1.000000e+300)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
INFO   | jvm 8    | 2010/03/02 00:46:53 | Module=/opt/home/hquser/hyperic-hq-agent-4.2.0/jre/bin/libj9vm23.so
INFO   | jvm 8    | 2010/03/02 00:46:53 | Module_base_address=D1A50000
INFO   | jvm 8    | 2010/03/02 00:46:53 | Target=2_30_20071004_14218_bHdSMR (AIX 5.3)
INFO   | jvm 8    | 2010/03/02 00:46:53 | CPU=ppc (2 logical CPUs) (0x1e4000000 RAM)
INFO   | jvm 8    | 2010/03/02 00:46:53 | JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
INFO   | jvm 8    | 2010/03/02 00:46:53 | JVMDUMP007I JVM Requesting System Dump using '/opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/core.20100302.004653.782370.dm
p'
INFO   | jvm 8    | 2010/03/02 00:47:02 | JVMDUMP010I System Dump written to /opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/core.20100302.004653.782370.dmp
INFO   | jvm 8    | 2010/03/02 00:47:02 | JVMDUMP007I JVM Requesting Snap Dump using '/opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/Snap0002.20100302.004653.782370.
trc'
INFO   | jvm 8    | 2010/03/02 00:47:09 | JVMDUMP010I Snap Dump written to /opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/Snap0002.20100302.004653.782370.trc
INFO   | jvm 8    | 2010/03/02 00:47:09 | JVMDUMP007I JVM Requesting Java Dump using '/opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/javacore.20100302.004653.782370.
txt'
INFO   | jvm 8    | 2010/03/02 00:47:44 | JVMDUMP010I Java Dump written to /opt/home/hquser/hyperic-hq-agent-4.2.0/wrapper/sbin/javacore.20100302.004653.782370.txt
INFO   | jvm 8    | 2010/03/02 00:47:44 | JVMDUMP013I Processed Dump Event "gpf", detail "".
ERROR  | wrapper  | 2010/03/02 00:47:45 | JVM exited unexpectedly.
STATUS | wrapper  | 2010/03/02 00:47:49 | Reloading Wrapper configuration...
STATUS | wrapper  | 2010/03/02 00:47:49 | Launching a JVM...
INFO   | jvm 9    | 2010/03/02 00:47:55 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 9    | 2010/03/02 00:47:55 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 9    | 2010/03/02 00:47:55 |
INFO   | jvm 9    | 2010/03/02 00:49:25 | - Invoking agent
INFO   | jvm 9    | 2010/03/02 00:49:25 | - Agent thread running
INFO   | jvm 9    | 2010/03/02 00:49:25 | - Verifying if agent is running...
INFO   | jvm 9    | 2010/03/02 00:51:04 | - Agent is running
INFO   | jvm 9    | 2010/03/02 00:51:06 | Agent successfully started

Importing MIB's for received SNMPTRAPS

$
0
0
We want to receive snmp traps from HP Insite manager. We configured the trap to be sent to the local hyperic agent, which works, however the trap is sent in OID format....

How do I import the MIB so that the trap is readable??? Do I need to go through the SNMP plugin to do this even though I do NOT want to do SNMP polling??? If so has anybody written an MIB importer for Hyperic?

thanks.

Method to send Hyperic metric data in real time to other monitoring systems

$
0
0
I need to be able to send metric data from Hyperic to another monitoring program (CA Wily's Introscope) in a  specific XML format.  Can someone outline the basic process for tapping into the data flow in Hyperic and how to send it out as xml?  I have to do this in real time since I need the time stamp of the metric data in Introscope to be very close to the real time stamp of the data collected by Hyperic.

Connect to remote HQ server fail

$
0
0
Hi,
I compiled Hyperic HQ 4_1_0 source code successfully and deployed serveral agents and a server on Windows 2003 server .  The agent deployed on the same host with server works well,but other agents can't connect to the remote
server.  I tried to delete agent's [data] directory  ,all that I get is the following message  after restart agent serveral times.

E:\lijun\buildagent\agent\bin>hq-agent.bat start
wrapper  | Starting the Hyperic HQ Agent service...
wrapper  | Hyperic HQ Agent started.
[ Running agent setup ]
What is the HQ server IP address: 10.86.10.14
Should Agent communications to HQ always be secure [default=no]:
What is the HQ server port     [default=7080]:
- Testing insecure connection ... Failure
What is the HQ server IP address:10.86.10.14
Should Agent communications to HQ always be secure [default=no]:
What is the HQ server port     [default=7080]:
- Testing insecure connection ... Failure
What is the HQ server IP address:

The agent log is:

2010-05-21 10:29:04,468 INFO  [Thread-0] [ControlCommandsServer] Control Commands Server started up
2010-05-21 10:29:04,484 INFO  [Thread-0] [LiveDataCommandsServer] Registering Live Data Commands Service with Agent Transport
2010-05-21 10:29:04,484 INFO  [Thread-0] [LiveDataCommandsServer] Live Data Commands Server started up
2010-05-21 10:29:04,484 INFO  [Thread-0] [AgentTransportLifecycleImpl] Agent is not using new transport.
2010-05-21 10:29:04,609 INFO  [Thread-0] [AgentDaemon] Agent started successfully
2010-05-21 10:29:04,625 INFO  [WrapperStartStopAppMain] [AgentConnection] 127.0.0.1:2144 -> agent:ping
2010-05-21 10:29:05,093 INFO  [WrapperStartStopAppMain] [AgentConnection] 127.0.0.1:2144 -> bizapp:getCAMServer
2010-05-21 10:29:05,500 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> agent:ping
2010-05-21 10:29:05,921 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> bizapp:getCAMServer
2010-05-21 10:29:06,234 INFO  [main] [AgentConnection] 127.0.0.1:2144 -> agent:ping
2010-05-21 10:29:06,796 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying.  Error: Unable to communicate with server -- provider not yet setup
2010-05-21 10:29:21,796 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying.  Error: Unable to communicate with server -- provider not yet setup
2010-05-21 10:29:44,296 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 33 secs before retrying.  Error: Unable to communicate with server -- provider not yet setup
2010-05-21 10:30:18,046 ERROR [Thread-1] [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 50 secs before retrying.  Error: Unable to communicate with server -- provider not yet setup

The wrapper log is:
INFO   | jvm 1    | 2010/05/21 10:28:42 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2010/05/21 10:28:42 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2010/05/21 10:28:42 |
INFO   | jvm 1    | 2010/05/21 10:28:42 | - Unable to load agent token file.  Generating a new one ... Done
STATUS | wrapper  | 2010/05/21 10:28:45 | Hyperic HQ Agent started.
INFO   | jvm 1    | 2010/05/21 10:28:45 | - Invoking agent
INFO   | jvm 1    | 2010/05/21 10:28:45 | - Agent thread running
INFO   | jvm 1    | 2010/05/21 10:28:45 | - Verifying if agent is running...
INFO   | jvm 1    | 2010/05/21 10:29:05 | - Agent is running
INFO   | jvm 1    | 2010/05/21 10:29:05 | Agent successfully started

I appreciate any suggestions on what I can do to discover what is the matter.

Thanks!

Hyperic won't auto-discover JMX MBeans in Tomcat

$
0
0
I'm trying to get Hyperic to auto-discover some custom MBeans in my webapp (see code below).

I'm evaluating HQ Version 4.2.0.7-EE (build #1284 - Mar 24, 2010 - Release Build), in conjunction with a simple webapp built with Spring Framework 3.0.1.RELEASE. I've tried deploying the webapp in SpringSource tc Server as well as in Tomcat 6.0.26, with the same result in each case; Hyperic autodiscovers the servlet container but doesn't show my custom MBeans.

I followed the steps shown in http://support.hyperic.com/display/DOC/Model+MBean+Naming+and+Descriptor+Data#ModelMBeanNamingandDescriptorData-ModelMBeanObjectNameFormat to annotate my classes as @ManagedResource's.

My custom MBeans show up fine in JConsole (using the connection URL "service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi"), but I can't get Hyperic to discover them.

My webapp is built with standard Spring 3.0.1, not instrumented Spring.

Here is the relevant code from one of the MBeans:

[code]
@ManagedResource(objectName = "spring.application:application=eservices, type=ResourcePool, name=httpClientPoolImpl",
        description = "HTTP Client Pool")
public class HttpClientPoolImpl implements HttpClientPool {
....
@ManagedMetric(category = "utilization", displayName = "Number of clients available",
            description = "The number of HTTP clients available in the pool",
            metricType = MetricType.GAUGE, unit = "none")
    public synchronized int getNumberOfClientsAvailable() {
        return clientsAvailable;
    }
[/code]

The following extract from the Hyperic agent's logfile shows that the autodiscoverer is throwing a NullPointerException:

[code]
2010-06-08 15:59:28,304 INFO  [Thread-2] [RuntimeAutodiscoverer] Running runtime autodiscovery for SpringSource tc Runtime 6.0
2010-06-08 15:59:28,344 ERROR [Thread-2] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: SpringSource
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at org.hyperic.hq.product.PluginUpdater.addProperties(PluginUpdater.java:77)
        at org.hyperic.hq.product.PluginUpdater.updatePluginData(PluginUpdater.java:84)
        at org.hyperic.hq.product.PluginUpdater.updateServiceTypes(PluginUpdater.java:110)
        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:218)
        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)
[/code]

I'd appreciate any help I can get. The logfile indicates a bug in the Hyperic agent, but is this the reason for not discovering the MBeans?

Thanks
Rob

Creating Cisco IOS platforms via API does not result in created services

$
0
0
Hi,

I am running HQ 4.2.0 build #1260 on RHEL 5 that connects to MySQL on the same box, with agent agent-4.2.0-1260 also running on the same box. Agent java version is 1.5.0_12-b04. Server is using java version 1.6.0_16.

I am also using API version 2.2 (but I also tried this with 2.5),

When using a command identical to this sample:
./bin/hqapi.sh resource createPlatform --host=localhost --port=7080 --user=hqadmin --password=mypass--prototype="Cisco IOS" --agentId=10100 --ip=10.0.18.11 --name="mtgalbnyr01" --fqdn=myrouter01.my.com -- interface.index=ifDescr snmpIp=10.0.18.11 snmpPort=161 snmpVersion=v1 snmpCommunity=mystring'

The platform is created successfully but there are no services created for the interfaces on the device. If I create the device through the GUI, the services are created successfully.

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

Sendmail measurement script logging too much

$
0
0
Hi,

We have Agents v 4.3 and server v4.2 running. The agents do not have root access and they are autodiscovering the sendmail service. Of course the script hq-sendmail-stat will fail with exit 1. But the bad side of it is that the agent logs this line be low every 5 minutes and we have several agents running on different servers with the same problem. How can we get rid of those useless warning logs which polutes the event center list ?

Thx


THe reported logging line:

2010-08-13 11:20:54,691 WARN  [pool-1-thread-20] [ExecutableProcess] [../../bundles/agent-4.2.0-1260/pdk/work/scripts/sendmail/hq-sendmail-stat]: No message, exit value=1

can hyperic monitor a windows volume mount point?

$
0
0
The agent is not discovering the volume mount point nor can add the mount point manually.

The server is windows 2008 and I am using 4.3

Thanks

Ed

Basic SNMP plugin is not working.

$
0
0
Hi,

I am new to hyperic. And just trying to get my SNMP trap messages in hyperic.

On the hyperic agent machine I have SNMP agent which sends trap messages. I wrote a basic plugin mySNMP-plugin.xml following the steps given in http://support.hyperic.com/display/DOC/SNMP+Plugin#SNMPPlugin-Resources

After copying my xml to <AGENT-TOP>\hyperic-hq-agent-4.4.0-EE\bundles\agent-4.4.0-EE-1509\pdk\plugins, I ran following command:

java -jar C:\hyperic\hyperic-hq-agent-4.4.0-EE-1509-win32\hyperic-hq-agent-4.4.0-EE\bundles\agent-4.4.0-EE-1509\pdk\lib\hq-product.jar -Dplugins.include=mySNMP -m lifecycle -Dlog=debug

This adds all the MIB files and add entries. But at the end it gives following error:
DEBUG [main] [MIBTree] Loading MIB: 'C:\hyperic\hyperic-hq-agent-4.4.0-EE-1509-win32\hyperic-hq-agent-4.4.0-EE\bundles\a
gent-4.4.0-EE-1509\pdk\mibs\SNMPv2-TC': success
INFO  [main] [ProductPluginManager] Loading plugin: system-plugin.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/StringBuilder
        at org.hyperic.hq.product.ProductPluginManager.logPluginManifest(ProductPluginManager.java:897)
        at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:940)
        at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:752)
        at org.hyperic.hq.product.ProductPluginManager.registerPlugins(ProductPluginManager.java:844)
        at org.hyperic.hq.product.util.PluginDumper.loadPlugins(PluginDumper.java:519)
        at org.hyperic.hq.product.util.PluginDumper.init(PluginDumper.java:360)
        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:310)

when I start the hyperic agent again, my plugin got loaded, I am checking the logs. I am not sure if it actually got loaded or not.

I do not see the metrices coming in hyperic server; when I select SNMP service for my platform nothing is listed.

I am not sure whether my plugin is correct or not. Please  help. I am attaching the plugin file and the agent logs.

Please guide.

During Setting up server database I have some error

$
0
0
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup.xml:439: : The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup.xml:448: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup.xml:588: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup-db-MySQL.xml:10: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup-db-common.xml:139: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup-db-common.xml:22: The following error occurred while executing this line:
/home/hyperic/hyperic-hq-installer/installer-4.4.0/data/setup-db-common.xml:26: Directory /home/hyperic/hyperic-hq-installer/installer-4.4.0/data/tmp creation was not successful for an unknown reason

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.

Can I write HQU views in jsp?

$
0
0
Can I write custom views in jsp?   Or must I use groovy?

Should I use the groovy API,  the HQApi Java API, or what?
How do I deploy jsp views within HQ?

thanks,
Adrian

AIX - New agent won't register platform

$
0
0
Trying to install the 4.5.1 agent...

OS:   AIX 5.3

CPU:  IBM P560Q

Model : 4C

Java :

./java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20071025a (SR6b))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20071007 (JIT enabled)
J9VM - 20071004_14218_bHdSMR
JIT  - 20070820_1846ifx1_r8
GC   - 200708_10)
JCL  - 20071025


Error :

2011-01-06 13:07:54,412 ERROR [Thread-2] [Scanner] Global error during inventory scan: org.hyperic.hq.autoinventory.AutoinventoryException: PlatformDetector not found: AIX
org.hyperic.hq.autoinventory.AutoinventoryException: PlatformDetector not found: AIX
     at org.hyperic.hq.autoinventory.Scanner.detectPlatform(Scanner.java:114)
     at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:156)
     at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
     at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
     at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
2011-01-06 13:07:54,423 WARN  [Thread-2] [AutoinventoryCommandsServer] AICommandsServer: scan completed, but we could not even detect the platform, so nothing will be reported to the server.  Here is some information about the error that occurred:
Severe failure: org.hyperic.hq.autoinventory.AutoinventoryException: PlatformDetector not found: AIX
org.hyperic.hq.autoinventory.AutoinventoryException: PlatformDetector not found: AIX
     at org.hyperic.hq.autoinventory.Scanner.detectPlatform(Scanner.java:114)
     at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:156)
     at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
     at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
     at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)


OVERALL STATUS: completed, however a general scanning error occurred
Run time: 00:00:00

No Platform Detected!

NullScan:
     * Status: unknown
     * No Servers Detected


Any help appreciated.



Mike

Message was edited by: mhessick

Hyperic doesn't see that ActiveMQ is up after restart

$
0
0
Hi!

I've faced with a problem. I have configured Hyperic alerts to be sent when ActiveMQ instance availability becomes<100%. While ActiveMQ was up, it didn't sent me any notifications - OK. Then, I have shut ActiveMQ down to see if Hyperic would send me notifications. Notifications have been sent. Okay, then I've started ActiveMQ back, but Hyperic continued to notify me about low availability, it doesn't see that ActiveMQ is up, despite I can connect to all ActiveMQ ports and I'm able to connect to ActiveMQ via JMX console.

In agent logs I see the following:
2011-02-01 06:53:28,000 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService
2011-02-01 06:53:28,005 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService
2011-02-01 06:53:28,040 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.JPEBDataService
2011-02-01 06:53:28,318 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher
2011-02-01 06:53:28,371 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher
2011-02-01 06:53:28,535 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher
2011-02-01 06:53:28,592 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Queue,BrokerName=localhost,Destination=NotificationDispatcher
2011-02-01 06:53:28,649 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher
2011-02-01 06:53:28,750 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher
2011-02-01 06:53:28,803 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher
2011-02-01 06:53:28,807 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.NotificationDispatcher
2011-02-01 06:53:28,813 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts
2011-02-01 06:53:28,818 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts
2011-02-01 06:53:28,822 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts
2011-02-01 06:53:28,826 ERROR [pool-2-thread-1] [ScheduleThread] Metric Value not found: ObjectName not found [org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts]: javax.management.InstanceNotFoundException: org.apache.activemq:Type=Topic,BrokerName=localhost,Destination=ActiveMQ.Advisory.Consumer.Queue.wso2carbon-sts

I'm not sure, if it is related to a problem.
Any restarts of Hyperic server/agent and ActiveMQ do not help. Hyperic continues to ignore the fact that ActiveMQ is up.

Any help is appreciated.
Thanks!

agent communication

$
0
0
I am new to Hyperic. I have installed the Server with agent on one machine and two agents on other machines. The agents install correctly and contact the hyperic server, but they do not show up on the dashboard and in the HQ health it only shows the agent for the server. Any insights would be appreciated.

Hyperic HQ doesn't support international characters

$
0
0
Tried to create a new user with the Norwegian character 'ø' in his last name. When I click OK, the 'ø' gets mangled into 'ø' and I get an error saying the last name is invalid. Not good!

Attached images of the new user form before and after I clicked OK.

Have tried to find information about this issue, but haven't been able to find anything. Something is going wrong inside of Hyperic that is for sure. I checked the web page using FireBug and the character set of both the page and of the data posted when I click OK seem to be UTF-8, which is good. So the issue must be further down in the system. Also checked the encoding of the built-in postgresql database we are using, and it is set to SQL_ASCII. If I have understood PostgreSQL correctly, that means that the database doesn't care and doesn't do anything about what comes in and what goes out. So that should mean that the data is messed up somewhere in between the HTML and the database. I might be way off though, but that's what I have found so far at least...

Anyways, please fix this, cause it's really annoying.

(Using latest Open Source Hyperic 4.5.1)
Viewing all 52618 articles
Browse latest View live


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