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

Difficulty in configuring Sigar API in Eclipse project

$
0
0
Dear all,

I'm a newbie to Sigar API. I need to develop a simple java application to validate the system configurations (CPU, RAM, HD etc) against a given set of recommended configurations.

I'm developing in Eclipse Indigo, and in my project I have added sigar.jar (sigar 1.6.4 is used) to the project build path and set it's native library location to sigar-bin/lib. However when I try to retrieve configuration info using Sigar API, it always returns null, 0 results.  I used CpuInfo class to retrieve my cpu info, and NetInfo to get network info, thus far  was unsuccessful with them. (eg: cpu.getTotalCores() always return 0 and netInfo.getDefaultGateway() always returns null).

Is this because the native library path is not properly set to my project classpath? Or some incompatibility with Sigar API and my system? Can you guys please give me any tip on what could be the reason for my application not to work as expected?

My system configurations :
    CPU:  Intel Core i7-2630QM CPU @ 2.00GHz × 8
    RAM: 8 GB
    OS : Ubuntu 11.04 (64 bit)
Any help on this matter is much appreciated.

Thanks,
Dileepa

Unable to install Hyperic 4.5 Server

$
0
0

Hello,

 

I am trying to install the community version of Hyperic 4.5 Server on to a Linux instance running at Amazon cloud (ec2)

Any thoughts on what the problem may be and how I can work past it? I tried using both mysql and embedded db. Neither worked.

 

Thank you for your help

 

 

Installing the server...
Unpacking server to: /openiam/hyperic...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...
Loading taskdefs...
Taskdefs loaded
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/setup.xml:493: : The following error occurred while executing this line:
/home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/setup.xml:502: The following error occurred while executing this line:
/home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/setup.xml:683: The following error occurred while executing this line:
/home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/setup-db-MySQL.xml:10: The following error occurred while executing this line:
/home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/setup-db-common.xml:151: Directory /home/ec2-user/hyperic/hyperic-hq-installer-4.5/installer/data/tmp creation was not successful for an unknown reason
--------------------------------------------------------------------------------

Windows 64bit agent? (Else wow6432node)

$
0
0

Hi all,

 

Is there a reason there is not a 64-bit agent 4.6.6 build for Windows? We were using the 32 version but found that it would not notice a change of location of the 64 bit version of a java application / service that it was supposed to be monitoring. It turned out that Windows had cached the old location in the Wow6432 :

 

 

  • A. The Wow6432 registry entry indicates that you're running a 64-bit version of Windows. The OS uses this key to present a separate view of HKEY_LOCAL_MACHINE\SOFTWARE for 32-bit applications that run on a 64-bit version of Windows. When a 32-bit application queries a value under the HKEY_LOCAL_MACHINE\SOFTWARE\<company>\<product> subkey, the application reads from the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<company>\<product> subkey. The figure below shows the structure under Wow6432Node that 32-bit applications will see. A "registry reflector" copies certain values between the 32-bit and 64-bit registry views (e.g., mainly for COM registration) and resolves any conflicts using a last-writer-wins approach.
  • http://www.windowsitpro.com/article/internals-and-architecture/what-s-the-wow6432node-under-the-hkey_local_machine-software-registry-subkey-  

 

 

 

Deleting the registry entry made the problem go away, but Windows will keep putting it back.

 

I tried using 7-zip to unpack the noJRE version (so invocations would use the O/S Java - i.e. 64 bit) but that failed to unpack properly.

 

I feel this is a gotcha and should be addressed by the Hyperic team. Can someone perhaps verify and validate my thinking?

 

Thanks,

   Martin

issue with MQ Series plugin configuration

$
0
0

Hi,

 

using Hyperic HQEE 4.6.6, I try to monitor MQ Series activity with the related plugin. But I don't succeed in configuring the server monitoring.

I've created a new server monitoring (WSMQ7) with its related type as "Websphere MQ QManager 7" and gave it the install path of the MQ server.

Then, the plugin ask me to modify the "configuration properties".

Giving it a "queue.manager.name" and validating the input QM_HUB, the plugin says that "The configuration has not been set for this resource due to : Invalid  configuration: Error contacting resource:  mqseries-mgr:Mgr=QM_HUB:ConnectionCount".

 

