mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
---
|
|
title: "Opsgenie"
|
|
date: 2018-05-08T20:53:40-07:00
|
|
draft: false
|
|
---
|
|
|
|
## Description
|
|
|
|
Connects to the OpsGenie API and displays all your scheduled rotations
|
|
and who's currently on call.
|
|
|
|
<img src="/imgs/modules/opsgenie.png" width="320" height="389" alt="opsgenie screenshot" />
|
|
|
|
## Source Code
|
|
|
|
```bash
|
|
wtf/opsgenie/
|
|
```
|
|
|
|
## Required ENV Variables
|
|
|
|
<span class="caption">Key:</span> `WTF_OPS_GENIE_API_KEY` <br />
|
|
<span class="caption">Value:</span> Your <a href="https://docs.opsgenie.com/docs/api-integration">OpsGenie
|
|
API</a> token.
|
|
|
|
## Keyboard Commands
|
|
|
|
None.
|
|
|
|
## Configuration
|
|
|
|
```yaml
|
|
opsgenie:
|
|
enabled: true
|
|
position:
|
|
top: 2
|
|
left: 1
|
|
height: 2
|
|
width: 1
|
|
refreshInterval: 21600
|
|
```
|
|
|
|
### Attributes
|
|
|
|
`enabled` <br />
|
|
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
|
Values: `true`, `false`.
|
|
|
|
`position` <br />
|
|
Defines where in the grid this module's widget will be displayed. <br />
|
|
|
|
`refreshInterval` <br />
|
|
How often, in seconds, this module will update its data. <br />
|
|
Values: A positive integer, `0..n`.
|