You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2017/10/17 14:17:00 UTC

[jira] [Updated] (AMBARI-22236) Expression parser support for JMXServerSide alerts

     [ https://issues.apache.org/jira/browse/AMBARI-22236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Magyar updated AMBARI-22236:
-----------------------------------
    Attachment: AMBARI-22236.patch

> Expression parser support for JMXServerSide alerts
> --------------------------------------------------
>
>                 Key: AMBARI-22236
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22236
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22236.patch
>
>
> Many existing JMX alerts use expressions like
> {code}
>         "jmx": {
>             "property_list": [
>               "Hadoop:service=NameNode,name=FSNamesystemState/CapacityUsed",
>               "Hadoop:service=NameNode,name=FSNamesystemState/CapacityRemaining"
>             ],
>             "value": "{0}/({0} + {1}) * 100.0"
>           }
> {code}
> JMXServerSide alert should be able to evaluate these expressions in a secure and safe way.
> Supported operators: +,-,*,/,(,)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)