<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mathematical Expression for Custom MQ Health Rule Metric Not Working in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722750#M3334</link>
    <description>&lt;P&gt;Hi Alicia,&lt;/P&gt;

&lt;P&gt;I'm working on the MQ health rules in our Appdynamics. Currently, we use a custom health rules entity which doesn't allow a relative path in the entities. How did you set up the health rules? Were you able to create dynamic entities based upon a relative path like QMGR|QUEUES|*|?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Todo.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2019 09:23:14 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2019-04-15T09:23:14Z</dc:date>
    <item>
      <title>Mathematical Expression for Custom MQ Health Rule Metric Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722747#M3331</link>
      <description>&lt;P&gt;We have installed the AppDynamics IBM MQ plugin\extension.&amp;nbsp; I'm trying to set the custom mq health rules condition using mathematical expression so that an&amp;nbsp;alert is sent out&amp;nbsp;if the current queue depth is greater than 10% of the maximum queue depth.&amp;nbsp; I have followed instructions on these 2 URLs &amp;gt;&amp;gt;&amp;gt; &lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/How-to-create-a-low-disk-space-alert-based-on-both-percentage/ta-p/23469" target="_blank"&gt;https://community.appdynamics.com/t5/Knowledge-Base/How-to-create-a-low-disk-space-alert-based-on-both-percentage/ta-p/23469&lt;/A&gt; and &lt;A href="https://docs.appdynamics.com/display/PRO44/Configure+Health+Rules#ConfigureHealthRules-ToBuildanExpression" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Configure+Health+Rules#ConfigureHealthRules-ToBuildanExpression&lt;/A&gt; but neither seem to work.&amp;nbsp; This is how I have set up one of them.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Queue 3:&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;Max queue depth is 100.&amp;nbsp; I want to be alerted if the current queue reaches or goes over 10% of the max queue depth.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Queue 3 Mathematical Expression:&lt;/STRONG&gt;&amp;nbsp; ({CurrentQueueDepth} / ({MaxQueueDepth} + {CurrentQueueDepth}))*100.&amp;nbsp; With "&lt;STRONG&gt;is &amp;gt; Specific Value" &lt;/STRONG&gt;set at 10 (10%).&lt;/P&gt;

&lt;P&gt;--- This does not seem to work for me ---&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Queue 2:&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;Max queue depth is 100.&amp;nbsp; I want to be alerted if the current queue reaches or goes over 10% of the max queue depth.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Queue 2 Mathematical Expression:&lt;/STRONG&gt;&amp;nbsp; (({CurrentQueueDepth} / ({MaxQueueDepth} + {CurrentQueueDepth}))*100.&amp;nbsp; With "&lt;STRONG&gt;is &amp;gt; Specific Value" &lt;/STRONG&gt;set at 10 (10%).&lt;/P&gt;

&lt;P&gt;--- This isn't working for me either ---&lt;/P&gt;

&lt;P&gt;Am I missing a step or is there something wrong with the mathematical expression?&amp;nbsp; I tried attaching a word document with screen shots but kept getting error messages.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722747#M3331</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-07-10T19:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Expression for Custom MQ Health Rule Metric Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722748#M3332</link>
      <description>&lt;P&gt;Hi Alicia,&lt;/P&gt;

&lt;P&gt;Can you please let us know that the health rule is not working means it is not evaluating or it is evaluating incorrectly.&lt;/P&gt;
&lt;P&gt;1. If it is not just able to evaluate, please share the controller server logs along with the relevant screenshots of the health rule configurations.&lt;/P&gt;
&lt;P&gt;2. If it is evaluating incorrectly, please try below conditions and check the behavior&lt;BR /&gt;({CurrentQueueDepth}/{MaxQueueDepth})*100.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 07:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722748#M3332</guid>
      <dc:creator>Yogesh_Chouk</dc:creator>
      <dc:date>2018-07-11T07:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Expression for Custom MQ Health Rule Metric Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722749#M3333</link>
      <description>&lt;P&gt;Hi Yogesh,&lt;/P&gt;

&lt;P&gt;The machine agent was down.&amp;nbsp; After I started it, it started sending out the notifications after using the expression you sent.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for your help!&lt;/P&gt;

&lt;P&gt;Alicia&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 00:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722749#M3333</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-03T00:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Expression for Custom MQ Health Rule Metric Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722750#M3334</link>
      <description>&lt;P&gt;Hi Alicia,&lt;/P&gt;

&lt;P&gt;I'm working on the MQ health rules in our Appdynamics. Currently, we use a custom health rules entity which doesn't allow a relative path in the entities. How did you set up the health rules? Were you able to create dynamic entities based upon a relative path like QMGR|QUEUES|*|?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Todo.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Mathematical-Expression-for-Custom-MQ-Health-Rule-Metric-Not/m-p/722750#M3334</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-04-15T09:23:14Z</dc:date>
    </item>
  </channel>
</rss>