Do you have an idea where I'm wrong in my configuration or if it's coming from my MQ server.

 

Thanks for helping me with this issue

 

Vincent

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

my env and logs :

 

* the MQ server monitored is a 7.1.0.1 one under a Linux 64bits

 

* server.log:

05-11-2012 15:35:04,026 CET INFO  [RuntimeAIEnabler1] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@780] Toggling Runtime-AI for 2:10025
05-11-2012 15:35:04,033 CET ERROR [tomcat-http--32] [org.hyperic.hq.ui.action.resource.common.inventory.EditConfigPropertiesAction@311] Invalid config org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource:mqseries-mgr:Mgr=QM_HUB:ConnectionCount
05-11-2012 15:35:04,601 CET INFO  [RuntimeAIEnabler1] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@780] Toggling Runtime-AI for 2:10025
05-11-2012 15:35:04,603 CET WARN  [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerImpl@1650] Error turning on default metrics, configuration (platform.log_track.level=Warn,platform.type=Linux,platform.ip=10.103.44.110,platform.name=dvdsif47,platform.log_track.enable=true,platform.config_track.enable=true,installpath=/opt/mqm/,platform.id=10003,                                                  platform.fqdn=10.197.87.110,) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1568)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.enableDefaultMetrics(MeasurementManagerImpl.java:1648)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.handleCreateRefreshEvents(MeasurementManagerImpl.java:1467)
        at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy60.handleCreateRefreshEvents(Unknown Source)
        at org.hyperic.hq.measurement.server.session.MeasurementEnabler.processEvents(MeasurementEnabler.java:85)
        at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:42)
        at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:191)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.getLiveMeasurementValues(MeasurementManagerImpl.java:1603)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1566)
        ... 29 more
05-11-2012 15:35:05,239 CET WARN  [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerImpl@1650] Error turning on default metrics, configuration (platform.log_track.level=Warn,platform.type=Linux,platform.ip=10.103.44.110,platform.name=dvdsif47,platform.log_track.enable=true,platform.config_track.enable=true,installpath=/opt/mqm/,platform.id=10003,platform.fqdn=10.197.87.110,) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1568)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.enableDefaultMetrics(MeasurementManagerImpl.java:1648)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.handleCreateRefreshEvents(MeasurementManagerImpl.java:1467)
        at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy60.handleCreateRefreshEvents(Unknown Source)
        at org.hyperic.hq.measurement.server.session.MeasurementEnabler.processEvents(MeasurementEnabler.java:85)
        at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:42)
        at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:191)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.getLiveMeasurementValues(MeasurementManagerImpl.java:1603)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1566)
        ... 29 more

 

* agent.log:

05-11-2012 15:35:03,548 CET ERROR [commandlistener-generic-0] [MeasurementCommandsService@248] Error getting real time measurement: Error contacting resource: mqseries-mgr:Mgr=QM_HUB:ConnectionCount
05-11-2012 15:35:03,554 CET ERROR [commandlistener-generic-0] [MeasurementCommandsService@248] Error getting real time measurement: Error contacting resource: MQJE001: Completion Code '2', Reason '2495'.

Error while installing Hyperic with embeded postgres

$
0
0

Hi,

 

I'm trying to install Hyperic Open Source over a RHEL 6.3 64 bits.

 

I ran into this error during the installation (agent and server at the same time)

 

"Starting built-in database...
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.

 

An error occurred trying to start the HQ built-in database.  More
information may be available in the /home/hyperic/server-4.6.6/logs/hqdb.log file.
--------------------------------------------------------------------------------
Waiting for server to stop...
Stopping built-in database...
--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/setup.xml:523: : The following error occurred while executing this line:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/setup.xml:532: The following error occurred while executing this line:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/setup.xml:777: The following error occurred while executing this line:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/setup-db-PostgreSQL.xml:156: The following error occurred while executing this line:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/setup-db-PostgreSQL.xml:197: The following error occurred while executing this line:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/server.xml:125: exec returned: 1
--------------------------------------------------------------------------------
Deleting temporary JRE "

 

If a "cat" the log as adviced, I get this message.

 

"pg_ctl: PID file "/home/hyperic/server-4.6.6/hqdb/data/postmaster.pid" does not exist
Is server running?"

 

So the problem seems to be related to the embeded database but I have no idea what can I do to fix that...I'm working on a test machine with snapshots so roll backs are easy

 

