Setup from file
Set up all of VitalRix from one YAML file
Write your setup once: applications, monitors, alerts, channels, on-call, SLOs, status pages, dashboards, infrastructure agents, people and settings. Upload it, see exactly what will change, and apply. No forms.
5 min read7 sectionsUpdated
On this page
How it works
- Write or download a file. Start from the template in Settings › Setup from file: it has an example of every section. Three lines are enough to begin (
version,siteandalert_email). - Check and preview. VitalRix reads the file, checks every field, every name it refers to, your plan and your permissions, and shows what will be created, updated or left alone. Nothing has changed yet.
- Enter secrets. Anything written as
${NAME}, such as a PagerDuty key or a Slack webhook, is entered in a password field. - Apply. Objects are created in the right order, so an alert can name the monitor and the channels it uses. New API keys and webhook signing secrets are shown once.
version: 1
monitors:
- name: Checkout API
type: api
url: https://api.example.com/health
interval: 5m
expect: { status: 200, response_time_below: 2s }
channels:
- { name: Team email, type: email, to: [ops@example.com] }
- { name: Pager, type: pagerduty, integration: PagerDuty }
integrations:
- { name: PagerDuty, kind: pagerduty, credentials: { routingKey: "${PD_ROUTING_KEY}" } }
alerts:
- name: Checkout API is down
when: { monitor: Checkout API, condition: down, failures: 2 }
notify: [Team email, Pager]
status_pages:
- { name: Shop status, slug: shop-status, components: [{ name: Checkout, monitor: Checkout API }] }What one file can set up
Every part of VitalRix you would otherwise configure by hand has a section. Objects refer to each other by name, and sections are applied in order, so you never need an id.
| Area | Sections |
|---|---|
| Organization | applications, roles, teams, members (invitations), organization name, usage controls, single sign-on |
| Monitoring | monitors (all 14 types), alerts (short form or any rule type), mute windows |
| Notifications | integrations (Slack, PagerDuty, Opsgenie, Jira, GitHub, AWS, GCP…), channels, outgoing webhooks |
| Response | on-call schedules, escalation policies, escalation channels |
| Reliability | SLIs, SLOs with burn-rate alerts, SLAs |
| Real users | RUM sites with session replay (applying shows the script tag) |
| Publish and explore | status pages and components, dashboards, notebooks |
| Access | API keys (shown once after applying) |
| Infrastructure | the infra agent for an application: its API key and a ready install script for servers, Docker or Kubernetes |
Built to be safe to run
A configuration tool that half-applies a file is worse than a form. Setup from file is designed so the account is never left halfway.
Nothing changes until the file is valid
YAML syntax, every field, every name reference, names that already exist in your account, plan limits and permissions are all checked before anything is written. You get the full list of problems at once, each with its line.
All or nothing
If a service refuses something while applying, every object that apply created is removed again, newest first, and the reason is shown.
Secrets stay out of the file
Secrets are written as ${NAME} references. A token typed in clear text is refused. Values go straight to the service that uses them and are stored encrypted.
Same permissions as the app
Every object is created with your own permissions and plan, and recorded in the audit log. A role can only grant permissions you already have.
Repeatable
Objects created by a file are remembered by name. Applying the same file again changes nothing; changing a value updates only that object.
Careful with risky settings
Single sign-on is saved but never enforced from a file, so a wrong setting cannot lock anyone out. You turn enforcement on after a test sign-in.
What stays with you
Some steps can only be done by you. The file sets up everything around them, and the result says what is left.
| Step | Why it is yours |
|---|---|
| Payment | A paid plan is your decision. On the Free plan the preview shows what goes over its limits. |
| Running the agent | Servers, Kubernetes clusters and your code are yours: VitalRix has no access to them. The file creates the agent key and gives you a ready install script to copy and paste, plus the CPU, memory and pod alerts and the dashboards. |
| DNS records | Single sign-on domains and custom status page domains need a record in your DNS. The result shows exactly which one. |
| Invitations | People listed under members who are not in the organization get an invitation email when you apply. |
Do I need to know YAML?
Only the basics. Start from the template in Settings › Setup from file: every section has a commented example, and the preview tells you the line of any mistake.
What happens if a name already exists in my account?
If the object was not created by a setup file, the upload stops and nothing is changed. Rename it in the file, or remove the old one in the app first. Objects created by an earlier apply are updated instead.
Are objects I remove from the file deleted?
No. Removing something from the file leaves it in your account. Delete it in the app when you no longer need it.
Can it install the agent on my servers?
Almost. VitalRix has no access to your machines, so it cannot run anything there. Add an infrastructure entry and, after applying, you get a ready install script with the agent key in it: copy and paste it on your servers, into your Dockerfile or into your cluster. The script is shown once.
Does it work on the Free plan?
Yes. The preview checks your plan, so a file that asks for more monitors, a shorter interval or a paid feature than your plan allows is stopped before anything is created.
Where do I find the full reference?
In the guide on docs.vitalrix.com, which lists every section, what the preview checks and the steps that stay with you.
Related reading
- Let your AI agent debug production, safely: Give Claude Code, Cursor and other AI agents your incidents, logs, traces and stack traces: read-only by default, secrets masked, every call audited.
- OpenTelemetry: Send traces and metrics with standard OpenTelemetry SDKs or a Collector using one endpoint and an API key. No proprietary agent and no lock-in.
- A Freshping alternative: VitalRix vs Freshping: Looking for a Freshping alternative? Compare uptime checks, status pages, alerts and on-call in VitalRix with Freshping, and how to move your monitors.
- A HetrixTools alternative: VitalRix vs HetrixTools: VitalRix vs HetrixTools: uptime and server monitoring, blacklist checks, status pages and alerts compared, plus APM, logs and on-call in one platform.
- A Site24x7 alternative: VitalRix vs Site24x7: VitalRix vs Site24x7: website, server and application monitoring compared, with OpenTelemetry-native APM, real-user data, on-call and status pages.
- A Better Stack alternative: VitalRix vs Better Stack: VitalRix vs Better Stack: uptime, incidents, status pages and logs compared, plus APM, real-user monitoring, SLOs and when each fits better.
Set up your monitoring in minutes
Create a free account, open Settings › Setup from file and start from the template.