Ok folks....
I have pulled my hair out (what little there is left) and have searched and searched the fourms, docs, and internet for any help on getting the agent/server to monitor exchange 2010.
Problems are:
1. Hyperic thinks my exchange is 2007 (not 2010). -- Not sure if that is an issue or not (but it would seem to me it is).
2. The resource does not want to configure: I get:
This resource is turned off or has not been configured properly.
The problem is: Invalid configuration: Error retrieving value: \MSExchangeTransport Queues(_Total)\Hyperic HQ Plugin - Exchange Plugin
Please turn on the server, or fix its Configuration Properties.
Can somone point me in the correct direction?
Can you please let me know Hyperic server and agent version that you have install ?
Thank you,
Nipuna
Hi Nipuna,
I current have the following installed:
Server: Hyperic HQ 4.6
I have tried the following agents to see if it would correct the problem but it has not:
4.6 (that came with the HQ Installer)
4.6.5.1 (separate download)
4.6.5.1 EE (Install via windows installer)
I tired using the following commands I found off the jira bug report:
jre\bin\java -jar pdk\lib\hq-product.jar -Dplugins.include=exchange -m discover -a metric -Dmetric-indicator=true
and then saw I should be using hq-pdk jar file instad (according to the jira bug report) but neither helped.
Also denote that my path is not exactly as described in jira, but rather the following (for the original 4.6 client - it changes slightly with the EE client):
jre\bin\java -jar bundles\agent-4.6\pdk\lib\hq-product.jar -Dplugins.include=exchange -m discover -a metric -Dmetric-indicator=true
jre\bin\java -jar bundles\agent-4.6\pdk\lib\hq-pdk.jar -Dplugins.include=exchange -m discover -a metric -Dmetric-indicator=true
Here is the output that I get when I run it (please note I change fqdn and ip addresses):
jre\bin\java -jar bundles\agent-4.6.5.1\pdk\lib\hq-product.jar -Dplugins.include=exchange -m discover -a metric -Dmetric-indicator=true
Failed to load Main-Class manifest attribute from bundles\agent-4.6.5.1\pdk\lib\hq-product.jar
then I run the other one that I am suppose to run:
C:\hyperic\agent-4.6.5.1\agent-4.6.5.1-EE>jre\bin\java -jar bundles\agent-4.6.5.
1\pdk\lib\hq-pdk-4.6.5.1.jar -Dplugins.include=exchange -m discover -a metric -D
metric-indicator=true
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/hyperic/agent-4.6.5.1/agent-4.6.5.1-EE/bun
dles/agent-4.6.5.1/pdk/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerB
inder.class]
SLF4J: Found binding in [jar:file:C:\hyperic\agent-4.6.5.1\agent-4.6.5.1-EE\bund
les\agent-4.6.5.1\pdk\lib\slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBi
nder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
1 servers detected
Server: mail Exchange Transport 2007 [C:\Program Files\Microsoft\Exchange Server
\V14\Bin\MSExchangeTransport.exe]
AIID.....MSExchangeTransport
config...
product..
metric...
control..null
Exchange Transport 2007 Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 Aggregate Delivery Queue Length (All Queues):
win32:Object=MSExchangeTransport Queues,Instance=_Total:Hyperic HQ Plugin - E
xchange Plugin
getValue failed for metric: Exchange Transport 2007:win32:Object=MSExchangeTrans
port Queues,Instance=_Total:Hyperic HQ Plugin - Exchange Plugin
MetricNotFoundException: \MSExchangeTransport Queues(_Total)\Hyperic HQ Plugin -
Exchange Plugin
hit enter to continue
Exchange Transport 2007 Messages Completed Delivery Total per Minute:
win32:Object=MSExchangeTransport Queues,Instance=_Total:Hyperic HQ Plugin - E
xchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007:win32:Object=MSExchangeTrans
port Queues,Instance=_Total:Hyperic HQ Plugin - Exchange Plugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport Queues(_Total)\Hyperic HQ Plugin -
Exchange Plugin
hit enter to continue
Exchange Transport 2007 Messages Submitted Total per Minute:
win32:Object=MSExchangeTransport Queues,Instance=_Total:Hyperic HQ Plugin - E
xchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007:win32:Object=MSExchangeTrans
port Queues,Instance=_Total:Hyperic HQ Plugin - Exchange Plugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport Queues(_Total)\Hyperic HQ Plugin -
Exchange Plugin
hit enter to continue
Runtime Resource Report...
Platform=Win32, fqdn=xxx.xxxxxx.net (Microsoft Windows 2008)
config...
product..null
metric...platform.log_track.level=Warn,platform.log_track.eventlogs=System,platf
orm.log_track.enable=true,platform.config_track.enable=true,
control..null
cprops...cpuSpeed=2 @ 2128 MHz,secondaryDNS=1.1.1.1,defaultGateway=1.1.1
.1,arch=x86,ram=2048 MB,vendor=Microsoft,vendorVersion=2008,primaryDNS=1.1.1
.1,ip=1.1.1.12,version=6.1,
mail Exchange Transport 2007 services:
SmtpSend intra-organization smtp send connector
config...
product..name=intra-organization smtp send connector,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpSend Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpSend Connections Total per Minute:
win32:Object=MSExchangeTransport SmtpSend,Instance=intra-organization smtp se
nd connector:Hyperic HQ Plugin - Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpSend:win32:Object=MSExch
angeTransport SmtpSend,Instance=intra-organization smtp send connector:Hyperic H
Q Plugin - Exchange Plugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport SmtpSend(intra-organization smtp s
end connector)\Hyperic HQ Plugin - Exchange Plugin
hit enter to continue
SmtpSend dyndns
config...
product..name=dyndns,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpSend Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpSend Connections Total per Minute:
win32:Object=MSExchangeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin -
Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpSend:win32:Object=MSExch
angeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin - Exchange Plugin__RATE
__=1m
MetricNotFoundException: \MSExchangeTransport SmtpSend(dyndns)\Hyperic HQ Plugin
- Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpSend Messages Sent Total per Minute:
win32:Object=MSExchangeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin -
Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpSend:win32:Object=MSExch
angeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin - Exchange Plugin__RATE
__=1m
MetricNotFoundException: \MSExchangeTransport SmtpSend(dyndns)\Hyperic HQ Plugin
- Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpSend Message Bytes Sent Total per Minute:
win32:Object=MSExchangeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin -
Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpSend:win32:Object=MSExch
angeTransport SmtpSend,Instance=dyndns:Hyperic HQ Plugin - Exchange Plugin__RATE
__=1m
MetricNotFoundException: \MSExchangeTransport SmtpSend(dyndns)\Hyperic HQ Plugin
- Exchange Plugin
hit enter to continue
SmtpReceive internal smtp
config...
product..name=internal smtp,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpReceive Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpReceive Connections Total:
win32:Object=MSExchangeTransport SmtpReceive,Instance=internal smtp:Hyperic H
Q Plugin - Exchange Plugin
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=internal smtp:Hyperic HQ Plugin - Exchange
Plugin
MetricNotFoundException: \MSExchangeTransport SmtpReceive(internal smtp)\Hyperic
HQ Plugin - Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpReceive Messages Received Total per Minute:
win32:Object=MSExchangeTransport SmtpReceive,Instance=internal smtp:Hyperic H
Q Plugin - Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=internal smtp:Hyperic HQ Plugin - Exchange
Plugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport SmtpReceive(internal smtp)\Hyperic
HQ Plugin - Exchange Plugin
hit enter to continue
SmtpReceive dyndns only
config...
product..name=dyndns only,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpReceive Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpReceive Connections Total:
win32:Object=MSExchangeTransport SmtpReceive,Instance=dyndns only:Hyperic HQ
Plugin - Exchange Plugin
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=dyndns only:Hyperic HQ Plugin - Exchange P
lugin
MetricNotFoundException: \MSExchangeTransport SmtpReceive(dyndns only)\Hyperic H
Q Plugin - Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpReceive Messages Received Total per Minute:
win32:Object=MSExchangeTransport SmtpReceive,Instance=dyndns only:Hyperic HQ
Plugin - Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=dyndns only:Hyperic HQ Plugin - Exchange P
lugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport SmtpReceive(dyndns only)\Hyperic H
Q Plugin - Exchange Plugin
hit enter to continue
SmtpReceive client mail
config...
product..name=client mail,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpReceive Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpReceive Connections Total:
win32:Object=MSExchangeTransport SmtpReceive,Instance=client mail:Hyperic HQ
Plugin - Exchange Plugin
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=client mail:Hyperic HQ Plugin - Exchange P
lugin
MetricNotFoundException: \MSExchangeTransport SmtpReceive(client mail)\Hyperic H
Q Plugin - Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpReceive Messages Received Total per Minute:
win32:Object=MSExchangeTransport SmtpReceive,Instance=client mail:Hyperic HQ
Plugin - Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=client mail:Hyperic HQ Plugin - Exchange P
lugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport SmtpReceive(client mail)\Hyperic H
Q Plugin - Exchange Plugin
hit enter to continue
SmtpReceive default mail
config...
product..name=default mail,
metric...
control..null
rt.......null
Exchange Transport 2007 SmtpReceive Availability:
win32:Service=MSExchangeTransport:Availability
=>100.0%<=
Exchange Transport 2007 SmtpReceive Connections Total:
win32:Object=MSExchangeTransport SmtpReceive,Instance=default mail:Hyperic HQ
Plugin - Exchange Plugin
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=default mail:Hyperic HQ Plugin - Exchange
Plugin
MetricNotFoundException: \MSExchangeTransport SmtpReceive(default mail)\Hyperic
HQ Plugin - Exchange Plugin
hit enter to continue
Exchange Transport 2007 SmtpReceive Messages Received Total per Minute:
win32:Object=MSExchangeTransport SmtpReceive,Instance=default mail:Hyperic HQ
Plugin - Exchange Plugin__RATE__=1m
getValue failed for metric: Exchange Transport 2007 SmtpReceive:win32:Object=MSE
xchangeTransport SmtpReceive,Instance=default mail:Hyperic HQ Plugin - Exchange
Plugin__RATE__=1m
MetricNotFoundException: \MSExchangeTransport SmtpReceive(default mail)\Hyperic
HQ Plugin - Exchange Plugin
hit enter to continue
Sorry to be so long but wanted to try to give you as much detail as possible.
Hi.
With 4.6 your are going to see "Exchange 2010" as "Exchange 2010", this is solved on 4.6.5.
Anyway, you sould get metrics...
But looks like the plugin can't access to windows Performance Data.
Have you applied security to the Performance Data?
http://support.microsoft.com/kb/146906
Can you try these two things?
1. Goto to the "Performance Monitor" (on Administrative tools) and look for Exchange metrics there.
2. Add "-Dlog=debug" to the command line, and send me the full output.
C:\hyperic\agent-4.6.5.1\agent-4.6.5.1-EE>jre\bin\java -jar bundles\agent-4.6.5.1\pdk\lib\hq-pdk-4.6.5.1.jar -Dlog=debug -Dplugins.include=exchange -p exchange -m discover -a metric
German.
Hi German:
1. Goto to the "Performance Monitor" (on Administrative tools) and look for Exchange metrics there.
I did go there. althought there were not any metrics "out of the box" CPU was the only 1 in there, I could add counters and find Exchange stuff there. I looked at the article you directed me and was a bit leary about changing registry keys though.
2. Add "-Dlog=debug" to the command line, and send me the full output.
C:\hyperic\agent-4.6.5.1\agent-4.6.5.1-EE>jre\bin\java -jar bundles\agent-4.6.5.1\pdk\lib\hq-pdk-4.6.5.1.jar -Dlog=debug -Dplugins.include=exchange -p exchange -m discover -a metric
The output from above is quite extensive... I could not capture it all but here some of the output. As you can see it appears to see some stuff but then fails on others. I could not capture everything, but I think you get the idea. If you don't, let me know and I'll see if there is a way for me to capture it all. MS/DOS is not the most efficient way of capturing stuff for sure. I attached it as a text file.
3. "With 4.6 your are going to see "Exchange 2010" as "Exchange 2010", this is solved on 4.6.5."
Well I am running 4.6 and it still sees my Exchange 2010 as Exchange 2007, so something is wrong.
Update: So I installed another "montoring tool" just to see if it would collect anything. I get an error message back from it as well saying "Exchange Server WMI counters could not be collected". So I think you are heading in the correct direction on this. This might actually be a counter issue or access to them. Thoughts? Suggestions?
Update: So I used the monitoring tool in Exchange and it does see metrics...
Well just thought I'd put in an update.
I decided to down rev the installation and see what happens. I installed 4.0.3 of the product and indeed the Exchange Piece works. This means there are no issues with the ability to obtain Exchange metrics, but there is something wrong with the exchange plugin jar file, or the agent or something that is specific to Hyperic 4.6.
I'm going to continue to upgrade until the Exchange piece stops and see how far I can get to.
Well, 4.5.3 seems to work as well. So for sure seems like 4.6 issue.
The further I investigate this, I think it really seems to be a 4.6 issue rather than a agent issue....
Thoughts anyone?