Any help is more than welcome!

elgreco81

Help with missing .dlls

$
0
0

Hey guys,

 

My company did server maintenance this past weekend and my hyperic server happened to be serviced. Monday morning i was greeted with this in the logs. (disregard the date)

 

 

WrapperManager:
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:           following files:
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:             wrapper-windows-x86-64.dll
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:             wrapper.dll
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:           could be located on the following java.library.path:
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:             C:\Hyperic-Server\server-5.0.0-EE\wrapper\sbin\%LD_LIBRARY_PATH%
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:             C:\Hyperic-Server\server-5.0.0-EE\wrapper\sbin\..\..\wrapper\lib
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:           Please see the documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:           configuration property.
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:           System signals will not be handled correctly.
INFO   | jvm 1    | 2013/01/10 11:29:14 | WrapperManager:

 

Now Hyperic is shutting it self down, every start up attempt. I tried to recover with a back up, but all the files on my server are the same as last thursday and friday. HELP!

 

Thanks in advance

Hyperic 5 OS?

$
0
0

Hi,

 

 

I'm currently a user of Hyperic 4.6.6 open source. I wanted to do a demo of hyperic 5 to see if it's worth upgrading, but the download links for the OS edition take me to 4.6.6 - there's no HQ OS 5 link that I can find.

 

Trying out the enterprise edition, I get this when trying to run the installer:

 

 

~/hyperic5/hyperic-hqee-installer-5.0.0/installer/bin$./setup.sh -full
./setup.sh: 13: ./setup.sh: /home/makanab/hyperic5/hyperic-hqee-installer-5.0.0/installer/bin/installer-@@@VERSION@@@/bin/hq-setup.sh: not found

 

This all seems to be because 4.6.6 doesn't let me create 'groups of groups' even though the documentation/UI seems to suggest that I can.

5.0 HA Hyperic Agents and Cisco Global Site Selector

$
0
0

I am trying really hard to set up a highly available Hyperic environment split across datacentres - below is a draft diagram of how I think I could make it work.

 

Proposed Hyperic 5 HA Solution.jpg

My main concern is the hyperic agents, being java processes, are not likely to register a change in IP address for the common name of hqserver.abcd.com without a restart .... right? Has anyone any experience in using GSS as an HA solution.

 

Some other notes:

  • Due to infrastructure limitations, there is no "normal" load balancer we could use.
  • This setup is assuming that the vmware implementation of postgresql has streaming replication!
  • We have an awesome setup now with 4.x using oracle dataguard and a linux cluster, which vmware has chosen to destroy with its removal of oracle support >-(

Hype ric server is not able to start

$
0
0

Hi All,

 

I have installed open-source postgresql 9.1 database and after that i have installed Hyperic Server 4.6 but while starting HQ server i am unable to start it

 

ERROR [WrapperStartStopAppMain] [org.hyperic.bootstrap.ProcessManagerImpl@119] Command did not execute successfully (exit code = 1)

ERROR [WrapperStartStopAppMain] [org.hyperic.bootstrap.HQServer@212] Error verifying if HQ schema is valid.  url= jdbc:postgresql://localhost:5432/hyperic?protocolVersion=2, Cause: org.postgresql.util.PSQLException:

 

Please help me

 

Please let me know if more information is required.

 

Thanks & Regards

Amit Patil

JNLP loads Sigar native libs via file: but not http:

$
0
0

I have an app that is using jnlp as the launcher. It uses the Sigar libraries which require dynamically loaded native libraries for platform specific code.

For purposes of debugging this I have two JNLP files, one that references the codebase using file: urls and the other using http: urls. The http urls point to localhost apache which is properly serving the files. I can watch JNLP download them during its launch sequence via apache logs so I know the files are getting to my app properly.

 

Here are the two codebase tags

 

codebase="file:/Users/siberian/Documents/workspace_mnis/MNIS/localhost/"
href="file:/Users/siberian/Documents/workspace_mnis/MNIS/localhost/minis.jnlp"

 

and

 

codebase="http://localhost/"
href="http://localhost/mnis.jnlp"

 

If I double click the file: version it works fine. If I load it via my browser it works fine.

 

If I double click or browser load the http: version it fails to find the dynamic libraries with this error:

 

JNLPClassLoader: Finding library liblibsigar-universal64-macosx.dylib.dylib
[AWT-EventQueue-0] DEBUG Sigar  - no libsigar-universal64-macosx.dylib in java.library.path
org.hyperic.sigar.SigarException: no libsigar-universal64-macosx.dylib in java.library.path

 

Now, the interesting to note is that file that it says it cant find liblibsigar-universal64-macosx.dylib.dylib

 

Note the prefix extra 'lib' and postfix extra '.dylib'.

 

There are notes on the Sigar/vmware forums about similar problems with no solutions.

 

The core question is, why is this acting differently in a file: context vs an http: context?

 

Also of note, I have unsigned and resigned all of my files, there are no signature errors that I can see.

 

Also: JaNeLa tells me all is fine

HypericHQ auto-detecting ERS Apache web-server instance

$
0
0

Hi all,

 

I have Hyperic server/agent installed on Linux and detecting my Tomcat (7.0.35)

instance running under a tcServer 2.8.2 deployment.

 

However, Hyperic does not seem to be able to auto-detect the ERS Apache web-server

instance running on this same environment (under same VAH, owned by same userid).

 

I confirmed that the following Apache plug-in modules were available and configured under

httpd.conf (if required here):

 

1. Response Time Module Configuration (LoadModule rt_module modules/mod_rt.so)

2. Simple Network Monitoring Protocol (mod_snmp - enables vhost-level metrics in Hyperic

HQ, not included in original 4.0 release)

 

I then tried to auto-scan/auto-detect from the command-line itself using the appropriate

HQ library with the following result:

 

$ java -jar hq-pdk-4.6.jar -p apache -Dplugins.include=apache -m discover

 

ERROR [Thread-0] [AutoScan] AutoScan failed for Apache-ERS 4.x

java.lang.NullPointerException

        at org.hyperic.hq.plugin.apache.ApacheServerDetector.configureServer(ApacheServerDetector.java:389)

        at org.hyperic.hq.plugin.apache.ErsApacheServerDetector.getServerList(ErsApacheServerDetector.java:104)

        at org.hyperic.hq.plugin.apache.ErsApacheServerDetector.getServerResources(ErsApacheServerDetector.java:190)

        at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83)

        at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:198)

        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)

DEBUG [Thread-0] [AutoScan] Running AutoServerDetector for: Apache-ERS 4.x

DEBUG [Thread-0] [Execute] Waiting process

DEBUG [Thread-0] [Execute] End waiting, stop threads

DEBUG [Thread-0] [Execute] Watchdog stopped

DEBUG [Thread-0] [Execute] Stream handler stopped

DEBUG [Thread-0] [Execute] Done exit=0 /fidcnuwlk2/app/ers-4.0.3/apache2.2-64/bin/httpsd.worker -V

DEBUG [Thread-0] [ApacheBinaryInfo] [getVersionCmdInfo] this=version=2.2.17, root=null, binary=/fidcnuwlk2/app/ers-4.0.3/apache2.2-64/bin/httpsd.worker, ctl=/fidcnuwlk2/app/ers-4.0.3/apache2.2-64/bin/httpsd.worker, mpm=worker, build=Jan 20 2011 00:44:05

DEBUG [Thread-0] [ApacheServerDetector] [getServerInfo] info.conf=/fidcnuwlk2/app/ers-4.0.3/servers/fcHttpServer/conf/httpsd.conf, info.root=/fidcnuwlk2/app/ers-4.0.3/servers/fcHttpServer, info.name=null

 

Finally, I note the following automated message getting written out to my agent.log file every

15 mins (per a default auto-scanning interval?):

 

2013-04-22 04:49:58,823 ERROR [Thread-3] [AutoScan] AutoScan failed for Apache-ERS 4.x
2013-04-22 05:04:58,762 ERROR [Thread-3] [AutoScan] AutoScan failed for Apache-ERS 4.x
2013-04-22 05:19:59,322 ERROR [Thread-3] [AutoScan] AutoScan failed for Apache-ERS 4.x

 

Any pointers welcome here.

 

Regards,

Séamus Coyne

Apache 2.2 and httpd monitoring

$
0
0

I am new to hyperic and a little confused on how to setup apache 2.2 and httpd montoring.  It lookes like they each require a plugin.

