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

Web page checking

$
0
0
Hi All,
  I just installed the Hyperic HQ (community version) and having fun with it.  Since I am newbie, I am still in the process of learning all the services it provides....

Just wondering anybody have experience or have suggestion how to implement the following scenario ... I am looking into the 'Health check' of the log in page in a website i.e. let's say I have a web page where user has to input his/her username and password to get to a user's page. Since the usernames and the passwords are stored in the database, the successful log in will tell me the database is working fine as well.  Does anyone has already implemented this health check?..... I tried using script (Selenium) however it is opening up the browser which I don't want .....  Anyway, any help/suggestion will be much appreciated

Cheers!!!!!

PTQL syntax for ps size

$
0
0
Is it possible in PTQL to query on the size of the processes to do something like

java -jar sigar.jar Top Pid.size.gt=33

sometimes netstat is freakishly slow

$
0
0
I don't know if this is specific to my system or my network, but sometimes the netstat command in the sigar shell is very slow and other times it is instantaneous.  By contrast, the windows netstat command is always very fast.  What could be affecting this?

Thanks

I haven't received the email.

$
0
0
2009-06-04 11:11:25,509 INFO  [JMS SessionPool Worker-7] [STDOUT@152] From: liju
n@innovatedigital.com
To: "lj3483151@gmail.com" <lj3483151@gmail.com>
Message-ID: <621718.661244085084128.JavaMail.javamailuser@localhost>
Subject: [HQ] !! - lijun-alert-linux redhat4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Priority: 2


redhat4 has generated the following alert:
    lijun-alert-linux redhat4 Free Memory (694,550,528)

------------------------------------------

ALERT DETAIL
- Resource Name:     redhat4
- Alert Name:        lijun-alert-linux
- Alert Date / Time: June 4, 2009 11:10:00 AM CST
- Triggering Condition(s):
    If Free Memory value changed (New value: 694,550,528)
- Alert Severity:    !! - Medium

Last Indicator Metrics Collected:
    Availability: 100.0%
    Free Memory: 662.4 MB
    Free Memory (+ buffers/cache): 1.2 GB
    Load Average 5 Minutes: 0.2
    Swap Used: 0.0 B


------------------------------------------

For additional detail about this resource, go to http://192.168.1.88:7080/Resour
ceCurrentHealth.do?eid=1:10403

For additional detail about this alert, go to http://192.168.1.88:7080/alerts/Al
erts.do?mode=viewAlert&eid=1:10403&a=12442

This message was delivered to you by Hyperic HQ.
To view the HQ Dashboard, go to http://192.168.1.88:7080/Dashboard.do


why not i receive the email?

configuration query for oc4j , OAM , OID

$
0
0
Hi,

We have installed Hyperic HQ software (Open source edition) for monitoring
Oracle Application (oc4j) and Oracle 10g Database.  Our setup is as follows,

Server
OS: Solaris10 sparc 64bit platform (jdk 1.5.0_14)
Hyperic server version : hyperic-hq-installer-4.1.2-1053-sparc-solaris (32 bit)

Clients:
OS :  SOlaris10 sparc 64bit platform (jdk 1.5.0_14)
HQ Agent : hyperic-hq-agent-4.1.2-1053-sparc-solaris (32 bit)
os : RHEL 4u4 (32 bit) (jdk 1.5.0.19)
HQ agent for Redhat : hyperic-hq-agent-4.1.2-1.noarch (32 bit)

We could configure Oracle 10g database in this setup.Followings are the query
about application monitoring,
1) configuring oc4j fails even after entering required configuration parameters and gives following error,

The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Malformed URL: [service:jmx:rmi:///opmn://localhost:6003/home]

and

The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Malformed URL: [null]

2) Is the plugins available to monitor OAM (Oarcle Access Manager) and OID
(Oracle Internet Directory) applications.

Thanks and regards,
vinayak malap

