hyperic / hq Goto Github PK
View Code? Open in Web Editor NEWHyperic open source
Hyperic open source
For development questions visit our HQ Developer forum: http://forums.hyperic.org/jiveforums/forum.jspa?forumID=3 For end user questions visit the HQ Users forum: http://forums.hyperic.org/jiveforums/forum.jspa?forumID=1 Any enhancements or bugs should be discussed on the forums, or logged in our JIRA located at: http://jira.hyperic.com
Hi Guys,
I have always liked Hyperic, it's powers it's only matched by the simplicity, but sadly since VMware bought it, it's seems like Hyperic has died, or at least in comma.
Could you share:
Thanks
Version: hyperic-hq-agent-5.0.0
We have 5 pairs of different linux boxes. Each pair has the hq-agent 5.0 installed one one box and the hyperic server running on the other box. I noticed one of the hyperic-servers has no metric data displayed. I suspected its HQ-agent did not send any data to the hyperic server. After checking the hyperic log, I saw the following exceptions were thrown:
.
I tried to some steps to see if I could get HQ-agent to work normally again:
org.hyperic.hq.plugin.jboss7.JBossDetectorBase.getVersion() does not handle a JBoss module path with multiple components.
Results in the following debug log output:
07-11-2014 10:34:18,003 CET DEBUG [Thread-4] [JBossStandaloneDetector@74] [getServerResources] pids.length:1
07-11-2014 10:34:18,006 CET DEBUG [Thread-4] [JBossStandaloneDetector@249] [getVersion] serverModule=/usr/share/jbossas/modules:/opt/data/jbossas/modules/org/jboss/as/server/main
07-11-2014 10:34:18,007 CET DEBUG [Thread-4] [JBossStandaloneDetector@250] [getVersion] 'jboss-as-server.*.jar' not found.
07-11-2014 10:34:18,007 CET DEBUG [Thread-4] [JBossStandaloneDetector@78] [getServerResources] pid='17752' version='not found'
[hyperic@localhost hyperic-hq-installer-5.8.6]$ ./setup.sh -MySQL
Unpacking JRE to temporary directory /tmp/jre
MySQL
Please ignore references to missing tools.jar
Picked up _JAVA_OPTIONS: -Xmx768M
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 5.8.6 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1
HQ server installation path [default '/home/hyperic']:
What port should the HQ server's web-based GUI listen on for http communication? [default '7080']:
What port should the HQ server's web-based GUI listen on for secure https communication? [default '7443']:
Choices:
1: Yes
2: No
Would you like to use your own java keystore? [default '2']:
Enter the base URL for the HQ server's web-based GUI [default 'http://localhost.ch:7080/']:
http://172.23.67.90:7080/
Enter the email address that HQ will use as the sender for email messages [default '[email protected]']:
Choices:
1: HQ Built-in Database
2: PostgreSQL
The HQ built-in database is provided for EVALUATION PURPOSES ONLY. For production purposes use vPosgreSQL. What backend database should the HQ server use? [default '1']:
The details is:
when run setup.sh from hyperic-hq-installer-x86-64-linux-5.8.4.2.tar.gz.
After input:
What should the email address be for the initial admin user? [default '[email protected]']:
It aborted with:
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/laowang/temp/hyperic-hq-installer-5.8.4.2/installer/data/setup.xml:157: : The following error occurred while executing this line:
/home/laowang/temp/hyperic-hq-installer-5.8.4.2/installer/data/setup-interactive.xml:15: java.security.KeyStoreException: Failed to create keystore:hq, timeout after 300000ms
I think it is related to the new jdk version.
ps -ef|grep jboss:
/usr/lib/jvm/jre/bin/java ... -Djboss.server.base.dir=/opt/data/jbossas/standalone -c standalone-etjsb.xml
The -c flag specifies the name of an alternate configuration file. But JBossStandaloneDetector.getProductConfig() still looks for the default config file standalone.xml:
07-11-2014 11:43:25,413 CET DEBUG [Thread-4] [JBossStandaloneDetector@281] [getProductConfig] cfgFile=/opt/data/jbossas/standalone/
configuration/standalone.xml
In case of several metrics in SQL plugin there are false alerts. Problem is that JDBCMeasurementPlugin.getQueryValue(...) use private variables (_sqlLog and _data) inside method which is called from several threads in parallel. Results can be mixed and false alert is generated or true alert is missed!
Hyperic Version 5.8.6
Hyperic agent giving the subjected error in logs, I have reinstall hq-agent from scratch multiple times and on different servers but that did not help me so I believe this is a bug.
I have opened a discussion on Hyperic forums below link:
https://communities.vmware.com/thread/536216
And logs on the link:
https://communities.vmware.com/servlet/JiveServlet/download/2597683-156589/logs.zip
I'm using JMX-plugin to fetch metrics from JBoss servers. After a failure/restart of a JBoss instance the hyperic agent does not reconnect to the MBean server of the JBoss. The agent log contains the following line:
[ScheduleThread@426] Metric unreachable: Can't connect to MBeanServer url [service:jmx:remoting-jmx://ffo:20152] port [null] username [ivu]: org.jboss.remoting3.NotOpenException: Writes closed
The issue seems to be related to a reuse of a cached JMX connecor in hq-pdk/MxUtil.java, after the JBoss failed.
Hyperic: 5.8.2, JBoss 7.3.4
Regards
Frank
Failed to execute goal on project hq-server: Could not resolve dependencies for project org.hyperic.hq:hq-server:jar:5.8.2.1: Could not transfer artifact org.hyperic.hq:hq-util:jar:tests:5.8.2.1 from/to cm-release (http://maven.cm.hyperic.org/release): Access denied to: http://maven.cm.hyperic.org/release/org/hyperic/hq/hq-util/5.8.2.1/hq-util-5.8.2.1-tests.jar , ReasonPhrase:Forbidden. ->
In file hq/hq-web/src/test/java/org/hyperic/hq/ui/util/JodaTimeTest.java in 25 line method getHourOfDay() return 1but expected 0 for JodaTime 1.6.2
Hi,
Is there anyway to configure a stateless agent that query spthe server from time to time?
I have a couple,of external agents that I can't reach because of the firewall.
When I was trying to compile the source code of 5.8.4.3, I encountered the error that some dependencies could not be resolved:
Failed to execute goal on project appha-internal-plugin: Could not resolve dependencies for project org.hyperic.hq.plugin:appha-internal-plugin:jar:5.8.4.3: Could not transfer artifact org.hyperic.hq:hq-util:jar:tests:5.8.4.3 from/to cm-release (http://maven.cm.hyperic.org/release): Access denied to: http://maven.cm.hyperic.org/release/org/hyperic/hq/hq-util/5.8.4.3/hq-util-5.8.4.3-tests.jar , ReasonPhrase:Forbidden. -> [Help 1]
And when I trying to install the schema, it seems that the hq-migration-5.8.4.3.pom could not be downloaded either.
And I had the same error when trying 5.8.4
How could I get these files?
Thank you
I'm trying to build this project but maven requests to:
http://maven.cm.hyperic.org/release/org/hyperic/hq/hq-common/5.8.6/hq-common-5.8.6.pom
are returning
<?xml version="1.0" encoding="UTF-8"?> <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>BC80A1DC6002F799</RequestId> <HostId>u7RezGRpxRvC++gfmgyfnSEJnRD0jzm+ScrtZbp1djFcZKzEJReAjTHOEj1oSWd9fp/VrYl2Lsw=</HostId> </Error>
Similarly http://hyperic.org isn't returning anything
Is this a temporary glitch?
Thanks!
Don
org.hyperic.hq.plugin.jboss7.JBossDetectorBase.getVersion() assumes that jboss-as-server_.jar is located within *module-dir_/org/jboss/as/server/main but with the new layered module directory it resides in module-dir /system/layers/base /org/jboss/as/server/main.
We have exception:
ART ERROR [CollectorThread] [Collector@567] Error running FileServer Block Device collector: java.lang.NumberFormatException: For input string: "3012175638"
java.lang.NumberFormatException: For input string: "3012175638"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.hyperic.hq.plugin.system.LinuxCollector.collect(LinuxCollector.java:40)
at org.hyperic.hq.product.Collector.run(Collector.java:565)
at org.hyperic.hq.agent.server.CollectorThread.run(CollectorThread.java:123)
at java.lang.Thread.run(Unknown Source)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.