Splunk AppDynamics

shortName in Alerting Template

Jim_Fleenor
Engager

Am currently researching how to use the Alerting Templates in AppD for heath rules and get an error stating: " Short name not available for the condition in critical criteria"  Or   "Short name not available for the condition in warning criteria".  When I export and look further into the underlying json file, I find that there is a null for the shortName rules that are causing the error.  Some of the shortNames point to 'A' or 'B', which I am assuming line up with the criteria in the health rule conditions.  The critical or warning criteria that show as null in the json only seem to have 1 criteria  in the health rule.    Does anyone know how or why these got set to null and if I change them to 'A' instead of null, will that break anything?

Labels (3)
0 Karma
1 Solution

Jim_Fleenor
Engager

The only workaround I was able to come up with was to export the template as json and opened it in a code editor.  From there I was able to find the stages where the ShortName was set to null and updated the short names to match their criteria letters in the UI as a string.  Once I edited the exported template, I imported the json file and the issue was resolved. 

View solution in original post

Tags (1)

Jim_Fleenor
Engager

The only workaround I was able to come up with was to export the template as json and opened it in a code editor.  From there I was able to find the stages where the ShortName was set to null and updated the short names to match their criteria letters in the UI as a string.  Once I edited the exported template, I imported the json file and the issue was resolved. 

Tags (1)

iamryan
Community Manager
Community Manager

Hi @Jim.Fleenor,

I found this AppD docs page https://docs.appdynamics.com/display/PRO45/Health+Rule+API if you search for, "shortname" shows results where A, B, C, D.

Please let me know if that doc helped and if it did, please share those learnings here as a reply to your post. Knowledge sharing is what drives this community forward.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...