Trying to evaluate product. Opensource Hyperic HQ problems

$
0
0
Hello.  I am trying to install to evaluate the product.

Everything appears to install OK.  When I try to log into the web interface as hqadmin, I am getting these errors with the database.  I am using the embedded database.

Linux openSuse 11.1

I am getting this error:

hqdb.log:

ERROR:  relation "eam_subject" does not exist
STATEMENT:  BEGIN;select authzsubje0_.ID as ID93_0_, authzsubje0_.VERSION_COL as VERSION2_93_0_, authzsubje0_.NAME as NAME93_0_, authzsubje0_.DSN as DSN93_0_, authzsubje0_.SORT_NAME as SORT5_93_0_, authzsubje0_.FIRST_NAME as FIRST6_93_0_, authzsubje0_.LAST_NAME as LAST7_93_0_, authzsubje0_.EMAIL_ADDRESS as EMAIL8_93_0_, authzsubje0_.SMS_ADDRESS as SMS9_93_0_, authzsubje0_.PHONE_NUMBER as PHONE10_93_0_, authzsubje0_.DEPARTMENT as DEPARTMENT93_0_, authzsubje0_.FACTIVE as FACTIVE93_0_, authzsubje0_.FSYSTEM as FSYSTEM93_0_, authzsubje0_.HTML_EMAIL as HTML14_93_0_, authzsubje0_.RESOURCE_ID as RESOURCE15_93_0_, authzsubje0_.PREF_CRISPO_ID as PREF16_93_0_ from EAM_SUBJECT authzsubje0_ where authzsubje0_.ID=2


server.log:

2009-07-21 09:23:43,156 WARN  [http-0.0.0.0-7080-1] [org.hibernate.util.JDBCExceptionReporter@77] SQL Error: 0, SQLState:
2009-07-21 09:23:43,159 ERROR [http-0.0.0.0-7080-1] [org.hibernate.util.JDBCExceptionReporter@78] ERROR:  relation "eam_subject" does not exist
2009-07-21 09:23:43,162 INFO  [http-0.0.0.0-7080-1] [org.hibernate.event.def.DefaultLoadEventListener@111] Error performing load command
org.hibernate.exception.GenericJDBCException: could not load an entity: [org.hyperic.hq.authz.server.session.AuthzSubject#2]
     at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
     at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
     at org.hibernate.loader.Loader.loadEntity(Loader.java:1874)
     at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
     at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
     at org.hibernate.loader.entity.BatchingEntityLoader.load(BatchingEntityLoader.java:82)
     at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3049)
     at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:399)
     at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
     at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
     at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
     at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
     at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
     at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
     at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
     at org.hyperic.hq.dao.HibernateDAO.get(HibernateDAO.java:80)
     at org.hyperic.hq.authz.server.session.AuthzSubjectDAO.getById(AuthzSubjectDAO.java:97)
     at org.hyperic.hq.authz.server.session.AuthzSubjectManagerEJBImpl.getSubjectById(AuthzSubjectManagerEJBImpl.java:282)
     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:350)
     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 $Proxy302.getSubjectById(Unknown Source)
     at org.hyperic.hq.bizapp.server.session.AuthBossEJBImpl.loginGuest(AuthBossEJBImpl.java:160)
     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:350)
     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 sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
     at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
     at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
     at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
     at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:511)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeProxyNext(HQApp.java:580)
     at org.hyperic.txsnatch.ProxySnatch.invoke(ProxySnatch.java:37)
     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:511)
     at org.hyperic.hq.application.HQApp$Snatcher.invokeProxyNext(HQApp.java:580)
     at org.hyperic.txsnatch.ProxySnatch.invoke(ProxySnatch.java:37)
     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
     at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
     at $Proxy306.loginGuest(Unknown Source)
     at org.hyperic.hq.ui.pages.SignIn.loginGuest(SignIn.java:281)
     at org.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:108)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.hyperic.hibernate.filter.SessionFilter$1.run(SessionFilter.java:59)
     at org.hyperic.hq.hibernate.SessionManager.runInSessionInternal(SessionManager.java:79)
     at org.hyperic.hq.hibernate.SessionManager.runInSession(SessionManager.java:68)
     at org.hyperic.hibernate.filter.SessionFilter.doFilter(SessionFilter.java:57)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
     at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
     at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
     at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.hyperic.hq.product.servlet.filter.JMXFilter.doFilter(JMXFilter.java:324)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
     at java.lang.Thread.run(Unknown Source)
