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/13 17:16:00 UTC

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

Attila Magyar created AMBARI-22236:
--------------------------------------

             Summary: 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


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)