Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
Oh Dear
I want to use the Pulumi Oh Dear package (ohdear) in my project.
## Provider details
- Package: ohdear
- Version: v1.0.0
- Publisher: Matthias Hamacher
- Source: pulumi
- Repository: https://github.com/matthiashamacher/pulumi-ohdear
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/matthias_hamacher/ohdear/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/matthias_hamacher/ohdear/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/matthias_hamacher/ohdear/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/matthias_hamacher/ohdear/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
The Oh Dear provider for Pulumi lets you manage Oh Dear website monitoring in code: monitors, status pages, tags and tag groups, and notification destinations.
It talks to the Oh Dear API directly and is authenticated with a single API token sent as a Bearer token on every request.
Example
import * as ohdear from "@matthiashamacher/ohdear";
// Monitor a website with the uptime and certificate checks.
const site = new ohdear.Monitor("docs", {
url: "https://example.com",
teamId: 1,
type: "http",
checks: ["uptime", "certificate_health"],
tags: ["production"],
});
// Group related tags together.
const envs = new ohdear.TagGroup("environments", {
teamId: 1,
label: "Environments",
tags: ["production", "staging"],
});
// A public status page that lists the monitor.
const status = new ohdear.StatusPage("public", {
teamId: 1,
title: "Example Status",
monitors: [{ id: site.monitorId, clickable: true }],
});
// Email alerts for the monitor.
const alerts = new ohdear.NotificationDestination("email", {
level: "monitor",
ownerId: site.monitorId,
channel: "mail",
destination: { mail: "alerts@example.com" },
notificationTypes: [
"HttpUptimeCheckFailedNotification",
"HttpUptimeCheckRecoveredNotification",
],
});
Resources
| Resource | Purpose |
|---|---|
Monitor | A monitored URL or host (http, ping, tcp, ai) and its checks. |
CronCheck | A cron job monitor on a Monitor; ping its URL on each successful run. |
RecurringMaintenancePeriod | A recurring maintenance schedule (daily, weekly or monthly) for a Monitor. |
Tag | A tag used to organize monitors. Create-only upstream. |
TagGroup | A named group of tags, with wildcard matching. |
StatusPage | A public status page and the monitors shown on it. |
NotificationDestination | Where alerts are delivered, scoped to a team, monitor, tag or tag group. |
See the Installation & Configuration tab for setup and the API Docs tab for the full input and output reference of each resource.
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
published on Tuesday, Sep 1, 2026 by Matthias Hamacher