uptimeify_report
A scheduled fleet report of the organization (mail, optionally with PDF). Unset optional attributes take the server default on create and keep their value afterwards. Import with the report id (UUID).
A scheduled fleet report of the organization (mail, optionally with PDF). Unset optional attributes take the server default on create and keep their value afterwards. Import with the report id (UUID).
Example Usage
resource "uptimeify_report" "weekly" {
name = "Weekly fleet report"
frequency = "weekly"
weekday = 1
send_hour = 7
format = "email_pdf"
recipient_emails = ["ops@example.com"]
}Schema
Required
name(String)
Optional
day_of_month(Number) 1-28. Required for monthly reports.enabled(Boolean) Defaulttrue.format(String)emailoremail_pdf(default).frequency(String)daily,weeklyormonthly(default). Weekly needsweekday, monthly needsday_of_month.group_by_customer(Boolean) Group by customer. Defaultfalse.inclusion_mode(String)all(default),problemsorthreshold.monitor_types(List of String) Monitor types in the report (default: all ten).problem_signals(Attributes) What counts as a problem forinclusion_mode = "problems". (see below for nested schema)recipient_emails(List of String)recipient_user_ids(List of String) Logins of the organization (uptimeify_user.id).scope_customer_ids(List of Number) Customers forscope_mode = "customers".scope_mode(String)all(default),customersortags.scope_tag_ids(List of Number) Tags forscope_mode = "tags".sections(Attributes) Report sections (default: all on exceptgroup_by_customer). (see below for nested schema)sections_by_type(Map of Map of Boolean) Per monitor type section switches, e.g.{ website = { sslExpiry = false } }(server-side key names).send_hour(Number) Hour of day 0-23 intimezone. Default 2.send_when_empty(Boolean) Send even when nothing qualifies. Defaultfalse.threshold_response_gt(Number) Response time in ms forinclusion_mode = "threshold".threshold_uptime_lt(Number) Uptime percentage forinclusion_mode = "threshold".timezone(String) IANA time zone. DefaultEurope/Berlin.weekday(Number) 0-6, 0 = Sunday. Required for weekly reports.
Read-Only
created_at(String)id(String) Report id (UUID).
Nested Schema for problem_signals
Required:
incident(Boolean)response_breach(Boolean)
Optional:
downtime_minutes(Number)ssl_days_lt(Number)
Nested Schema for sections
Required:
fleet_summary(Boolean)group_by_customer(Boolean)incident_log(Boolean)per_site_table(Boolean)ssl_expiry(Boolean)worst_performers(Boolean)
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# Report id (UUID)
terraform import uptimeify_report.weekly 0b5f7a3e-1c2d-4e5f-8a9b-0c1d2e3f4a5buptimeify_organization_settings
Settings of the token's own organization (one per organization): name, billing address, MFA policy, SMS overage cap and notification defaults for new customers. Only the attributes you set are managed and sent, and only when they differ from the stored value. Creating it adopts the organization; destroying it only removes it from the state, nothing is reset. Plan, quota and payment are not managed here. Import with any id, e.g. org.
uptimeify_smtp_monitor
An SMTP monitor: connects and authenticates (check_mode protocol) or only checks the port (tcp). The hostname must resolve to a public address. Import with the numeric id or the public id.