Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Appdynamics: Complete Guide for Appdynamics Alert

Step-by-step guide to set up and work with alerts in AppDynamics (the screen you shared is the Alert & Respond โ†’ Policies page).

0) How AppDynamics alerts are wired

  • Health Rules: โ€œwhat to watchโ€ (e.g., CPU > 85% for 5 min).
  • Policies: โ€œwhen/where to notifyโ€ (tie events like Health Rule Violation โ€“ Opens/Closes to actions).
  • Actions: โ€œhow to notify/run somethingโ€ (email, HTTP webhook for Slack/PagerDuty/Jira, diagnostic dump, script).
  • (Optional) Anomaly Detection: AppDโ€™s ML events you can also alert on.
  • Templates & Digests: re-usable message bodies and scheduled summary emails.

Youโ€™ll usually create Actions โ†’ Health Rules โ†’ Policies (in that order).


1) Prepare notifications

1.1 Configure email/SMS (once)

Alert & Respond โ†’ Email / SMS Configuration

  • Add SMTP server (host, port, auth, From address).
  • (Optional) Add SMS provider if youโ€™ll send SMS.

1.2 Create actions youโ€™ll reuse

Alert & Respond โ†’ Actions โ†’ Create

  • Email Action: Name โ€œEmailโ€”SRE On-Callโ€, add recipients (team list), subject like [AppD][${severity}] ${application} ${eventType}: ${summary} and use variables in the body (pick from UI).
  • HTTP Request Action (for Slack/PagerDuty/Jira): paste webhook URL, set method/headers, payload JSON using event variables (e.g., ${eventMessage}, ${nodeName}, ${healthRuleName}).
  • Diagnostic/Remediation Actions (optional): thread dump, heap dump, start CPU profiling, or run script (requires Machine Agent with permissions).

Tip: keep action names generic (Emailโ€”SRE, Webhookโ€”Slack-#prod-alerts) so many policies can reuse them.


2) Define what โ€œbadโ€ looks like (Health Rules)

Alert & Respond โ†’ Health Rules โ†’ Create

  1. Scope: pick the application (e.g., motoshare), then the entity type:
    • Applications / Tiers & Nodes / Business Transactions / Databases / Servers / Containers, etc.
  2. Affects: choose All or a subset (tags/tiers/BTs).
  3. Conditions:
    • Choose metric (Browse or paste Metric Path).
    • Set Critical and optionally Warning thresholds.
    • Evaluation: โ€œX of last Y minutesโ€ (e.g., 5 of last 5).
    • Static thresholds or dynamic/baseline (e.g., โ€œ> 3ร— baseline, min 50 req/minโ€).
  4. Rolling up: โ€œAllโ€ vs โ€œAnyโ€ affected entities trigger.
  5. Re-arm: add a wait time (e.g., 10โ€“15 min) to avoid flapping.
  6. Save.

Fast starters (create a few common rules)

  • CPU Hot (Tiers & Nodes): Hardware Resources|CPU|%Busy > 85% for 5 of 5 min (Critical), > 75% (Warning).
  • Memory Pressure: Hardware Resources|Memory|%Used > 90% for 10 of 10 min.
  • BT Slow (Business Transactions): Average Response Time > baseline + 3ฯƒ, min load โ‰ฅ 30 cpm, for 5 of 10 min.
  • BT Errors: Errors per Minute > baseline + 2ฯƒ and Error % > 5% for 5 of 10 min.
  • Container Restarts (if Server/Container visibility enabled): restarts > 0 in 10 min.

Keep rules separate for infrastructure vs. application to route to the right teams.


3) (Optional) Enable Anomaly Detection

Alert & Respond โ†’ Anomaly Detection

  • Turn on for your application/tiers/BTs.
  • Choose sensitivity and minimum traffic.
  • These generate โ€œAnomaly Detectedโ€ events you can target in policies (useful when you donโ€™t want to hand-tune thresholds).

4) Tie events to notifications (Policies)

You can use the Policy Setup Wizard (shown on your screen) or build manually.

4.1 Quick path: Policy Setup Wizard

