brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-516) WindowsPerformanceCounterSensors does not start on rebind
Date Thu, 08 Jun 2017 13:42:18 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042709#comment-16042709
] 

ASF GitHub Bot commented on BROOKLYN-516:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/brooklyn-server/pull/724


> WindowsPerformanceCounterSensors does not start on rebind
> ---------------------------------------------------------
>
>                 Key: BROOKLYN-516
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-516
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Valentin Aitken
>
> Scenario:
> # Launch Apache Brooklyn with enabled persistence. (Use karaf build or classic build
with {{--persist auto}} flags)
> # Deploy a blueprint with WindowsPerformanceCounterSensors initializer 
> {noformat}
>   - type: org.apache.brooklyn.entity.software.base.VanillaWindowsProcess
>     brooklyn.initializers:
>       - type: org.apache.brooklyn.core.sensor.windows.WindowsPerformanceCounterSensors
>         brooklyn.config:
>           performance.counters:
>             - name: percent.processor.time
>               description: '% Processor Time'
>               counter: \Processor Information(_total)\% Processor Time
> {noformat}
> # Restart Apache Brooklyn
> # After restart {{percent.processor.time}} never changes
> ---
> Currently poll job is added on preStart.
> I think the fix would be similarly to {{org.apache.brooklyn.core.sensor.windows.WinRmCommandSensor}}
to wrap the poll job in a feed and add the feed to the entity.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message