A Terraform provider for managing NodePing monitoring resources
open sourceMPL-2.0self-hostablefree
This community Terraform provider manages NodePing checks, contacts and contact groups as code through NodePing's API, published as stefang-kahoot/nodeping on the Terraform Registry. Its README says it's a fork of phizzl/terraform-provider-nodeping that carries fixes found while bringing an existing NodePing estate under Terraform, mostly to how import and refresh read back what NodePing stores. It supports all 30-plus NodePing check types with notification schedules and dependencies, contacts with email, SMS, webhook, Slack, Pushover, PagerDuty and voice addresses, SubAccounts through provider aliases, and import of every resource by its NodePing ID. A plan setting makes the plan fail when a configuration uses a feature the account's NodePing plan lacks, and data sources list or filter existing checks and contacts. It's maintained by one developer and isn't an official NodePing or HashiCorp provider.
Problems it solves
- manage our uptime checks as code so they're reviewed in pull requests like the rest of our infrastructure
- import hundreds of existing NodePing checks into Terraform state without recreating them
- create a monitoring check for every new service automatically when Terraform provisions it
- keep alert contacts, SMS numbers and on-call groups in version control
- manage monitoring checks across several customer SubAccounts from one Terraform configuration
- suppress alerts for services behind a router when the router itself is down
- Terraform plan should fail when a check uses a feature our monitoring plan doesn't include
- list existing HTTP checks with a data source to audit their settings
- manage SSL certificate expiry checks for all our domains in Terraform
Features
- nodeping_check resource for all 30+ NodePing check types
- nodeping_contact resource with email, SMS, webhook, Slack, Pushover, PagerDuty and voice addresses
- nodeping_contactgroup resource bundling contact addresses
- data sources for one or many checks, contacts and contact groups, with filters
- notification schedules, delays and dependencies between checks
- SubAccount support through provider aliases and customer_id
- import of every resource by its plain NodePing ID, including from SubAccounts
- plan setting that rejects features the NodePing plan lacks
- built-in rate limiting and retries
- API token, contact addresses and check passwords marked sensitive
Alternatives
The same job
These do what Terraform Provider for NodePing (stefang-kahoot) does.
- Terraform Provider for updown.io (mvisonneau) Terraform provider for updown.io
Compare Terraform Provider for NodePing (stefang-kahoot) with the top 3
