Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

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


Viewing all articles
Browse latest Browse all 180259

Trending Articles