Alert & Respond โ†’ Policies โ†’ Policy Setup Wizard

  1. Pick Event Types:
    • Health Rule Violation โ€“ Opens (and later add a second policy for Closes).
    • (Optional) Anomaly Detected.
  2. Scope: select Application = motoshare (and narrow to tiers/BTs if needed).
  3. Action: attach โ€œEmailโ€”SRE On-Callโ€, โ€œWebhookโ€”Slack-#prod-alertsโ€, etc.
  4. Execution Settings:
    • โ€œTrigger only on Criticalโ€ (optional) to reduce noise.
    • Add re-notification/cool-down (e.g., re-notify every 60 min while still violating).
  5. Review โ†’ Create.

4.2 Manual path (more control)

Alert & Respond โ†’ Policies โ†’ Create Policy Manually

  • Section 1: Events to Match
    Add:
    • Health Rule Violation โ€“ Opens (filter to your exact Health Rules if you want).
    • (Optional) Health Rule Violation โ€“ Closes in a separate โ€œRecoveryโ€ policy.
    • (Optional) Anomaly Detected / Server Crash / Resource Pool Limit Reached, etc.
  • Section 2: Evaluation Scope
    Application = motoshare, restrict entities if needed.
  • Section 3: Actions
    Add your email/webhook/diagnostic actions.
    Set Do not execute more than once every N minutes and wait times to control noise.
  • Section 4: Schedule/Suppression
    Exclude maintenance windows or allow โ€œpolicy is disabled during deploysโ€.
  • Save.

Best practice: create two policies per health rule familyโ€”Alert (Opens) and Recovery (Closes)โ€”so teams know when things clear.


5) Test end-to-end

  • Pick a rule thatโ€™s easy to trigger (e.g., lower CPU threshold on a dev tier temporarily).
  • Use Alert & Respond โ†’ Policies โ†’ (policy) โ†’ Test/Preview if available, or apply load to trigger a BT rule.
  • Confirm: event appears in Alert & Respond โ†’ Events and notifications arrive in email/Slack/Jira.

6) Reduce noise and keep signals strong

  • Prefer baselines for BT latency/error rules; add minimum load guards.
  • Use โ€œX of last Y minutesโ€ and re-arm times to avoid flapping.
  • Route infra vs app alerts to different actions/recipients.
  • Add maintenance windows for deploys.
  • Use Email Digests for daily/weekly rollups; keep real-time policies for actionable issues.
  • Review Top Talkers (which rules/policies fire the most) and tune monthly.

7) Example: three core policies you can add now

  1. App โ€“ BT Slow (Critical) โ†’ Slack + Email
    Event: Health Rule Violation โ€“ BT Slow (Critical) Opens โ†’ Actions: Slack + Email.
  2. Infra โ€“ Node CPU (Critical) โ†’ Email only
    Event: Health Rule Violation โ€“ CPU Hot Opens โ†’ Action: Emailโ€”SRE.
  3. Recoveries โ€“ All Critical Closes โ†’ โ€œgreenโ€ message
    Event: Health Rule Violation โ€“ Closes (filter to the two rules above) โ†’ Actions: Slack โ€œrecoveredโ€ + Email.

8) Nice-to-have add-ons

  • HTTP Request Templates & Alerting Templates: standardize payloads/messages once, reuse everywhere.
  • Mutual TLS Configuration: if your webhook target (e.g., internal gateway) requires client certs.
  • Runbook links: include a URL in email/webhook pointing to a wiki playbook per alert.
  • Auto-diagnostics: attach a thread dump or snapshot action to severe BT rules.


AppDynamics Health Rules + Policies (Starter Kit for motoshare)

1) Health Rules

๐Ÿ”น Node CPU Hot

  • Scope: Tiers & Nodes โ†’ All nodes in motoshare
  • Critical: CPU % Busy > 85% for 5 of last 5 min
  • Warning: CPU % Busy > 75% for 5 of last 5 min
  • Re-arm: 10 min

๐Ÿ”น Node Memory Pressure

  • Scope: Tiers & Nodes โ†’ All nodes in motoshare
  • Critical: Memory % Used > 90% for 10 of last 10 min
  • Warning: Memory % Used > 80%
  • Re-arm: 15 min

๐Ÿ”น Business Transaction โ€“ Slow

  • Scope: Business Transactions โ†’ All BTs in motoshare
  • Critical: Avg Response Time > Baseline + 3ฯƒ for โ‰ฅ 30 cpm traffic, 5 of 10 min
  • Warning: Avg Response Time > Baseline + 2ฯƒ
  • Re-arm: 10 min

