GitHub user grkvlt opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/311
Add JMX attribute sensors
Tidy up existing `AddSensor` code for SSH and HTTP sensors, and adds a new
`JmxAttributeSensor` initializer, which adds a sensor that polls for an
attribute in a JMX object on a suitable configured (i.e. implementing the
`UsesJmx` interface) entity.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grkvlt/incubator-brooklyn jmx-attribute-sensor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/311.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #311
----
commit 523856b766d4f8fddd6229ad620bf0d1f9d2dd62
Author: Andrew Kennedy <[email protected]>
Date: 2014-11-07T16:45:14Z
Add JMX attribute sensor entity initialiser
commit 828529750dc0d4f655af1e7805bac97acfeefc59
Author: Andrew Kennedy <[email protected]>
Date: 2014-11-07T22:21:12Z
Set sensible defaults for senor addition
commit 4f899796e66011927b3782b7c4a83ff3433128ec
Author: Andrew Kennedy <[email protected]>
Date: 2014-11-08T02:30:20Z
Tidy up sensor addition code
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---