I looked at the apache 2.2 plugin installation instrutions(https://support.hyperic.com/display/hyperforge/Apache+2.2+server)  but the directions are not
clear on what the variable ${installpath} is supposed to be.
I also looked at the plugin page for httpd https://support.hyperic.com/display/hyperforge/Apache+httpd+server and edited my apache configuration file.  However I am getting no data coming through.  Any help is greatly appreaciated, Thanks.

Has anyone configured Hyperic to work with SQL 2008 R2 Datacenter?

$
0
0


We have recently installed SQL Server 2008 R2 Datacenter.

 

We have Hyperic Version 4.5 installed.

The Agent has been deployed and we are successfully monitoring the physical machines with the default metrics.

 

For some reason the deployed server health MS SQL 2008 is detected but does not indicate that it is available even though it is.

 

I have ensured that the Resource Type is MsSQL 2008 and the Install Path is C:\Program Files\Microsoft SQL Server\MSSQL10_50.NAVIS\MSSQL.

 

Is there something else I need to do before Hyperic will pick this service up as available?

Failed to lookup OID for BIGIP F5 device

$
0
0

I have setup hyperic and added an f5 device. Under Inventory > Configuration properties it gives the error:

 

This resource is turned off or has not been configured properly.

The problem is: Invalid configuration: Invalid request: Failed to lookup OID for name=sysHttpStatNumberReqs (last lookup failure=null)

 

I have added F5-BIGIP-SYSTEM-MIB.txt, F5-BIGIP-GLOBAL-MIB.txt and F5-BIGIP-LOCAL-MIB.txt to /usr/share/snmp/mibs. I then ran export MIBS=ALL

 

When running snmpwalk -v 2c -c community IP 1.3.6.1.4.1.3375.2.1.1.2.4.7 I get the errors:

 

Cannot adopt OID in F5-BIGIP-SYSTEM-MIB:

 

When running snmptranslate sysHttpStatNumberReqs I also get the same errors

 

Any help will be greatly appreciated.

Monitoring tomcat datasource pool

$
0
0

     Hello,

               I am using hyperic hq 4.6.6 for monitoring tomcat 7,here hyperic not auto discovering data source pool for tomcat

please some one can tell me how to add custom service i.e data source pool,what should be the parameters values of PATH, CLASS,HOST,NAME

I tried to my best but I failed..

         Please some one help me...


Monitoring tomcat java process metrics

$
0
0

Hello,

 

          I am using hyperic hq 4.6.6 to monitor tomcat 7,

Here  hyperic has detected some services under tomcat server like, threadpool,servletMonitor,

But I have to monitor tomcat java process metrics,I tried manually adding java process metrics, but while configuration it showing error,

 

The configuration has not been set for this resource due to : Invalid configuration: Invalid request: Malformed ObjectName [sigar.ext:Type=ChildProcesses,Arg=State.Name.re=java|jsvc,State.Name.Pne=jsvc,Args.*.sw=-Dcatalina.base=/u01/HypericTesting/apache-tomcat-7.0.26]

can any one help me please...?

Can't install on RH6.4 with a Standalone DB

$
0
0

I'm new to Hyperic but have a customer who wants us to purchase and deploy HQ Enterprise over a largish AWS environment. Naturally they want to see the evaluation running before they commit though.

 

There is nothing much special about the AWS RH6.4 image so I can't understand why this doesn't work. Installation goes well with both built in and standalone DB's with builtin DB I can start the server and all seems well. With the standalone Prostgres the installation completes and I can see the DB is populated with the initial data but the server starts and then stops seconds later.

 

I've followed the installation guidelines for both the tarball and rpm versions (the full versions with included JRE) to the letter, naturally I have upgraded postgres to 9.1 (and even tried 9.2 in desperation), started again from clean images not installing with the built in DB first etc.

 

The slightly strange thing as is you can see in the bootstrap logs below I am gettingdbType=11, targetDB='null' which is slightly odd...then I get what looks to be a successful DB upgrade followed by the server exiting with an undeclared error...then it just starts the shutdown process. If I try to restart the log looks exactly the same (including the DB upgrade messages)

 

All the config points to a postgresql instance on the same host...I have confirmed that pgsql can log in as the defined user and password...and as I say something does manage to populate the database "HQ" with tables. Going round in circles with this now with pressure from the client to deliver it and a ticking away evaluation license.

 

** bootstrap log **

 

 

org.hyperic.tools.ant.dbupgrade.SST_DirectSQL$Statement@165] dbType=11, targetDB='null'
2013-08-06 13:28:25,854 INFO [main] [org.hyperic.tools.ant.dbupgrade.SST_DirectSQL$Statement@165] >>>>> Processing statement desc=[null] SQL=[create table if not exists EAM_ENCRYPTION_KEYS (encryption_key varchar(2000) not null, creation_date timestamp primary key default now()) ]
2013-08-06 13:28:25,855 INFO [main] [org.hyperic.tools.ant.dbupgrade.SST_Insert@165] >>>>> Inserting into EAM_ENCRYPTION_KEYS insert into eam_encryption_keys (encryption_key) select ? where not exists ( select * from eam_encryption_keys where encryption_key = ? and creation_date = (select max(creation_date) from eam_encryption_keys))
2013-08-06 13:28:25,867 INFO [main] [org.hyperic.tools.ant.dbupgrade.DBUpgrader@165] DATABASE SUCCESSFULLY UPGRADED TO 3.219
2013-08-06 13:28:25,887 INFO [WrapperStartStopAppMain] [org.hyperic.bootstrap.ProcessManagerImpl@122] Command executed successfully (exit code = 0)
2013-08-06 13:28:26,407 INFO [WrapperStartStopAppMain] [org.hyperic.bootstrap.HQServer@198] HQ DB schema: 3.219
2013-08-06 13:28:26,410 INFO [WrapperStartStopAppMain] [org.hyperic.bootstrap.HQServer@151] Booting the HQ server...
2013-08-06 13:28:26,434 ERROR [WrapperStartStopAppMain] [org.hyperic.bootstrap.ProcessManagerImpl@119] Command did not execute successfully (exit code = 1)

 

