How to guide on how to create alarm issues from Nodinite.
...
- Set up a webhook in Nodinite, see doc https://documentation.nodinite.com/Documentation/Administration?doc=/5.%20Settings/1.%20Alarm%20Plugins/Features/HTTP%20Webhook
- Enter the Inbound Incoming Webhook URL for Integrations hub for Jira found on the Inbound Integrations the Incoming Webhooks page in the blue info box. (baseUrl/rest/restfulintegrator/1.0/incoming)
Use basic auth as auth. - This will send the alarms to iHub inbound iHub Incoming Webhook rule engine.
- You can test sending an alarm using the webhook and view the Logs tab on the Inbound Integrations the Incoming Webhook section. This will show how the data looks like.
- An example payload exists here:
- https://documentation.nodinite.com/Documentation/Administration?doc=/5.%20Settings/1.%20Alarm%20Plugins/Features/HTTP%20Webhook
Step 2. Setup
...
Integration to create the issues
- Click create and select a Group called Nodinite
- Click create and select an Iteration called Nodinite - Iterate monitors
- Set Json Path to array: $.MonitorViews
...
- Next is to add the the Action that creates the issues
- Click create and select Action
- Choose template category Jira Core
- Choose template Create Issue
- Click Create
Structure should look like this - Make sure the action has Auto-generate 1st level as variables from parent response selected
- Select the credential
Modify this body to fit your instance
Code Block language js { "fields": { "project": { "key": "ITSUP" }, "summary": "Monitor: {{Name}}", "issuetype": { "name": "Task" }, "description":"{{Description}} has Status {{StatusCode.Name}} for resources: {{#ChangedResources}} * {{Name}}{{/ChangedResources}}", "reporter": { "name": "kg" }, "labels": [ "nodinite", "alarm" ] } }
...