Caused by: org.postgresql.util.PSQLException: ERROR:  relation "eam_subject" does not exist
     at org.postgresql.core.v2.QueryExecutorImpl.receiveErrorMessage(QueryExecutorImpl.java:557)
     at org.postgresql.core.v2.QueryExecutorImpl.processResults(QueryExecutorImpl.java:480)
     at org.postgresql.core.v2.QueryExecutorImpl.execute(QueryExecutorImpl.java:364)
     at org.postgresql.core.v2.QueryExecutorImpl.execute(QueryExecutorImpl.java:258)
     at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
     at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
     at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
     at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:90)
     at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:342)
     at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
     at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
     at org.hibernate.loader.Loader.doQuery(Loader.java:674)
     at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
     at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
     ... 123 more

Run multiple agents on single physical server (host)

$
0
0
I am trying to run multiple agents on a single SUSE Linux host
Here is our configuration

Linux operating system hosts application server Weblogic
We have multiple domains in weblogic which run on different jre's (1.4,1.5,1.6)

I installed Hyperic server 4.1.2 and deployed the agent 4.1.2
First agent works fine
When i try to start another agent with different java home it says agent is already running

I created a different directory for another agent and also changed its listen port But it remembers the hostname and does'nt start

I need to run 2 more agents on the same host
How can i run multiple agents of hyperic with different java home's and monitor all those resources in a hyperic server console

Any suggestions

Thanks

Evaluating HQ

$
0
0
We have been using Zenoss for the past year and we like it for the most part but there are some issues that have prompted us to look at other solutions.  We have approximately 100 devices that are monitored today including: Windows servers, SQL, Apache, JBoss, Zimbra, HP Procurve, Astaro, Linux servers, etc.  Zenoss does a great job at graphing network devices/hosts as well as Linux servers.  It doesn't do as good with applications such as JBoss, Zimbra, Apache, etc. although there is a growing set of Zenpacks (like plugins) to extend monitoring, and the fact that we don't have to manage 100 agents is a plus to us since Zenoss uses SNMP and WMI.

I'm testing Hyperic HQ right now and we have a sample of our devices already loaded.  So far the Windows and Linux server monitoring seems good but we're not so sure about what we are seeing with our Astaro firewall which is a Linux-based appliance, and an HP Procurve switch.  We've added these as new platforms where the Astaro is a Network Host and the switch is a Network Device.  We don't see any "Linux" performance data in HQ for the Astaro as we do in Zenoss and we don't see much either for the Procurve.  The community string is correct for both devices and the other HQ information seems correct as well.  In Zenoss we see load average, CPU, memory, disk I/O, all network interfaces, disk space, and more for our Astaro appliances and we see everything we care about for our Procurve switches as well.

We're concerned that Hyperic HQ is not going to allow us to monitor and graph our devices that don't support the agent.  We have other devices that we need to monitor where we only care about whether the device is responding to pings or not, and we have still other hosts that we only want to monitor URLs on (i.e. check that the HTTP response is good and pass a username and password, then check for 'Welcome to ACME' on the returned page, etc.).

Can Hyperic HQ do all of this and are we missing something?  I've posted a screenshot of the configuration for our network switch (an HP Procurve 5406).  Again, in Zenoss, this device is discovered and graphed completely.  In Hyperic HQ, we see no interfaces, no CPU, not much of anything really.  Same is true for our Astaro firewall which Zenoss also discovers and graphs completely.