after that it just calls wrapper-stopper and shuts down.

 

Tried opening a support call with vmware went round in circles with them but they point blank refuse to help support a evaluation installation...a strange and disappointing anti-sales practice I must say...why would you not help someone who is poised to be spending £1000's on your software ?...even more of a shame as I have been using vmware products from when the original virtualisation product was pre 1.0 and I remember their support being a lot better than this.

 

So now I turn to the ever faithful community...can you guys help me ?

Cannot add favourite resources

$
0
0

When I log in as as the admin user (the one I created when I installed Hyperic), I can go into Dashboard Settings: Favorite Resources: Add Resources  and select any resources, platforms or services.

 

When I log in as any subsequent users I have created (for our support team to log in as), and go to Dashboard Settings: Favorite Resources: Add Resources, the resource lists are all blank, so I cannot add anything. 

 

It this a known problem?  Is there a fix or workaround?

 

Running Hyperic HQ 4.6.6 Community Edition with MySQL 5.1.67 on RedHat Enterprise Linux 6.3.

Still No WebSphere 8.5 Plugin?

$
0
0

Its pretty much the only reason we use Hyperic instead of the competition in the past, and that is it's OOTB WebSphere Plugin. However we are now mid-migration from WAS6.1 to WAS8.5 and still can't monitor our systems . We have been promised Q1 2013, then Q2 2013, then Q3 2013 .... still nothing!

 

We need to make a very fast decision here... can you please definitively state when the plugin will be ready (we don't mind beta versions!).

 

Thanks

Another false positive availability alert thread

$
0
0

Here is the setup:

 

Hyperic 4.5.1

36 agents

90% of agents and hyperic server are virtual machines.

 

About once a month we get an alert storm for all of the Platform availability alerts at 0%.

Upon investigation, everything is always up and running fine.

 

I have checked time offset, all < 100ms.

I have verified NTPD running with good configuration.

I have verified that VMware timesync is disabled.

 

We cannot figure out what is causing this.

 

Anything else we should look at?

Is it possible the is the rare false positive case that is not related to time offset?

 

Another crazy theory I have involves VMware vMotion and time sync, but I don't know if it is worth pursuing.

I have read that, even with VMware timesync disabled, after a successful vMotion event, VMware syncs the VM with the time on the new host.

Does that sound remotely plausible?

Viewing all 52618 articles
Browse latest View live


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