๐Ÿ”น Business Transaction โ€“ Errors

  • Scope: Business Transactions โ†’ All BTs in motoshare
  • Critical: Error % > 5% AND Errors/min > 30, for 5 of 10 min
  • Warning: Error % > 2%
  • Re-arm: 10 min

๐Ÿ”น Container Restarts (if Server/Container visibility enabled)

  • Scope: Containers in motoshare
  • Critical: Restart Count > 0 in 10 min
  • Re-arm: 20 min

2) Actions

Create these once under Alert & Respond โ†’ Actions:

  1. Emailโ€”SRE On-Call
    • To: sre-team@motoshare.com
    • Subject: [AppD][${severity}] ${application} ${eventType}: ${summary}
    • Body: include ${healthRuleName}, ${nodeName}, ${eventMessage}, ${incidentID}
  2. Slackโ€”#alerts
    • Type: HTTP Request Action
    • URL: Slack Webhook
    • JSON payload: { "text": "*[AppDynamics Alert]*nApp: ${application}nEvent: ${eventType}nRule: ${healthRuleName}nNode: ${nodeName}nMessage: ${eventMessage}nLink: ${eventLink}" }

3) Policies

๐Ÿ”น Policy 1: Infra โ€“ Node CPU Critical

  • Event: Health Rule Violation Opens โ†’ โ€œNode CPU Hotโ€
  • Action: Emailโ€”SRE On-Call
  • Rate Limit: Once every 15 min

๐Ÿ”น Policy 2: Infra โ€“ Node Memory Critical

  • Event: Health Rule Violation Opens โ†’ โ€œNode Memory Pressureโ€
  • Action: Emailโ€”SRE On-Call
  • Rate Limit: Once every 20 min

๐Ÿ”น Policy 3: App โ€“ BT Slow

  • Event: Health Rule Violation Opens โ†’ โ€œBT Slowโ€
  • Action: Slackโ€”#alerts + Emailโ€”SRE On-Call
  • Rate Limit: Once every 30 min

๐Ÿ”น Policy 4: App โ€“ BT Errors

  • Event: Health Rule Violation Opens โ†’ โ€œBT Errorsโ€
  • Action: Slackโ€”#alerts + Emailโ€”SRE On-Call
  • Rate Limit: Once every 30 min

๐Ÿ”น Policy 5: Recoveries

  • Event: Health Rule Violation Closes (all above rules)
  • Action: Slackโ€”#alerts (Recovery message)
  • Rate Limit: Once every 15 min

4) Testing & Validation

  • Temporarily lower thresholds (e.g., CPU > 5%) to trigger an alert.
  • Check Alert & Respond โ†’ Events for policy hits.
  • Confirm notifications in Slack and email.
  • Reset thresholds back to production values.

โœ… With this pack:

  • Infra alerts (CPU, memory, container restarts) go to Emailโ€”SRE.
  • App-level issues (BT slow, BT errors) go to Slack + Email.
  • Recovery events let the team know when itโ€™s safe.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Top 10 AI Pricing Optimization Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI pricing optimization tools have become indispensable for businesses navigating the complexities of dynamic markets. These tools leverage artificial intelligence, machine learning, and real-time…

Read More

Top 10 On-premise Backup Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, on-premise backup tools are still essential for businesses that need complete control over their data security and disaster recovery plans. Unlike cloud-based solutions, on-premise…

Read More

Top 10 Server Backup Tools in 2026: Features, Pros, Cons & Comparison

Introduction Server backup tools are essential for businesses in 2026 to ensure the safety, security, and reliability of their data. With the growing threats of cyberattacks, hardware…

Read More

Top 10 Backup & Recovery Tools in 2026: Features, Pros, Cons & Comparison

Introduction In todayโ€™s digital world, data is the backbone of virtually every business operation. As the amount of critical data grows, so does the need for robust…

Read More

Top 10 Disaster Recovery Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, disaster recovery (DR) is more crucial than ever. Businesses rely heavily on digital infrastructure, and even brief disruptions can lead to significant financial losses,…

Read More

Top 10 Endpoint Management Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, businesses of all sizes are increasingly reliant on a variety of devicesโ€”laptops, desktops, mobile devices, and other endpointsโ€”that connect to their networks. With the…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x