I am actually evaluating opsgenie and I am facing to a really fuzzy field used when creating alert or incident.
Those fields are Action and Extra properties.
Does anyone have any sample content of those field and how there are used to be used ?
Really unclear to me so fat
Thanks for clarification
Hi @serge calderara ,
The "actions" field, is where you can add custom actions that will be added to the alerts, so that you can then execute those custom actions on the alert, to trigger an outbound integration, or an Opsgenie Actions Channel to do something.
This doc details custom actions, and an example of how you can trigger a custom action to send to OEC, to execute a custom script.
So for example, you can add the "ping" action to be added to alerts, so that the alert will then have the "ping" action available for execution...
Extra properties are just additional key-value fields you can add to alerts. So it just provides additional fields you can add to alerts, besides the default message, description, alias, etc. that are used on Opsgenie alerts.
So you can really add anything to those extra properties, for example
to specify a specific host that the alert is related to.
hello @Samir thanks for your reply.
Just for clarification and to give it a try I have define an email integration where I can send email to create an alert.
I have define a rule where only P3 severity are consider as alert in opsgenie as defined below
Then when user send email to the support address, how can I ask them to specify the Priority parameter as part of the email in order to filter proper rule?
Does it have to do with Extra properties ?
how to configure that Priority in order it is bind to alert field from received email ?
You would do the priority mapping within the integration, it wouldn't have anything to do with extra properties.
You would need to be on the Standard or Enterprise plans, in order to have access to the "advanced" view of integrations to do this.
If the user is sending the email with "priority: P2" in the body of the email for example, then you can setup multiple Create Alert actions that filters on the priority being sent in the "message" field of the email (i.e. the body of the email), and set the priority of the Opsgenie alert accordingly...
1 Create Alert action filtering for if message contains "Priority: P1", and if so - creates alert with priority = P1...
2nd Create Alert action filtering for if message contains "Priority: P2", and if so - creates alert with priority = P2...
Instead of using filters, use regex to parse out the "2" from "priority: P2" being sent in the message of the email
Hi @serge calderara You are on the "JSM Standard" plan. I was referring to the Standalone Opsgenie Standard and Enterprise plans.
If you're on a JSM plan, you will need to have the JSM premium plan for advanced integrations.
The JSM Standard plan has similar features as the standalone Opsgenie Essentials plan. These plans just provide the basic features of Opsgenie, and don't offer the more advanced features that allow more flexibility and customization within the platform.