Invalid configuration: Plugin error: Plugin class not found:

$
0
0
It was an issues when I congifure HQ for Apache Tomcat 5.5.

The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Plugin class not found: com/ibm/CORBA/iiop/ObjectURL (invalid classpath or corrupt plugin jar)

jmx.url:service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi
ptql:State.Name.eq=java,Args.*.ct=catalina.home

started tomcat by JDK 1.5
tomcat 5.5 catalina.sh
elif [ "$1" = "start" ] ; then

  shift
  touch "$CATALINA_BASE"/logs/catalina.out
  JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969
             -Dcom.sun.management.jmxremote.ssl=false
             -Dcom.sun.management.jmxremote.authenticate=false
             -Djava.rmi.server.hostname=192.168.1.88
             $JAVA_OPTS"
  export JAVA_OPTS

  if [ "$1" = "-security" ] ; then

I don't know what to do now!
Could somebody help me?

thanks,
whatislinux

Hyperic using Postgres 8.4.1 as backend DB?

$
0
0
Should I expect any issues using PostgreSQL 8.4.1 as my backend DB for Hyperic HQ?

Thx,
Brian

Microsoft Server Cluster

$
0
0
I am looking to implement Hyperic into our Production environment, which itself utilise many technologies, but the specific one of quetion is whether it is possible to confirgure the monitoring solution across a Microsoft Cluster.

I need to be a ble to monitor server related metrics (Disk availability services), but also Cluster related metrices (Clustered Disks, clustered services), such that they are reported against the clustered IP not the server.

Any advice or experience on this issue would be greatly appreciated.

Registering agents behind firewall w/ port forwarding

$
0
0
All:

I have the following scenario:

HQ Server running on hq.domain.com:7080.
Host x running HQ Agent on x.domain.com:2144 (default port)
Firewall fw forwarding fw.domain.com:2145 to x.domain.com:2144

x.domain.com is non-routable.
hq.domain.com is in another data center.

