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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...