i created a action using send a get/post request , i used below code which i got from community
{
"payload": {
"summary": "${NodeName} has rebooted.",
"source": "${N=SwisEntity;M=Caption}",
"severity": "critical",
"component": "${N=SwisEntity;M=MachineType}",
"custom_details": {
"Description": "${N=SwisEntity;M=NodeDescription}",
"Application Name": "${N=Generic;M=Application}",
"Node": " ${N=SwisEntity;M=Caption;F=OriginalValue}",
"Last Boot Time": "${LastBoot}"
}
},
"routing_key": "${SQL: SELECT Nodes.PDIntegrationKey FROM Nodes WHERE NodeID='${NodeID}'}",
"dedup_key": "${NodeName}_reboot",
"event_action": "trigger",
"client": "SolarWinds Orion",
"client_url": "${NodeDetailsURL}"
}
when i simulate it says below
"Post to #$#%#$" action was executed successfully
even for the generated alerts the action executed successfully
but i cant see any incident created in pagerduty