All communication between hq and x properly passes through fw (which is x's default gateway).

(I'm using hostnames only for example clarity. Everything is configured by IP.)

From fw, I can telnet to x.domain.com 2144 - works. From hq I can telnet to fw.domain.com 2145 - works. In other words, port forwarding works.

When attempting to register the agent, Here's what happens:

./agent-4.2.0/bin/hq-agent.sh start
Starting HQ Agent...
[ Running agent setup ]
What is the HQ server IP address: hq.domain.com
Should Agent communications to HQ always be secure [default=no]: no
What is the HQ server port     [default=7080]: 7080
- Testing insecure connection ... Success
What is your HQ login [default=hqadmin]: *****
What is your HQ password: **Not echoing value**
What IP should HQ use to contact the agent [default=x.domain.com]: fw.domain.com
What port should HQ use to contact the agent [default=2144]: 2145
- To setup agent port to 2145, Stop the agent, Update agent properties for agent.listenPort and start the agent again
- Now Agent uses the default port:2144
- Received temporary auth token from agent
- Registering agent with HQ
- Unable to register agent: Failed to connect to agent: Unable to connect to fw.domain.com:2144: Connection refused

Of course, the connection is refused - fw.domain.com wants to see the connection to 2145 (which is properly specified during setup) but the setup process seems to ignore the fact that 2145 is specified for communication. I've also tried simply setting the properties file but I get the same results.

The fact there is configuration for listenPort and setup.agentPort leads me to believe this type of network configuration is expected and supported but seems to be completely ignored. Surely listening on one port and talking to another has to be supported, no? The warning message only makes sense if the two must always match. Needless to say registration fails.

As you can probably figure out from the command line, this is HQ 4.2.0. This server is properly monitoring other hosts / services already (although those agents are listening / communicating on the same port, 2144).

Am I missing something?

Any help greatly appreciated.

Services related to servers

$
0
0
Is there a way for services to be somewhat dynamic?

For example if it's reporting a windows service on a particular server as available, then I remove the service (say uninstall) from the Windows server, it shows unavailable.  I'd like to see the list for services be dynamic.

So I guess in my case, I have some services (eg, CruiseControl projects) that are somewhat dynamically configured as part of a server (CruiseControl).  When I remove those projects from CruiseControl, is there a better way to remove them from Hyperic than manually doing so through the dashboard?

Thanks,
-Mike

Sigar - JVM crashes on s390x (not sure if JVM or Sigar bug)

$
0
0
OS - Suse SLES 10
H/W - zSeries s390x
Sigar - 1.6.4
JRE - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux s390x-64 j9vmxz6423-20091104 (JIT enabled)

I tried to run sigar from my java program and core dump files are created. Same program works fine with IBM jre on x86-64 hardware (OS - Fedora Linux, x86 linux sigar files).

Also tried to run a test in sigar shell and it also fails. Below is the output

java -jar sigar.jar test
Unhandled exception
Type=Floating point error vmState=0x00000000
J9Generic_Signal_Number=00080020 Signal_Number=00000008 Error_Value=00000000 Signal_Code=00000001
Handler1=0000020000306900 Handler2=00000200003702FC
gpr0=0000000000000000 gpr1=0000000000000000 gpr2=0000000000000000 gpr3=000000000F4D007F
gpr4=00000200218BDCB0 gpr5=000002000001DC90 gpr6=0000000080333140 gpr7=0000000000000003
gpr8=000000008032E1D0 gpr9=0000000000000001 gpr10=0000000080332E90 gpr11=000003FFFF940C80
gpr12=000002000001E000 gpr13=0000020000017348 gpr14=0000020000009D84 gpr15=000003FFFF940B98
psw=0000020000009908 mask=0705C00180000000 fpc=0008000000000000
fpr0 4240000000000000 (f: 0.000000, d: 1.374390e+11)
fpr1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr2 3f40000000000000 (f: 0.000000, d: 4.882812e-04)
fpr3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/lib64/ld64.so.1
Module_base_address=0000020000000000
Target=2_30_20091103_45935_BHdSMr (Linux 2.6.16.60-0.54.5-default)
CPU=s390x (1 logical CPUs) (0x3e43c000 RAM)
JVMDUMP006I Processing dump event "gpf", detail "" - please wait.
JVMDUMP032I JVM requested System dump using '/opt/nsAgent/lib/core.20100210.223924.8705.0001.dmp' in response to an event
JVMDUMP010I System dump written to /opt/nsAgent/lib/core.20100210.223924.8705.0001.dmp
JVMDUMP032I JVM requested Snap dump using '/opt/nsAgent/lib/Snap.20100210.223924.8705.0002.trc' in response to an event
JVMDUMP010I Snap dump written to /opt/nsAgent/lib/Snap.20100210.223924.8705.0002.trc
JVMDUMP032I JVM requested Java dump using '/opt/nsAgent/lib/javacore.20100210.223924.8705.0003.txt' in response to an event
JVMDUMP010I Java dump written to /opt/nsAgent/lib/javacore.20100210.223924.8705.0003.txt
JVMDUMP013I Processed dump event "gpf", detail "".


I will be happy to provide core/snap files, if needed. Could anyone please help to find out what is the issue here ?

Thanks

build fails for FreeBSD 8.0

$
0
0
Hello,

A build on FreeBSD 8.0 fails as given below.
It seems the sought file /usr/include/nfs/rpcv2.h does missing in 8.0.

Any help appreciated!
Zsolt


jni-cc:
    [mkdir] Created dir: /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/bindings/java/build/obj/x86-freebsd-8/lib
     [echo] jni libname=sigar-x86-freebsd-8
       [cc] 11 total files to be compiled.
       [cc] /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/src/os/darwin/darwin_sigar.c:26:23: error: nfs/rpcv2.h: No such file or directory
       [cc] In file included from /usr/include/sys/systm.h:42,
       [cc]                  from /usr/include/sys/refcount.h:38,
       [cc]                  from /usr/include/sys/file.h:42,
       [cc]                  from /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/src/os/darwin/darwin_sigar.c:3152:
       [cc] /usr/include/machine/cpufunc.h:161: error: static declaration of 'ffs' follows non-static declaration
       [cc] /usr/include/machine/cpufunc.h:175: error: static declaration of 'fls' follows non-static declaration
       [cc] /usr/include/strings.h:52: error: previous declaration of 'fls' was here
       [cc] In file included from /usr/include/sys/refcount.h:38,
       [cc]                  from /usr/include/sys/file.h:42,
       [cc]                  from /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/src/os/darwin/darwin_sigar.c:3152:
       [cc] /usr/include/sys/systm.h:229: error: expected declaration specifiers or '...' before 'uintfptr_t'
       [cc] /usr/include/sys/systm.h:233: error: expected declaration specifiers or '...' before 'uintfptr_t'
       [cc] /usr/include/sys/systm.h:252: error: conflicting types for 'setenv'
       [cc] /usr/include/stdlib.h:162: error: previous declaration of 'setenv' was here
       [cc] In file included from /usr/include/sys/systm.h:267,
       [cc]                  from /usr/include/sys/refcount.h:38,
       [cc]                  from /usr/include/sys/file.h:42,
       [cc]                  from /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/src/os/darwin/darwin_sigar.c:3152:
       [cc] /usr/include/sys/libkern.h:69: error: static declaration of 'abs' follows non-static declaration
       [cc] /usr/include/sys/libkern.h:70: error: static declaration of 'labs' follows non-static declaration
       [cc] /usr/include/sys/libkern.h:93: error: conflicting types for 'gets'
       [cc] /usr/include/stdio.h:253: error: previous declaration of 'gets' was here
       [cc] /usr/include/sys/libkern.h:100: error: conflicting types for 'random'
       [cc] /usr/include/stdlib.h:207: error: previous declaration of 'random' was here
       [cc] /usr/include/sys/libkern.h:111: error: conflicting types for 'strdup'
       [cc] /usr/include/sys/libkern.h:149: error: static declaration of 'memset' follows non-static declaration
       [cc] /usr/include/sys/libkern.h:167: error: static declaration of 'strchr' follows non-static declaration
       [cc] /usr/include/sys/libkern.h:173: error: static declaration of 'strrchr' follows non-static declaration
       [cc] In file included from /usr/include/sys/refcount.h:38,
       [cc]                  from /usr/include/sys/file.h:42,
       [cc]                  from /usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/src/os/darwin/darwin_sigar.c:3152:
       [cc] /usr/include/sys/systm.h:290: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splbio'
       [cc] /usr/include/sys/systm.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splcam'
       [cc] /usr/include/sys/systm.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splclock'
       [cc] /usr/include/sys/systm.h:293: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splhigh'
       [cc] /usr/include/sys/systm.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splimp'
       [cc] /usr/include/sys/systm.h:295: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splnet'
       [cc] /usr/include/sys/systm.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftcam'
       [cc] /usr/include/sys/systm.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftclock'
       [cc] /usr/include/sys/systm.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttty'
       [cc] /usr/include/sys/systm.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftvm'
       [cc] /usr/include/sys/systm.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttq'
       [cc] /usr/include/sys/systm.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splstatclock'
       [cc] /usr/include/sys/systm.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spltty'
       [cc] /usr/include/sys/systm.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splvm'
       [cc] /usr/include/sys/systm.h:304: error: expected ')' before 'ipl'
       [cc] /usr/include/sys/systm.h:316: error: conflicting types for 'pause'
       [cc] /usr/include/unistd.h:357: error: previous declaration of 'pause' was here

BUILD FAILED
/usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/bindings/java/hyperic_jni/jni-build.xml:234: The following error occurred while executing this line:
/usr/home/kuti/tmp/hyperic-sigar-1.6.3-src/bindings/java/hyperic_jni/jni-build.xml:280: gcc failed with return code 1

using SIGAR in a C++ project

$
0
0
hello
i need to get some system information like memory and CPU use, i find the SIGAR API and i think it fits perfectly to my need.
the problem is that i can't integrate it in my C++ project.
i am using vista as operating system.
any help is welcomed.
Thanks in advance.

Message was edited by: rahma_ensi

installation : FATAL ERROR

$
0
0
Hi,

I have tried to install the linux package on debian. I receive a FATAL EXCPETION :

Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
WARNING: file was not writeable: /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/hq-install.log
Logs will be written to /tmp instead.
Initializing Hyperic HQ 4.2.0 Installation...
Loading taskdefs...
Taskdefs loaded
WARNING: Setup properties file can't be written to /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup.properties
Setup properties will be written to /tmp/setup.properties instead.
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']:

Choices:
        1: Yes
        2: No
Should we overwrite the existing HQ server installation? [default '2']:
1
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'db1.SunSwitch.local']:
relay.skynet.be
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking server JRMP port...
Checking server JNP port...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: /home/hyperic/server-4.2.0...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server control file...
Copying server binaries...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...
Setting up JDBC driver...
Copying database files...
Configuring database...
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup.xml:434: : The following error occurred while executing this line:
/home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup.xml:440: The following error occurred while executing this line:
/home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup.xml:580: The following error occurred while executing this line:
/home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup-db-PostgreSQL.xml:130: The following error occurred while executing this line:
/home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/setup-db-common.xml:144: Failed to copy /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/data-orig.xml to /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/${data.dir}/data.xml due to java.io.FileNotFoundException /home/dbuser/download/hyperic-hq-installer/installer-4.2.0/data/${data.dir}/data.xml (No such file or directory)
--------------------------------------------------------------------------------
Deleting temporary JRE

What can I do to solve that problem ?

Thanks in advance

Problems with Sigar and AIX

$
0
0
Hello,
I wrote a performance logging program which is based on sigar (tried 1.6.3 and 1.6.5). I log I/O, CPU usage, Memory usage and SWAP. Logging is no problem on Windows XP (32 bit), Ubuntu 8.04 (32 bit) but a problem on AIX (32 bit). On AIX I can only log CPU usage, Memory and Swap but no I/O.
For every partition name (/dev/hd1 ... ) I get the failure message:
org.hyperic.sigar.SigarException: There is a request to a device or address that does not exist.
Is there a problem with AIX support ? On Ubuntu does all work correctly.

Thanks for help

"Measurement is not mapped" exception is throwed in Heperic 4.3.0

$
0
0
I get the source from http://svn.hyperic.org/projects/hq/tags/HQ_4_3_0_GA/.
Software requirements is as below.
java vision is 1.5.0_06.
ant vision is apache-ant-1.7.1.
db is MySQL 5.1
os is windowsXP

Exception is throwed when i run run.bat and the info is:
09:48:02,812 INFO  [SRNManagerEJBImpl] Fetching minimum metric collection intervals.
09:48:02,921 ERROR [LogInterceptor] RuntimeException in method: public abstract void org.hyperic.hq.measurement.shared.SRNManagerLocal.initializeCache():
org.hibernate.hql.ast.QuerySyntaxException: Measurement is not mapped [select mt.appdefType, m.instanceId, min(m.interval) from Measurement m, MonitorableType mt, MeasurementTemplate t where m.enabled = true and m.template.id = t.id and t.monitorableType.id = mt.id group by appdef_type, instance_id]
     at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
     at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
     at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
     at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
     at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
     at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
     at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
     at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
     at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
     at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
     at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
     at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
     at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
     at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
     at org.hyperic.hq.measurement.server.session.ScheduleRevNumDAO.getMinIntervals(ScheduleRevNumDAO.java:88)
     at org.hyperic.hq.measurement.server.session.SRNManagerEJBImpl.initializeCache(SRNManagerEJBImpl.java:106)
     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:585)
     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:350)
     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 $Proxy206.initializeCache(Unknown Source)
     at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
     at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
     at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
     at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
     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:585)
     at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
     at $Proxy204.handleNotification(Unknown Source)
     at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
     at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
     at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
     at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
     at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
     at org.jboss.Main.boot(Main.java:200)
     at org.jboss.Main$1.run(Main.java:508)
     at java.lang.Thread.run(Thread.java:595)
