Skip to content

A very simple role to pause and start uptimerobot monitors.

License

Notifications You must be signed in to change notification settings

while-true-do/ansible-role-uptimerobot

Build Status

Ansible Role: Uptimerobot

| A very simple role to pause and start Uptimerobot monitors.

Motivation

Uptimerobot is a free monitoring tool with an integrated status-page and lots of monitor capabilities. Pausing and Starting the monitors during ansible runs is a key feature of maintenance windows to avoid unwanted alerts.

Installation

Install from Ansible Galaxy

ansible-galaxy install while_true_do.uptimerobot

Install from GitHhub

git clone https://github.com/while-true-do/ansible-role-uptimerobot.git while_true_do.uptimerobot

Requirements

Valid Uptimerobot Account and API Key.

Used Modules:

Dependencies

None.

Role Variables

You have to set the following variables to use this role.

# defaults/main.yml

wtd_utr_api_key: ''
wtd_utr_monitor_id: []
wtd_utr_monitor_state: ''
# You can set this to false, if you are using pre_task/post_task in your play.
wtd_utr_flush_handlers: 'true'

Testing

All tests are located in test directory.

Basic testing:

bash ./tests/test-spelling.sh
bash ./tests/test-ansible.sh

Contribute / Bugs

Thank you so much for considering to contribute. Every contribution helps us. We are really happy, when somebody is joining the hard work. Please have a look at the links first.

License

This work is licensed under a BSD License.

Author Information

Blog: blog.while-true-do.org

Mail: hello@while-true-do.org

About

A very simple role to pause and start uptimerobot monitors.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages