mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Adds the OpsGenie module to the documentation
This commit is contained in:
parent
4542abce60
commit
b4520f1410
@ -4,6 +4,8 @@ date: 2018-04-15T21:17:16-07:00
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Configuration Files
|
||||||
|
|
||||||
By default WTF looks in a `~/.wtf/` directory for a YAML file called
|
By default WTF looks in a `~/.wtf/` directory for a YAML file called
|
||||||
`config.yml`. If the `~/.wtf/` directory doesn't exist, WTF will create that directory
|
`config.yml`. If the `~/.wtf/` directory doesn't exist, WTF will create that directory
|
||||||
on start-up, and then display instructions for creating a new
|
on start-up, and then display instructions for creating a new
|
||||||
@ -11,7 +13,7 @@ configuration file.
|
|||||||
|
|
||||||
In other words, WTF expects to have a YAML config file at: `~/.wtf/config.yml`.
|
In other words, WTF expects to have a YAML config file at: `~/.wtf/config.yml`.
|
||||||
|
|
||||||
## Example Configuration Files
|
#### Example Configuration Files
|
||||||
|
|
||||||
A couple of example config files are provided in the `_sample_configs/`
|
A couple of example config files are provided in the `_sample_configs/`
|
||||||
directory of the Git repository.
|
directory of the Git repository.
|
||||||
@ -21,7 +23,7 @@ To try out WTF quickly, copy
|
|||||||
should see the app launch and display the <a href="/posts/modules/security/">Security</a>,
|
should see the app launch and display the <a href="/posts/modules/security/">Security</a>,
|
||||||
<a href="/posts/modules/clocks/">Clocks</a> and <a href="/posts/modules/status/">Status</a> widgets onscreen.
|
<a href="/posts/modules/clocks/">Clocks</a> and <a href="/posts/modules/status/">Status</a> widgets onscreen.
|
||||||
|
|
||||||
## Custom Configuration Files
|
#### Custom Configuration Files
|
||||||
|
|
||||||
To try out different configurations (or run multiple instances of WTF),
|
To try out different configurations (or run multiple instances of WTF),
|
||||||
you can pass the path to a config file via command line arguments on
|
you can pass the path to a config file via command line arguments on
|
||||||
@ -34,3 +36,13 @@ parameter on launch:
|
|||||||
```bash
|
```bash
|
||||||
$> wtf --config=path/to/custom/config.yml
|
$> wtf --config=path/to/custom/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Environment (ENV) Variables
|
||||||
|
|
||||||
|
Some modules require the presence of environment variables to function
|
||||||
|
properly. Usually these are API keys or other sensitive data that one
|
||||||
|
wouldn't want to have laying about in the config files.
|
||||||
|
|
||||||
|
For modules that require them, the name of the required environment
|
||||||
|
variable(s) can be found in that module's "Required ENV Variables"
|
||||||
|
section of the documentation. See <a href="/posts/modules/opgenie/">OpsGenie</a> for an example.
|
||||||
|
@ -27,7 +27,7 @@ Available modules:
|
|||||||
<li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a>
|
<li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a>
|
||||||
<li><a href="/posts/modules/jira" class="disabled">Jira</a>
|
<li><a href="/posts/modules/jira" class="disabled">Jira</a>
|
||||||
<li><a href="/posts/modules/newrelic" class="disabled">New Relic</a>
|
<li><a href="/posts/modules/newrelic" class="disabled">New Relic</a>
|
||||||
<li><a href="/posts/modules/opsgenie" class="disabled">OpsGenie</a>
|
<li><a href="/posts/modules/opsgenie">OpsGenie</a>
|
||||||
<li><a href="/posts/modules/security">Security</a>
|
<li><a href="/posts/modules/security">Security</a>
|
||||||
<li><a href="/posts/modules/textfiles" class="disabled">Text Files</a>
|
<li><a href="/posts/modules/textfiles" class="disabled">Text Files</a>
|
||||||
<li><a href="/posts/modules/todo" class="disabled">Todo</a>
|
<li><a href="/posts/modules/todo" class="disabled">Todo</a>
|
||||||
|
@ -16,11 +16,11 @@ wtf/bamboohr
|
|||||||
|
|
||||||
## Required ENV Variables
|
## Required ENV Variables
|
||||||
|
|
||||||
`WTF_BAMBOO_HR_TOKEN` <br />
|
<span class="caption">Key:</span> `WTF_BAMBOO_HR_TOKEN` <br />
|
||||||
Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> token.
|
<span class="caption">Value:</span> Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> token.
|
||||||
|
|
||||||
`WTF_BAMBOO_HR_SUBDOMAIN` <br />
|
<span class="caption">Key:</span> `WTF_BAMBOO_HR_SUBDOMAIN` <br />
|
||||||
Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> subdomain name.
|
<span class="caption">Value:</span> Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> subdomain name.
|
||||||
|
|
||||||
## Keyboard Commands
|
## Keyboard Commands
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ draft: false
|
|||||||
|
|
||||||
Displays a configurable list of world clocks, the local time, and date.
|
Displays a configurable list of world clocks, the local time, and date.
|
||||||
|
|
||||||
<img src="/imgs/modules/clocks.png" width="320" height="180" alt="clocks screenshot" />
|
<img src="/imgs/modules/clocks.png" width="320" height="191" alt="clocks screenshot" />
|
||||||
|
|
||||||
## Location
|
## Location
|
||||||
|
|
||||||
|
54
_site/content/posts/modules/opsgenie.md
Normal file
54
_site/content/posts/modules/opsgenie.md
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
---
|
||||||
|
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" />
|
||||||
|
|
||||||
|
## Location
|
||||||
|
|
||||||
|
```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: Any positive integer, `0...n`.
|
@ -9,6 +9,8 @@ draft: false
|
|||||||
Displays some general information about the state of the machine's wifi
|
Displays some general information about the state of the machine's wifi
|
||||||
connection, firewall, and DNS settings.
|
connection, firewall, and DNS settings.
|
||||||
|
|
||||||
|
<img src="/imgs/modules/security.png" width="320" height="192" alt="security screenshot" />
|
||||||
|
|
||||||
#### Wifi Network
|
#### Wifi Network
|
||||||
|
|
||||||
<ul class="list-ornate">
|
<ul class="list-ornate">
|
||||||
@ -29,8 +31,6 @@ connection, firewall, and DNS settings.
|
|||||||
<li>Which <a hre="https://developers.cloudflare.com/1.1.1.1/what-is-1.1.1.1/">DNS resolvers</a> (servers) the machine is configured to use</li>
|
<li>Which <a hre="https://developers.cloudflare.com/1.1.1.1/what-is-1.1.1.1/">DNS resolvers</a> (servers) the machine is configured to use</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<img src="/imgs/modules/security.png" width="320" height="192" alt="clocks screenshot" />
|
|
||||||
|
|
||||||
## Location
|
## Location
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 63 KiB |
BIN
_site/static/imgs/modules/opsgenie.png
Normal file
BIN
_site/static/imgs/modules/opsgenie.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
@ -24,7 +24,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
@ -14,6 +14,13 @@ pre code {
|
|||||||
padding-left: 8px !important;
|
padding-left: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.caption {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 4px;
|
||||||
|
min-width: 50px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.disabled {
|
.disabled {
|
||||||
color: gray !important;
|
color: gray !important;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
@ -14,6 +14,13 @@ pre code {
|
|||||||
padding-left: 8px !important;
|
padding-left: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.caption {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 4px;
|
||||||
|
min-width: 50px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.disabled {
|
.disabled {
|
||||||
color: gray !important;
|
color: gray !important;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 63 KiB |
BIN
docs/imgs/modules/opsgenie.png
Normal file
BIN
docs/imgs/modules/opsgenie.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
@ -65,7 +65,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
@ -6,11 +6,24 @@
|
|||||||
<description>Recent content on WTF</description>
|
<description>Recent content on WTF</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Tue, 08 May 2018 20:33:28 -0700</lastBuildDate>
|
<lastBuildDate>Tue, 08 May 2018 20:53:40 -0700</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="http://wtfutil.com/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://wtfutil.com/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Opsgenie</title>
|
||||||
|
<link>http://wtfutil.com/posts/modules/opsgenie/</link>
|
||||||
|
<pubDate>Tue, 08 May 2018 20:53:40 -0700</pubDate>
|
||||||
|
|
||||||
|
<guid>http://wtfutil.com/posts/modules/opsgenie/</guid>
|
||||||
|
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
||||||
|
Location wtf/opsgenie Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
||||||
|
Keyboard Commands None.
|
||||||
|
Configuration opsgenie: enabled: true position: top: 2 left: 1 height: 2 width: 1 refreshInterval: 21600 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
|
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Security</title>
|
<title>Security</title>
|
||||||
<link>http://wtfutil.com/posts/modules/security/</link>
|
<link>http://wtfutil.com/posts/modules/security/</link>
|
||||||
@ -28,11 +41,10 @@ Wifi Network The name of the current network Whether or not the network uses enc
|
|||||||
|
|
||||||
<guid>http://wtfutil.com/posts/modules/bamboohr/</guid>
|
<guid>http://wtfutil.com/posts/modules/bamboohr/</guid>
|
||||||
<description>Description Connects to the BambooHR API and displays who will be Away today.
|
<description>Description Connects to the BambooHR API and displays who will be Away today.
|
||||||
Location wtf/bamboohr Required ENV Variables WTF_BAMBOO_HR_TOKEN Your BambooHR API token.
|
Location wtf/bamboohr Required ENV Variables Key: WTF_BAMBOO_HR_TOKEN Value: Your BambooHR API token.
|
||||||
WTF_BAMBOO_HR_SUBDOMAIN Your BambooHR API subdomain name.
|
Key: WTF_BAMBOO_HR_SUBDOMAIN Value: Your BambooHR API subdomain name.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration bamboohr: enabled: true position: top: 0 left: 1 height: 2 width: 1 refreshInterval: 900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration bamboohr: enabled: true position: top: 0 left: 1 height: 2 width: 1 refreshInterval: 900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.</description>
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
@ -76,7 +88,7 @@ Widgets are defined by a required widget.go file in a Module.</description>
|
|||||||
<pubDate>Sun, 15 Apr 2018 21:17:16 -0700</pubDate>
|
<pubDate>Sun, 15 Apr 2018 21:17:16 -0700</pubDate>
|
||||||
|
|
||||||
<guid>http://wtfutil.com/posts/configuration/</guid>
|
<guid>http://wtfutil.com/posts/configuration/</guid>
|
||||||
<description>By default WTF looks in a ~/.wtf/ directory for a YAML file called config.yml. If the ~/.wtf/ directory doesn&rsquo;t exist, WTF will create that directory on start-up, and then display instructions for creating a new configuration file.
|
<description>Configuration Files By default WTF looks in a ~/.wtf/ directory for a YAML file called config.yml. If the ~/.wtf/ directory doesn&rsquo;t exist, WTF will create that directory on start-up, and then display instructions for creating a new configuration file.
|
||||||
In other words, WTF expects to have a YAML config file at: ~/.wtf/config.yml.
|
In other words, WTF expects to have a YAML config file at: ~/.wtf/config.yml.
|
||||||
Example Configuration Files A couple of example config files are provided in the _sample_configs/ directory of the Git repository.</description>
|
Example Configuration Files A couple of example config files are provided in the _sample_configs/ directory of the Git repository.</description>
|
||||||
</item>
|
</item>
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -97,12 +97,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<i class="fas fa-clock"></i> 1 min read
|
<i class="fas fa-clock"></i> 2 min read
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="configuration-files">Configuration Files</h2>
|
||||||
|
|
||||||
<p>By default WTF looks in a <code>~/.wtf/</code> directory for a YAML file called
|
<p>By default WTF looks in a <code>~/.wtf/</code> directory for a YAML file called
|
||||||
<code>config.yml</code>. If the <code>~/.wtf/</code> directory doesn’t exist, WTF will create that directory
|
<code>config.yml</code>. If the <code>~/.wtf/</code> directory doesn’t exist, WTF will create that directory
|
||||||
on start-up, and then display instructions for creating a new
|
on start-up, and then display instructions for creating a new
|
||||||
@ -110,7 +112,7 @@ configuration file.</p>
|
|||||||
|
|
||||||
<p>In other words, WTF expects to have a YAML config file at: <code>~/.wtf/config.yml</code>.</p>
|
<p>In other words, WTF expects to have a YAML config file at: <code>~/.wtf/config.yml</code>.</p>
|
||||||
|
|
||||||
<h2 id="example-configuration-files">Example Configuration Files</h2>
|
<h4 id="example-configuration-files">Example Configuration Files</h4>
|
||||||
|
|
||||||
<p>A couple of example config files are provided in the <code>_sample_configs/</code>
|
<p>A couple of example config files are provided in the <code>_sample_configs/</code>
|
||||||
directory of the Git repository.</p>
|
directory of the Git repository.</p>
|
||||||
@ -120,7 +122,7 @@ directory of the Git repository.</p>
|
|||||||
should see the app launch and display the <a href="/posts/modules/security/">Security</a>,
|
should see the app launch and display the <a href="/posts/modules/security/">Security</a>,
|
||||||
<a href="/posts/modules/clocks/">Clocks</a> and <a href="/posts/modules/status/">Status</a> widgets onscreen.</p>
|
<a href="/posts/modules/clocks/">Clocks</a> and <a href="/posts/modules/status/">Status</a> widgets onscreen.</p>
|
||||||
|
|
||||||
<h2 id="custom-configuration-files">Custom Configuration Files</h2>
|
<h4 id="custom-configuration-files">Custom Configuration Files</h4>
|
||||||
|
|
||||||
<p>To try out different configurations (or run multiple instances of WTF),
|
<p>To try out different configurations (or run multiple instances of WTF),
|
||||||
you can pass the path to a config file via command line arguments on
|
you can pass the path to a config file via command line arguments on
|
||||||
@ -133,6 +135,16 @@ parameter on launch:</p>
|
|||||||
<pre><code class="language-bash"> $> wtf --config=path/to/custom/config.yml
|
<pre><code class="language-bash"> $> wtf --config=path/to/custom/config.yml
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="environment-env-variables">Environment (ENV) Variables</h2>
|
||||||
|
|
||||||
|
<p>Some modules require the presence of environment variables to function
|
||||||
|
properly. Usually these are API keys or other sensitive data that one
|
||||||
|
wouldn’t want to have laying about in the config files.</p>
|
||||||
|
|
||||||
|
<p>For modules that require them, the name of the required environment
|
||||||
|
variable(s) can be found in that module’s “Required ENV Variables”
|
||||||
|
section of the documentation. See <a href="/posts/modules/opgenie/">OpsGenie</a> for an example.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -89,6 +89,13 @@
|
|||||||
<h1 class="title">Posts</h1>
|
<h1 class="title">Posts</h1>
|
||||||
<ul class="posts">
|
<ul class="posts">
|
||||||
<li>
|
<li>
|
||||||
|
<span>
|
||||||
|
<a href="http://wtfutil.com/posts/modules/opsgenie/">Opsgenie</a>
|
||||||
|
|
||||||
|
<time class="pull-right post-list">May 08, 2018</time>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</li><li>
|
||||||
<span>
|
<span>
|
||||||
<a href="http://wtfutil.com/posts/modules/security/">Security</a>
|
<a href="http://wtfutil.com/posts/modules/security/">Security</a>
|
||||||
|
|
||||||
|
@ -6,11 +6,24 @@
|
|||||||
<description>Recent content in Posts on WTF</description>
|
<description>Recent content in Posts on WTF</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Tue, 08 May 2018 20:33:28 -0700</lastBuildDate>
|
<lastBuildDate>Tue, 08 May 2018 20:53:40 -0700</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="http://wtfutil.com/posts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://wtfutil.com/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Opsgenie</title>
|
||||||
|
<link>http://wtfutil.com/posts/modules/opsgenie/</link>
|
||||||
|
<pubDate>Tue, 08 May 2018 20:53:40 -0700</pubDate>
|
||||||
|
|
||||||
|
<guid>http://wtfutil.com/posts/modules/opsgenie/</guid>
|
||||||
|
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
||||||
|
Location wtf/opsgenie Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
||||||
|
Keyboard Commands None.
|
||||||
|
Configuration opsgenie: enabled: true position: top: 2 left: 1 height: 2 width: 1 refreshInterval: 21600 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
|
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Security</title>
|
<title>Security</title>
|
||||||
<link>http://wtfutil.com/posts/modules/security/</link>
|
<link>http://wtfutil.com/posts/modules/security/</link>
|
||||||
@ -28,11 +41,10 @@ Wifi Network The name of the current network Whether or not the network uses enc
|
|||||||
|
|
||||||
<guid>http://wtfutil.com/posts/modules/bamboohr/</guid>
|
<guid>http://wtfutil.com/posts/modules/bamboohr/</guid>
|
||||||
<description>Description Connects to the BambooHR API and displays who will be Away today.
|
<description>Description Connects to the BambooHR API and displays who will be Away today.
|
||||||
Location wtf/bamboohr Required ENV Variables WTF_BAMBOO_HR_TOKEN Your BambooHR API token.
|
Location wtf/bamboohr Required ENV Variables Key: WTF_BAMBOO_HR_TOKEN Value: Your BambooHR API token.
|
||||||
WTF_BAMBOO_HR_SUBDOMAIN Your BambooHR API subdomain name.
|
Key: WTF_BAMBOO_HR_SUBDOMAIN Value: Your BambooHR API subdomain name.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration bamboohr: enabled: true position: top: 0 left: 1 height: 2 width: 1 refreshInterval: 900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration bamboohr: enabled: true position: top: 0 left: 1 height: 2 width: 1 refreshInterval: 900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.</description>
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
@ -76,7 +88,7 @@ Widgets are defined by a required widget.go file in a Module.</description>
|
|||||||
<pubDate>Sun, 15 Apr 2018 21:17:16 -0700</pubDate>
|
<pubDate>Sun, 15 Apr 2018 21:17:16 -0700</pubDate>
|
||||||
|
|
||||||
<guid>http://wtfutil.com/posts/configuration/</guid>
|
<guid>http://wtfutil.com/posts/configuration/</guid>
|
||||||
<description>By default WTF looks in a ~/.wtf/ directory for a YAML file called config.yml. If the ~/.wtf/ directory doesn&rsquo;t exist, WTF will create that directory on start-up, and then display instructions for creating a new configuration file.
|
<description>Configuration Files By default WTF looks in a ~/.wtf/ directory for a YAML file called config.yml. If the ~/.wtf/ directory doesn&rsquo;t exist, WTF will create that directory on start-up, and then display instructions for creating a new configuration file.
|
||||||
In other words, WTF expects to have a YAML config file at: ~/.wtf/config.yml.
|
In other words, WTF expects to have a YAML config file at: ~/.wtf/config.yml.
|
||||||
Example Configuration Files A couple of example config files are provided in the _sample_configs/ directory of the Git repository.</description>
|
Example Configuration Files A couple of example config files are provided in the _sample_configs/ directory of the Git repository.</description>
|
||||||
</item>
|
</item>
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -114,11 +114,11 @@
|
|||||||
|
|
||||||
<h2 id="required-env-variables">Required ENV Variables</h2>
|
<h2 id="required-env-variables">Required ENV Variables</h2>
|
||||||
|
|
||||||
<p><code>WTF_BAMBOO_HR_TOKEN</code> <br />
|
<p><span class="caption">Key:</span> <code>WTF_BAMBOO_HR_TOKEN</code> <br />
|
||||||
Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> token.</p>
|
<span class="caption">Value:</span> Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> token.</p>
|
||||||
|
|
||||||
<p><code>WTF_BAMBOO_HR_SUBDOMAIN</code> <br />
|
<p><span class="caption">Key:</span> <code>WTF_BAMBOO_HR_SUBDOMAIN</code> <br />
|
||||||
Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> subdomain name.</p>
|
<span class="caption">Value:</span> Your <a href="https://www.bamboohr.com/api/documentation/">BambooHR API</a> subdomain name.</p>
|
||||||
|
|
||||||
<h2 id="keyboard-commands">Keyboard Commands</h2>
|
<h2 id="keyboard-commands">Keyboard Commands</h2>
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
<p>Displays a configurable list of world clocks, the local time, and date.</p>
|
<p>Displays a configurable list of world clocks, the local time, and date.</p>
|
||||||
|
|
||||||
<p><img src="/imgs/modules/clocks.png" width="320" height="180" alt="clocks screenshot" /></p>
|
<p><img src="/imgs/modules/clocks.png" width="320" height="191" alt="clocks screenshot" /></p>
|
||||||
|
|
||||||
<h2 id="location">Location</h2>
|
<h2 id="location">Location</h2>
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -124,7 +124,7 @@ display in the “Clocks” widget.</p>
|
|||||||
<li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a>
|
<li><a href="/posts/modules/gcal" class="disabled">Google Calendar</a>
|
||||||
<li><a href="/posts/modules/jira" class="disabled">Jira</a>
|
<li><a href="/posts/modules/jira" class="disabled">Jira</a>
|
||||||
<li><a href="/posts/modules/newrelic" class="disabled">New Relic</a>
|
<li><a href="/posts/modules/newrelic" class="disabled">New Relic</a>
|
||||||
<li><a href="/posts/modules/opsgenie" class="disabled">OpsGenie</a>
|
<li><a href="/posts/modules/opsgenie">OpsGenie</a>
|
||||||
<li><a href="/posts/modules/security">Security</a>
|
<li><a href="/posts/modules/security">Security</a>
|
||||||
<li><a href="/posts/modules/textfiles" class="disabled">Text Files</a>
|
<li><a href="/posts/modules/textfiles" class="disabled">Text Files</a>
|
||||||
<li><a href="/posts/modules/todo" class="disabled">Todo</a>
|
<li><a href="/posts/modules/todo" class="disabled">Todo</a>
|
||||||
|
163
docs/posts/modules/opsgenie/index.html
Normal file
163
docs/posts/modules/opsgenie/index.html
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en-us" class="wf-firasans-n4-active wf-active">
|
||||||
|
<head>
|
||||||
|
<link href="http://gmpg.org/xfn/11" rel="profile">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<!-- Enable responsiveness on mobile devices -->
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
<meta name="generator" content="Hugo 0.38.2" />
|
||||||
|
|
||||||
|
<title>Opsgenie | WTF</title>
|
||||||
|
<meta content="Opsgenie - WTF" property="og:title">
|
||||||
|
<meta content=" - " property="og:description">
|
||||||
|
<!-- CSS -->
|
||||||
|
<link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="http://wtfutil.com/css/print.css" media="print">
|
||||||
|
<link rel="stylesheet" href="http://wtfutil.com/css/poole.css">
|
||||||
|
<link rel="stylesheet" href="http://wtfutil.com/css/hyde.css">
|
||||||
|
<link rel="stylesheet" href="http://wtfutil.com/css/wtf.css">
|
||||||
|
<!-- Font-Awesome -->
|
||||||
|
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<!-- Customised CSS -->
|
||||||
|
<link rel="stylesheet" href="http://wtfutil.com/css/custom.css">
|
||||||
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<!-- Icons -->
|
||||||
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
|
||||||
|
<link rel="shortcut icon" href="/favicon.png">
|
||||||
|
|
||||||
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="sidebar">
|
||||||
|
<div class="container sidebar-sticky">
|
||||||
|
<div class="sidebar-about text-center">
|
||||||
|
|
||||||
|
<a href="http://wtfutil.com/"> <img src="/img/wtf.png" alt="WFT Logo" class="" width=""> </a>
|
||||||
|
<p class="lead">
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h3 style="color: white;">Content</h3>
|
||||||
|
<ul style="list-style-type: none;">
|
||||||
|
<li class="sidebar-list-item-1"><a href="/posts/installation/" class="disabled">Installation</a></li>
|
||||||
|
<li class="sidebar-list-item-1"><a href="/posts/configuration/">Configuration</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul style="list-style-type: none;">
|
||||||
|
<li class="sidebar-list-item-1"><a href="/posts/modules/">Modules</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/bamboohr/">BambooHR</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/git/" class="disabled">Git</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/github/" class="disabled">Github</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
<li class="sidebar-list-item-2"><a href="/posts/modules/weather/" class="disabled">Weather</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="copyright">
|
||||||
|
© 2018 Chris Cummer.
|
||||||
|
<br />
|
||||||
|
<a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>.
|
||||||
|
</p>
|
||||||
|
<p class="copyright">
|
||||||
|
Built with <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content container">
|
||||||
|
<div class="post">
|
||||||
|
<h1>Opsgenie</h1>
|
||||||
|
|
||||||
|
<div class="col-sm-12 col-md-12">
|
||||||
|
<span class="text-left post-date meta">
|
||||||
|
|
||||||
|
|
||||||
|
<i class="fas fa-calendar-alt"></i> May 08, 2018
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<i class="fas fa-clock"></i> 1 min read
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="description">Description</h2>
|
||||||
|
|
||||||
|
<p>Connects to the OpsGenie API and displays all your scheduled rotations
|
||||||
|
and who’s currently on call.</p>
|
||||||
|
|
||||||
|
<p><img src="/imgs/modules/opsgenie.png" width="320" height="389" alt="opsgenie screenshot" /></p>
|
||||||
|
|
||||||
|
<h2 id="location">Location</h2>
|
||||||
|
|
||||||
|
<pre><code class="language-bash">wtf/opsgenie
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="required-env-variables">Required ENV Variables</h2>
|
||||||
|
|
||||||
|
<p><span class="caption">Key:</span> <code>WTF_OPS_GENIE_API_KEY</code> <br />
|
||||||
|
<span class="caption">Value:</span> Your <a href="https://docs.opsgenie.com/docs/api-integration">OpsGenie
|
||||||
|
API</a> token.</p>
|
||||||
|
|
||||||
|
<h2 id="keyboard-commands">Keyboard Commands</h2>
|
||||||
|
|
||||||
|
<p>None.</p>
|
||||||
|
|
||||||
|
<h2 id="configuration">Configuration</h2>
|
||||||
|
|
||||||
|
<pre><code class="language-yaml">opsgenie:
|
||||||
|
enabled: true
|
||||||
|
position:
|
||||||
|
top: 2
|
||||||
|
left: 1
|
||||||
|
height: 2
|
||||||
|
width: 1
|
||||||
|
refreshInterval: 21600
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h3 id="attributes">Attributes</h3>
|
||||||
|
|
||||||
|
<p><code>enabled</code> <br />
|
||||||
|
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||||
|
Values: <code>true</code>, <code>false</code>.</p>
|
||||||
|
|
||||||
|
<p><code>position</code> <br />
|
||||||
|
Defines where in the grid this module’s widget will be displayed. <br /></p>
|
||||||
|
|
||||||
|
<p><code>refreshInterval</code> <br />
|
||||||
|
How often, in seconds, this module will update its data. <br />
|
||||||
|
Values: Any positive integer, <code>0...n</code>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -64,7 +64,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
@ -108,6 +108,8 @@
|
|||||||
<p>Displays some general information about the state of the machine’s wifi
|
<p>Displays some general information about the state of the machine’s wifi
|
||||||
connection, firewall, and DNS settings.</p>
|
connection, firewall, and DNS settings.</p>
|
||||||
|
|
||||||
|
<p><img src="/imgs/modules/security.png" width="320" height="192" alt="security screenshot" /></p>
|
||||||
|
|
||||||
<h4 id="wifi-network">Wifi Network</h4>
|
<h4 id="wifi-network">Wifi Network</h4>
|
||||||
|
|
||||||
<ul class="list-ornate">
|
<ul class="list-ornate">
|
||||||
@ -128,8 +130,6 @@ connection, firewall, and DNS settings.</p>
|
|||||||
<li>Which <a hre="https://developers.cloudflare.com/1.1.1.1/what-is-1.1.1.1/">DNS resolvers</a> (servers) the machine is configured to use</li>
|
<li>Which <a hre="https://developers.cloudflare.com/1.1.1.1/what-is-1.1.1.1/">DNS resolvers</a> (servers) the machine is configured to use</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><img src="/imgs/modules/security.png" width="320" height="192" alt="clocks screenshot" /></p>
|
|
||||||
|
|
||||||
<h2 id="location">Location</h2>
|
<h2 id="location">Location</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">wtf/security
|
<pre><code class="language-bash">wtf/security
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>http://wtfutil.com/posts/modules/opsgenie/</loc>
|
||||||
|
<lastmod>2018-05-08T20:53:40-07:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>http://wtfutil.com/posts/modules/security/</loc>
|
<loc>http://wtfutil.com/posts/modules/security/</loc>
|
||||||
<lastmod>2018-05-08T20:33:28-07:00</lastmod>
|
<lastmod>2018-05-08T20:33:28-07:00</lastmod>
|
||||||
@ -39,7 +44,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>http://wtfutil.com/posts/</loc>
|
<loc>http://wtfutil.com/posts/</loc>
|
||||||
<lastmod>2018-05-08T20:33:28-07:00</lastmod>
|
<lastmod>2018-05-08T20:53:40-07:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -50,7 +55,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>http://wtfutil.com/</loc>
|
<loc>http://wtfutil.com/</loc>
|
||||||
<lastmod>2018-05-08T20:33:28-07:00</lastmod>
|
<lastmod>2018-05-08T20:53:40-07:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/" class="disabled">Google Calendar</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/" class="disabled">Jira</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/" class="disabled">New Relic</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/" class="disabled">OpsGenie</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/textfiles/" class="disabled">Text Files</a></li>
|
||||||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/" class="disabled">Todo</a></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user