09:48:02,921 WARN  [HQApp] Error executing startup listener [org.hyperic.hq.measurement.server.session.MeasurementStartupListener]
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 $Proxy206.initializeCache(Unknown Source)
     at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
     at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
     at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
     at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
     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:585)
     at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
     at $Proxy204.handleNotification(Unknown Source)
     at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
     at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
     at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
     at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
     at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
     at org.jboss.Main.boot(Main.java:200)
     at org.jboss.Main$1.run(Main.java:508)
     at java.lang.Thread.run(Thread.java:595)

What does it mean and what can i do for it?
1   After "ant dbsetup",i see the log :
    [hibernatetool] (cfg.Configuration                   305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Category.hbm.xml
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: org.hyperic.hq.measurement.server.session.Category -> EAM_MEASUREMENT_CAT
[hibernatetool] (cfg.Configuration                   305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Measurement.hbm.xml
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: org.hyperic.hq.measurement.server.session.Measurement -> EAM_MEASUREMENT
[hibernatetool] (cfg.Configuration                   305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementData.hbm.xml
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricDataCompat -> HQ_METRIC_DATA_COMPAT
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_0D_0S -> HQ_METRIC_DATA_0D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_0D_1S -> HQ_METRIC_DATA_0D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_1D_0S -> HQ_METRIC_DATA_1D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_1D_1S -> HQ_METRIC_DATA_1D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_2D_0S -> HQ_METRIC_DATA_2D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_2D_1S -> HQ_METRIC_DATA_2D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_3D_0S -> HQ_METRIC_DATA_3D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_3D_1S -> HQ_METRIC_DATA_3D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_4D_0S -> HQ_METRIC_DATA_4D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_4D_1S -> HQ_METRIC_DATA_4D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_5D_0S -> HQ_METRIC_DATA_5D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_5D_1S -> HQ_METRIC_DATA_5D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_6D_0S -> HQ_METRIC_DATA_6D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_6D_1S -> HQ_METRIC_DATA_6D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_7D_0S -> HQ_METRIC_DATA_7D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_7D_1S -> HQ_METRIC_DATA_7D_1S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_8D_0S -> HQ_METRIC_DATA_8D_0S
[hibernatetool] (cfg.HbmBinder                       300 ) Mapping class: MetricData_8D_1S -> HQ_METRIC_DATA_8D_1S
[hibernatetool] (cfg.Configuration                   305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementHistData.hbm.xml

and there is no problem occurs,in the database,eam_measurement is also exists.

2 What is more.Is it a problem as below:
      [javac] Compiling 7 source files to D:\hq430\build\classes
      [javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
      [javac] warnning: Duplicate name in Manifest: Depends-On
      [javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
3 The attachments are the logs after ant commands. 1.txt is the server log.
adama.

mod_proxy with Hyperic

$
0
0
Hi,

Anyone please let me if it is possible to use mod_proxy with Hyperic. We have Apache web server which uses mod_proxy to connect to JBoss. We want to monitor Apache VHost and mod_proxy using Hyperic. I tried a lot but unable to configure.

Thanks a lot.

Best Regards,

Roy
Viewing all 52618 articles
Browse latest View live


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