Get started with Jira Service Management for admins
Your first stop for learning how to get started with Jira Service Management.
This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.
Use Jira Service Management's VMware vCenter integration to forward VMware vCenter incidents to Jira Service Management. Jira Service Management acts as a dispatcher for these incidents and determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
When an alarm is created in VMware vCenter, an alert is created in Jira Service Management.
VMware vCenter is an AP-based integration. Setting it up involves the following steps:
Add a VMware vCenter integration in Jira Service Management
Configure the integration in VMware vCenter
Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be either on Premium or Enterprise.
Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.
To add a VMware vCenter integration in Jira Service Management, complete the following steps:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “VMware vCenter”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.
Expand the Steps to configure the integration section and copy the API key.
You will use this key while configuring the integration in VMware vCenter later.
Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
To configure the integration of VMware vCenter with Jira Service Management, complete the following steps:
Download the VMware vCenter zip file into C:\.
Unzip the file into C:\.
Paste the API key previously copied from Jira Service Management into the C:\jsm\jsm-integration\conf\jsm-integration.conf file.
Run vSphere Client.
In vSphere vClient, select Actions.
Select Alarms > New Alarm.
While configuring the alarm, add an action named "Run Command".
Enter C:\jsm-integration\scripts\send2jsm.exe into Configuration.
Save the alarm.
The plugin uses a golang-executable file (included in the plugin as vcenter2jsm) to create alerts in Jira Service Management. Configure VMware vCenter to execute this file on events to create alerts in Jira Service Management.
Setting the apiKey is required. Other configuration parameters are set to defaults that work with most VMware vCenter implementations but may need to be modified as well.
apiKey - Copy the API key from the VMware vCenter integration created above. vcenter2jsm uses this key to authenticate to Jira Service Management. The API key is also used to identify the right integration configuration to process alerts.
teams - Teams field is used to specify which teams should be notified for the VMware vCenter alerts. This field is used to set the default teams field value. Modify this field to route different alerts to different teams in Jira Service Management VMware vCenter integration, Advanced Settings page.
tags - Tags field is used to specify the tags of the alert that created in Jira Service Management.
logPath - Specifies the full path of the log file. (Default value is C:\jsm\vcenter2jsm.log)
vcenter2jsm.http.proxy.enabled - vcenter2jsm.http.proxy.enabled field is to enable/disable external proxy configuration. The default value is false.
vcenter2jsm.http.proxy.host - It is the host of the proxy.
vcenter2jsm.http.proxy.port - It is the port of the proxy.
vcenter2jsm.http.proxy.scheme - It is the proxy connection protocol. It may be http or https depending on your proxy servers. Its default value is http.
vcenter2jsm.http.proxy.username - It is the Proxy authentication username.
vcenter2jsm.http.proxy.password - It is the Proxy authentication password.
jsm.api.url - If you're using Jira Service Management from another domain(eg. EU, sandbox), you should update this configuration.
There are three ways to configure golang-executable file:
Configure from C:\jsm\conf\jsm-integration.conf file. Configuring from conf file overwrites the configurations made in the script.
Configure by entering flags to the command of the notification created in VMware vCenter, which is described in "Configure Triggers in VMware vCenter" section. Use -apiKey flag for the apiKey.
To send additional custom arguments, add them after the flags as: customArgName1 customArgValue1 customArgName2 customArgValue2. Parse custom arguments by adding {{_payload.customArgName}} to wherever is needed on the input fields.
Read more about dynamic properties.
Configure the apiKey vcenter2jsm.go script. Build the script again and put the new executable to /usr/bin directory. Find information about the location of the vcenter2jsm.go and how to build a go script in the "Source" section.
Create Alert payload
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"VMWARE_ALARM_ALARMVALUE": "Event details",
"VMWARE_ALARM_DECLARINGSUMMARY": "([Event alarm expression: Alarm created; Status ",
"VMWARE_ALARM_EVENTDESCRIPTION": "Reconfigured testAlarm 'testAlarm' on Datacenter. \n \nModified: \n \ninfo.expression.expression: ((comparisons ",
"VMWARE_ALARM_EVENT_DATACENTER": "Datacenter",
"VMWARE_ALARM_EVENT_USERNAME": "VSPHERE.LOCAL\\Administrator",
"VMWARE_ALARM_ID": "alarm-310",
"VMWARE_ALARM_NAME": "JsmAlarm",
"VMWARE_ALARM_NEWSTATUS": "Green",
"VMWARE_ALARM_OLDSTATUS": "Yellow",
"VMWARE_ALARM_TARGET_ID": "datacenter-21",
"VMWARE_ALARM_TARGET_NAME": "Datacenter",
"VMWARE_ALARM_TRIGGERINGSUMMARY": "Event: Alarm reconfigured (1978)\nSummary: Reconfigured alarm 'testAlarm' on Datacenter. \n \nModified: \n \ninfo.expression.expression: ((comparisons "
}
Jira Service Management parses the payload as follows:
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"alarmValue": "Event details",
"declaringSummary": "([Event alarm expression: Alarm created; Status ",
"eventDescription": "Reconfigured testAlarm 'testAlarm' on Datacenter. \n \nModified: \n \ninfo.expression.expression: ((comparisons ",
"eventDatacemter": "Datacenter",
"eventUsername": "VSPHERE.LOCAL\\Administrator",
"alarmID": "alarm-310",
"alarmName": "JsmAlarm",
"newStatus": "Green",
"oldStatus": "Yellow",
"targetID": "datacenter-21",
"targetName": "Datacenter",
"triggeringSummary": "Event: Alarm reconfigured (1978)\nSummary: Reconfigured alarm 'testAlarmæ' on Datacenter. \n \nModified: \n \ninfo.expression.expression: ((comparisons "
}
Was this helpful?