Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
09-12-2017 02:48 AM - last edited on 05-05-2020 02:08 PM by Ryan.Paredez
Hi,
I'm using Server Agent 4.3.5.7
I have a Health rule that monitors a Custom Metric condition. I am monitoring a process name, triggering an event when the process count exceeds a threshold.
I am forwarding this event to a webhook via an HTTP action request using a JSON payload.
However, the resulting event does not contain the node/server name.
I can see in the AppDynamics Servers Events list the Server name field is not populated.
Is this expected behavior...or can an agent be configured to include the Server name?
Thanks
John
example payload
{
"controllerUrl": "https://mycontroller.appdynamics.com",
"accountId": "xxx",
"accountName": "xxxxxxxxxx",
"policy": "AUTO_appd_process_Alive",
"action": "Tell_CSIT_AUTO",
"topSeverity": "ERROR",
"eventType": "POLICY_OPEN_CRITICAL",
"eventId": "1549490534",
"eventGuid": "16f35995-5d7f-439d-822e-1ae34ea02cf6",
"displayName": "New Critical Health Rule Violation",
"eventTime": "Mon Sep 11 09:06:55 PDT 2017",
"severity": "ERROR",
"applicationName": "Server & Infrastructure Monitoring",
"applicationId": "3579",
"tier": "${latestEvent.tier.name}",
"node": "${latestEvent.node.name}",
"healthRule": "Auto_appd_process",
"incident": "Auto_appd_process",
"affectedEntities": [{
"entityType": "APPLICATION",
"name": "Server & Infrastructure Monitoring"
}
],
"deepLink": "https://mycontroller.appdynamics.com/#location=APP_EVENT_VIEWER_MODAL&eventSummary=1549490534&applic...",
"summaryMessage": "AppDynamics has detected a problem with Application <b>Server & Infrastructure Monitoring</b>.<br><b>Auto_appd_process</b> started violating and is now <b>critical</b>.",
"eventMessage": "AppDynamics has detected a problem with Application <b>Server & Infrastructure Monitoring</b>.<br><b>Auto_appd_process</b> started violating and is now <b>critical</b>.<br>All of the following conditions were found to be violating<br>For Application <b>Server & Infrastructure Monitoring</b>:<br>1) condition 1<br><b>Count's</b> value <b>1.0</b> was <b>greater than</b> the threshold <b>0.0</b> for the last <b>1</b> minutes<br>",
"healthRuleEvent": true,
"healthRuleViolationEvent": true,
"btPerformanceEvent": false,
"eventTypeKey": "Health Rule"
}
Solved! Go to Solution.
09-13-2017 06:07 AM
Hi John,
We can see you have raised a support ticket for the above issue. We will update in support ticket.
Thanks,
Atyuha
09-21-2017 02:39 AM
Jusy in case anybody else sees this issue
I missed a step in setting up the HR.
Under Affected notice a tick box (looks greyed out and unavailable to me)
You are then presented with the pull down to select the affecked host
07-31-2019 04:50 AM
Hi Team,
Even in my case, The same Email template works for few applications where as it is not resolving node name for one of the application.
Please let me know if you have solution.
Thanks
Lalitha
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form