Cannot auto-discover the ERS 4.x on 4.6 and 4.6.0.1 vFabric Hyperic agent with the 4.6.0.1 vFabric Hyperic server.
Getting 403 error on Hyperic server web console and below error.
2012-03-01 10:13:14,769 ERROR [AgentDaemonMain] [MeasurementCommandsService] Error getting real time measurement: Plugin error: org.apache.http.conn.HttpHostConnectException: Connection to http://10.125.12.7:0 refused
2012-03-01 10:13:15,042 ERROR [AgentDaemonMain] [MeasurementCommandsService] Error getting real time measurement: Plugin error: 403 (Apache)
2012-03-06 11:11:09,389 WARN [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerImpl@1668] Error turning on default metrics, configuration (port=7080,snmpPort=1610,ssl=false,snmpUser=username,platform.id=10501,platform.fqdn=SS93VPWB01S.sg.visaps.com,ServerConf=/app/ERS/4.0.3/servers/qaweb/conf/httpsd.conf,platform.name=SS93VPWB01S.sg.visaps.com,path=/,server.log_track.files=logs/error.log,snmpIp=127.0.0.1,snmpVersion=v2c,snmpPrivacyType=none,platform.log_track.level=Warn,protocol=http,server.log_track.level=Error,server.config_track.enable=false,platform.log_track.enable=true,snmpTransport=udp,hostname=10.125.31.167,snmpAuthType=none,platform.config_track.enable=true,installpath=/app/ERS/4.0.3/servers/qaweb,server.log_track.enable=false,platform.type=Solaris,platform.ip=10.125.25.64,server.port=7080,sotimeout=10,server.name=SS93VPWB01S,snmpCommunity=public,) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Plugin error: 403 (Apache)
at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1586)
at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.enableDefaultMetrics(MeasurementManagerImpl.java:1666)
at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.handleCreateRefreshEvents(MeasurementManagerImpl.java:1499)
at sun.reflect.GeneratedMethodAccessor807.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.GeneratedMethodAccessor262.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:84)
at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:44)
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: Plugin error: 403 (Apache)
at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:191)
at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.getLiveMeasurementValues(MeasurementManagerImpl.java:1621)
at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1584)
... 29 more
2012-03-08 19:09:53,917 ERROR [Thread-3] [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)
ERS conf setup as below.
LoadModule covalent_snmpcommon_module "/app/ERS/4.0/apache2.2/modules/covalent/mod_snmpcommon.so"
LoadModule covalent_snmpagt_module "/app/ERS/4.0/apache2.2/modules/covalent/mod_snmpmonagt.so"
LoadModule rt_module "/app/ERS/4.0/apache2.2/modules/covalent/mod_rt.so"
#-------SNMP Start-------------
ExtendedStatus On
LogFormat "%s" rt_log
LogFormat "%R" enduser
CustomLog "|/usr/local/apache2/bin/rotatelogs
logs/rt_log.%Y-%m-%d-%H-%M-%S 300" rt_log
CustomLog "|/usr/local/apache2/bin/rotatelogs
logs/enduser.%Y-%m-%d-%H-%M-%S 300" enduser
<Location /server-status>
Sethandler server-status
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Location>
<IfModule mod-snmpcommon.c>
SNMPvar "/app/ERS/4.0/servers/<instance name>/var"
SNMPconf "/app/ERS/4.0/servers/<instance name>/conf"
</IfModule>