On this page

Pharos documentation v1.4.2

Pharos documentation

Reference for Pharos 1.4.2. Start with the installation guides and searchable documentation. This complete reference keeps existing section links working.

What Pharos is

Pharos is a self-hosted status page that runs its own checks. It polls HTTP endpoints, TCP ports and DNS records, watches certificate expiry, listens for heartbeats from jobs it cannot see from outside, and sets component status without anyone pressing a button. A failing check opens an incident and posts the first update; a recovered check closes it and posts the closing update. It speaks the Cachet 2.x API shape on purpose, so scripts written against Cachet keep reading it unchanged.

It is made for hosting companies, agencies and SaaS teams that want their own status page on their own server or hosting: compatible PHP 8.3 hosting with cron, or Docker.

Pharos public status page showing the current state, one chart with the past 90 days of every service, a scheduled maintenance notice and the incident log
The public status page. The current state at the top, one chart with the past 90 days of every service, each day coloured by what happened, and the incident log below it. Every section is a switch you control. The data here is a demo.
PHP8.3 or newer, on a current patch release: 8.3.36, 8.4.27, 8.5.12 or later fix two critical PHP vulnerabilities from 21 October 2026. The Docker image runs PHP 8.5.
DatabaseSQLite (default) or MySQL
Extensionspdo_sqlite (plus pdo_mysql for MySQL), mbstring, openssl, sodium, zip, curl, fileinfo, tokenizer, xml, ctype, json. The installers check every one before writing anything. HTTP checks need allow_url_fopen on.
Web serverServe only the public files. The web installer copies them into the existing document root; SSH/manual installs point the root at public/. Apache needs mod_rewrite; nginx needs equivalent routing.
Runs onA compatible host with PHP 8.3+, required extensions, writable storage, outbound HTTPS and cron (cPanel, DirectAdmin, Plesk or a plain VPS), or Docker

A health endpoint is available at /up.

How Pharos is organised

Four things nest inside each other. Knowing which is which makes every other screen easier to read.

ThingWhat it isExample
Status pageOne public page with its own address, services, incidents, subscribers, branding and notification destinations. One installation can hold several.Northwind Hosting
ServiceA heading visitors recognise. It groups components and shows the worst status among them. It can be hidden from the public page while its checks keep running.Website
ComponentOne row with a status: Operational, Degraded performance, Partial outage, Major outage or Under maintenance. Incidents, uptime and subscriptions attach to components.Customer portal
CheckWhat sets the status of one component by itself: an HTTP, TCP, DNS or heartbeat check. A component can also be set from outside (the API, Uptime Kuma, Alertmanager, Grafana) or by hand.HTTP GET on https://portal.example.com/health

So a status page holds services, a service holds components, and a component has at most one check. A component does not have to sit in a service: it then shows as a row of its own.

The API says "groups" where the admin says "services". The API follows Cachet, which called services component groups: they live under /api/v1/groups, and a component names its service in group_id. On the public page the Choose services list of the subscribe form holds the components.

Install on cPanel, DirectAdmin, Plesk or compatible PHP hosting

Three ways in, one result: the application lives outside the web root, only its public files are served by the web server, and one cron line runs every minute. Pick the way that fits your host: no SSH, SSH, or by hand. Prefer containers? Skip to Docker. Every path downloads the same signed release: the installer verifies the Ed25519 manifest and the SHA-256 before it unpacks a single file.

Plesk is documented, not verified. cPanel and DirectAdmin are verified on live hosts. The Plesk steps on this page are written down, but they have not been run on a live Plesk server yet. Try them on a test domain first, and see the Plesk procedure below.

A. Without SSH: the web installer (cPanel, DirectAdmin, Plesk)

Download the installer

One PHP file you upload next to your site. It checks the server, downloads the signed release, verifies it, sets up the database and shows the one cron line, then removes itself. It walks through seven steps: Unlock, Check the server, Download, Configure, Scheduler, and then Your account and Done inside Pharos. Each step also works without JavaScript; with it, long steps show live progress.

  1. Download pharos-install.php and upload it into the document root of the domain you want the status page on: File Manager, then public_html or the subdomain's folder.
  2. Unlock. Open https://status.example.com/pharos-install.php and unlock it with the private installation key from the file shown on screen, using your hosting File Manager. Keep this key for the account step.
  3. Check the server. PHP 8.3+, extensions, writable folders and access to the release server, grouped with a fix for cPanel, DirectAdmin and Plesk where something is missing. Nothing is written yet.
  4. Download fetches the release, checks the signed manifest and the checksum, unpacks the application into a private pharos-app-<domain-id> folder next to the web root, never inside it, and copies public/ into the document root with an index.php that points at the app. No document root change is needed, and .env is never reachable from the web.
  5. Configure asks for the site address, detected from the page, and the database: SQLite is recommended and needs nothing from your host; MySQL or MariaDB has a Test connection button. Save settings and set up the database writes .env with a fresh key and runs the migrations.
  6. Scheduler shows the one line with the right PHP binary for your host. Add it under Cron Jobs (cPanel, DirectAdmin) or Scheduled Tasks (Plesk); the screen turns green by itself on the first run. It also shows your installation key once more, with a Copy button. Continue to your account deletes the installer file and opens step 6 in Pharos.
  7. Your account and Done happen in Pharos. Step 6: paste the installation key, name the status page, pick the time zone and create your administrator with Create my account and finish. Step 7 shows the version, address, database and scheduler state, and opens Pharos.

The installer keeps whatever your panel already put in .htaccess (PHP handler, ini blocks) and adds Pharos's rules underneath, including DirectoryIndex index.php so a placeholder index.html from the panel does not shadow the page. A half-finished install resumes where it stopped; a finished one refuses to run twice.

Step 1 of 7 of the web installer: where to find the private installation key, with a Copy path button, and the field to paste it.
Step 1, Unlock. Open the file shown on screen in your hosting File Manager and paste its key. You paste the same key once more when you create your account.
Step 2 of 7, the server check: all 17 checks passed for PHP, the folders, the extensions, the release server and PHP for cron.
Step 2, Check the server. PHP, extensions, folders, the release server and PHP for cron in one view. Nothing is written yet; fix what is red, then press Download the release.
Step 3 of 7, the download: the signed release fetched, signature and checksum verified, every file unpacked and the public folder copied.
Step 3, Download. Signature, checksum and unpack each confirmed. The app went to a private pharos-app-<domain-id> folder, public/ into the web folder.
Step 4 of 7, configure: the site address detected from the page, SQLite recommended or MySQL or MariaDB, and the button Save settings and set up the database.
Step 4, Configure. The site address and the database. SQLite is one file next to the app; MySQL or MariaDB suits hosts where you already manage databases. Save settings and set up the database takes a few seconds.
Step 5 of 7, the scheduler: one cron line with a Copy button, a confirmation that the scheduler ran, where to add it in cPanel, DirectAdmin and Plesk, and the installation key to copy.
Step 5, Scheduler. The one cron line, with the PHP binary that matches the version the installer found, and where to add it in your panel. The first run is confirmed by itself. Continue to your account deletes the installer and opens step 6 in Pharos.

B. With SSH: one command

curl -fsSL https://pharos.solutionmax.net/get | sh -s -- --php --url https://status.example.com

The script reads the machine (PHP version and extensions), verifies the manifest and the archive, unpacks into ~/pharos-app (change it with --dir), writes .env, migrates, links storage and adds the cron line to your crontab with the PHP binary pinned to the version it found. Where it cannot write the crontab (DirectAdmin's jailed shell, for one), it prints the line for you to add in the panel. Read it first if you like: curl -fsSL https://pharos.solutionmax.net/get | less.

Then point the document root at ~/pharos-app/public. Unlike the web installer, the script does not touch your web folder. This is the one step it leaves to you:

  • cPanel: Domains → Manage → Document Root. Over SSH, for a subdomain: uapi SubDomain changedocroot domain=status.example.com docroot=pharos-app/public.
  • DirectAdmin: Domain Setup if your host lets you set a document root. Most do not for user accounts; then replace the web folder with a link, which DirectAdmin's Apache follows: cd ~/domains/status.example.com && mv public_html public_html.orig && ln -s ~/pharos-app/public public_html
  • Plesk: Hosting Settings → Document root → pharos-app/public.
  • Your own server: an nginx or Apache vhost with its root at /home/you/pharos-app/public, PHP-FPM 8.3, and every unknown path rewritten to index.php; the .htaccess in public/ does that on Apache.

Apache and LiteSpeed pick the new root up within a minute. Open the site: the setup form appears. Never set the document root to ~/pharos-app itself: that exposes your .env.

Updating is the same command again: the script hands over to Pharos's own updater, which backs the current version up first. The Updates screen in the admin does the same with a button.

A terminal running the get script: system detected, manifest signature valid, PHP checked, archive downloaded and verified, unpacked, installation key shown, database migrated, cron task configured, then the document root instructions per panel.
The SSH route, start to finish. Same release, same checks; the last lines are the document root step for your panel.
Step 6 of 7, inside Pharos: installation key, status page name, time zone, your name, email and password, and the button Create my account and finish.
Step 6, Your account. Either way it ends here. Paste the installation key, name the status page, pick the time zone and create the first administrator. This screen disappears the moment the account exists; step 7, Done, opens Pharos.

Installing a specific version

Both installers take the newest release from /releases/latest.json unless you pin one, to reproduce something, or to walk through an update yourself:

curl -fsSL https://pharos.solutionmax.net/get | sh -s -- --php --url https://status.example.com --version 1.4.2
https://status.example.com/pharos-install.php?version=1.4.2

A pinned install reads pharos-<version>.json, the manifest signed for that exact release; a version that was never published fails cleanly. Each release on the releases page also carries its own pre-pinned copy of the web installer, pharos-install-<version>.php, for when a query string is awkward. Afterwards the Updates screen offers the newest release as usual. Pharos never downgrades on its own: to go back, use Roll back under Updates, restore a verified backup. The get --version option is for new installations and refuses to overwrite an existing PHP install.

C. By hand

If you would rather not run either installer, it is a standard PHP 8.3 application:

git clone https://github.com/solutionmax/pharos.git ~/pharos && cd ~/pharos
composer install --no-dev --optimize-autoloader
cp .env.example .env && php artisan key:generate
touch database/database.sqlite && chmod -R 775 storage bootstrap/cache database
php artisan migrate --force && php artisan storage:link
php artisan config:cache && php artisan route:cache && php artisan view:cache

Set at least APP_ENV=production, APP_DEBUG=false, APP_URL and DB_CONNECTION=sqlite in .env, point the document root at ~/pharos/public as in B, and add the cron line below. Run php artisan optimize:clear after any .env change.

SQLite needs a writable directory, not just a writable file. It writes its journal next to the database, so permissions on the folder matter as much as on the file itself.

The first browser visit shows the setup form. From the command line instead: php artisan pharos:user you@example.com --name="Your Name" prints a generated password once, updates an existing account rather than failing, and is also how you get back in if you lock yourself out.

Plesk: the documented procedure

This is the procedure for Plesk as it is written down for 1.0. It has not been verified on a live Plesk server, so read it as steps to test, not as a tested route.

  1. Select PHP 8.3 or later for the domain. Enable cURL, mbstring, OpenSSL, sodium, PDO SQLite (or PDO MySQL), XML and DOM, fileinfo, GD and ZIP.
  2. Unpack the release zip from the releases page into pharos-app/ under the site's own system user, then set Hosting Settings → Document root to pharos-app/public.
  3. Copy .env.example to .env. Set the HTTPS address of the site, APP_DEBUG=false and the database. Then run, as that site's user:
    php artisan key:generate --force
    php artisan migrate --force
    php artisan storage:link
  4. Give that user write access to storage/ and bootstrap/cache/. Do not use world writable permissions. Nothing outside public/ may be reachable from a browser: not .env, not vendor/, not the database.
  5. Add a Scheduled Task that runs every minute as the site user:
    /opt/plesk/php/8.3/bin/php /var/www/vhosts/example.com/pharos-app/artisan schedule:run
  6. Finish the account setup in the browser. Then prove the basics on that host: an HTTP check, a confirmation mail that arrives, a maintenance window, a backup, an update and a rollback. Check that the scheduler's last run is current.

The documented rollback is the same as on other PHP hosts: restore the files and the database that belong together. See Updates. It has not been verified on a live Plesk server either.

The one cron line

Everything time-based hangs off one scheduled command. Both installers give you the exact line; by hand, add a job that runs every minute (cPanel Cron Jobs, DirectAdmin Cron Jobs, Plesk Scheduled Tasks). In the panel's form the five stars go in the time fields and the rest in the command field:

* * * * * cd /home/you/pharos-app && php artisan schedule:run >/dev/null 2>&1

If your host's default php is not 8.3, use the full path to the 8.3 binary. cPanel exposes it as /opt/cpanel/ea-php83/root/usr/bin/php or /opt/alt/php83/usr/bin/php, and DirectAdmin as /usr/local/php83/bin/php. The documented path for Plesk is /opt/plesk/php/8.3/bin/php; like the rest of the Plesk steps it has not been verified on a live Plesk server. Pharos shows a warning in the admin until it sees the first run; verify by hand with php artisan pharos:check --force.

With SSH you do not have to type the line yourself. Run these from the application folder:

php artisan pharos:cron            # print the line for this install
php artisan pharos:cron --install  # add it to this user's crontab, other tasks stay

That one line drives everything Pharos does on a clock:

WhenWhat runs
Every minuteDue checks, uptime for services that are reported from outside, maintenance windows, subscriber mail, outgoing notifications, and the worker for a probe location when this install is one.
Daily, 02:45 UTCRemote backups, when a destination is set.
DailyPruning: the audit log, raw check results, and probe results.

No cron on your host at all? An outside service can call Pharos over HTTPS every minute. See Web cron. Real cron stays the better choice wherever you have it.

Install with Docker

The short way: curl -fsSL https://pharos.solutionmax.net/get | sh on a host with Docker (it offers to install Docker if it is missing) writes a compose file and a fresh APP_KEY, pulls the image and brings the two containers up. By hand: Two containers from the same image, ghcr.io/solutionmax/pharos (one tag per release plus :latest, linux/amd64 and linux/arm64): Apache with mod_php serving the app, and a second one running the scheduler. They share the database and storage volumes.

git clone https://github.com/solutionmax/pharos.git && cd pharos
cp .env.docker.example .env
docker run --rm php:8.5-cli php -r "echo 'base64:'.base64_encode(random_bytes(32)).PHP_EOL;"

Paste that whole string, including the base64: prefix, into APP_KEY=. Compose refuses to start without it. Then:

docker compose up -d
docker compose exec app php artisan pharos:user you@example.com --name="Your Name"

docker compose up -d pulls the tagged image, or builds it from the checkout when the registry image is not reachable.

The app answers on port 8080 of the host (PHAROS_PORT changes that), over plain HTTP. For a real address, put a reverse proxy with a certificate in front of it and set APP_URL to the HTTPS address. The installer takes that address up front: curl -fsSL https://pharos.solutionmax.net/get | sh -s -- --docker --url https://status.example.com. See Custom domain and HTTPS for a Caddy and an nginx example.

Updating is docker compose pull && docker compose up -d. Inside a container Pharos does not replace its own files: the Updates screen says the install is managed from the host and shows that command. Pin a release with PHAROS_VERSION=1.4.2 in .env; docker compose up -d --build builds the same image from the checkout when you would rather not pull it. The installer does the same on its own: it pulls the image and only builds it from the signed release archive when the registry cannot be reached.

There is no separate migrate step. The entrypoint runs migrations on every container start, clears the caches and rebuilds them, and for SQLite fixes the database directory's ownership.

The scheduler container must stay up. If you scale it to zero, nothing is checked and every component freezes at whatever status it last had, which looks exactly like everything being fine.

Custom domain and HTTPS

Pharos does not set up DNS records or certificates. Your hosting panel or your reverse proxy does that; Pharos only needs to know the address people use. That address is APP_URL in .env. Every link Pharos builds comes from it: in mails to subscribers, in the feed, the badges, the widget and the notifications to your team. An install left on http://localhost sends links that work for nobody.

  • The main address is APP_URL. The admin, the API and the default status page live there. Other pages are at /status/{slug} on the same address.
  • A custom domain is optional, per status page. It serves only the public page of that one status page. The admin and the API stay on the main address, and a host name Pharos does not know answers 404.

On cPanel or DirectAdmin

  1. Point the DNS of the status domain at the hosting server, usually with an A record. Where your host also runs your DNS, creating the domain or subdomain in the panel does this for you.
  2. Get the certificate. cPanel: SSL/TLS Status, then Run AutoSSL. DirectAdmin: SSL Certificates, the free and automatic certificate from Let's Encrypt. Both renew by themselves, but only once the DNS points at the server.
  3. Send plain HTTP to HTTPS: Force HTTPS Redirect under Domains in cPanel, Force SSL with https redirect under Domain Setup in DirectAdmin.
  4. Make sure APP_URL is the https:// address. The web installer takes the address from the page you opened it on, so install over HTTPS if you can. To change it later, edit .env; run php artisan optimize:clear when the configuration is cached, as after a manual install.

For a custom domain of a second status page, add that domain to the same hosting account with the same document root as the status domain (an alias in cPanel, a domain pointer in DirectAdmin), let AutoSSL cover it, and then tell Pharos, as described below.

Docker behind a reverse proxy

The container speaks plain HTTP on port 8080. Let a reverse proxy on the same host hold the certificate and pass requests on. Publish the port on the loopback address only, so nothing but the proxy reaches the container:

APP_URL=https://status.example.com
PHAROS_PORT=127.0.0.1:8080
TRUSTED_PROXIES=172.18.0.1

TRUSTED_PROXIES is the address the proxy connects from, as the container sees it: one address, a CIDR, or several separated by commas. For a proxy on the same host that is the gateway of the Docker network; docker network inspect shows it. Only then does Pharos believe the forwarded headers, see the visitor's IP address for its rate limits, and build https:// links. Leave it empty when no proxy is in front. Run docker compose up -d again after a change so the containers get the new values.

Caddy gets and renews the certificate by itself and sends the forwarded headers Pharos needs:

status.example.com {
    reverse_proxy 127.0.0.1:8080
}

With nginx, bring your own certificate (for example from certbot) and pass the host and scheme on:

server {
    listen 443 ssl;
    server_name status.example.com;
    ssl_certificate     /etc/letsencrypt/live/status.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/status.example.com/privkey.pem;

    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto https;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Port 443;
    }
}

The HTTPS proxy guide lists what to test afterwards: signing in, saving a component and the live preview, all through the public address.

A custom domain for a status page

  1. Point the domain at the same server and the same site as the main address, with a valid certificate. Opening https://status.customer.example must reach this installation.
  2. Under Installation → Status pages, open Edit on the page, type the host name only in Custom domain, tick DNS and TLS verified and press Save page. Only an administrator of the installation can do this.

From then on the page's address on the main domain sends visitors to the custom domain, always over https://. Confirmation and unsubscribe links in mails keep using the main address, so they survive a later change of domain. Do not use the main address itself as a custom domain.

Why passkeys need HTTPS

A browser only offers passkeys on a secure address with a host name, and a passkey belongs to that host name. Pharos takes the host name from APP_URL, and the admin only answers on that address. So passkeys work when APP_URL is an https:// address with a name, such as https://status.example.com. On plain HTTP or an IP address, people sign in with their password and the passkey buttons stay off. See Passkeys.

First run

Sign in at /admin/login. You land on the Overview of your status page: what the public page says right now, the key figures, 90 days of availability, services and the open incident.

The Overview of the Northwind Hosting page: a partial outage banner with 11 of 12 components operational, tiles for 90 day uptime, open incidents, the last 30 days and subscribers, the availability bar, services and the open incident with its timeline
Overview. The first screen after sign in, per status page. The sidebar groups This page (with the page selector) and Installation.

The Page health card on the Overview lists what the page still needs: whether it is published, its custom domain, email delivery, subscriptions, how many components are checked automatically and the Brand pack. Two hints help before visitors notice. Service names warns when a service or component is named like a check target (a link, a path, a file or a bare host name such as db01:5432): name things the way visitors know them. Subscriptions says why visitors cannot subscribe, either because subscribing is switched off or because mail is not set up.

Press Ctrl K or Cmd K, or click Search in the sidebar, to jump to any page, service, component, incident, maintenance window or admin screen. Results are grouped, show their page and status, and only cover the pages you hold a role on.

The search palette over the admin with the query web: six components, one incident and a maintenance window, each with its page tag and status
Search. Arrow keys to move, Enter to open, Esc to close. The current page comes first.

Create services first, the headings your customers read, then put components inside them.

A component with no service is still published. It appears on the public page as a row of its own, without a heading, and it counts toward the headline uptime figure. Put components in a service when you want them grouped under a name your customers know.

Choosing a source

The Source field says who sets the status, and with that whether a check exists at all:

SourceWho sets the statusUptime
HTTP or TCP checkPharos, with an HTTP, TCP or DNS check on your target and interval.Measured by the check
Heartbeat from your jobPharos, from a URL your job calls. The token is generated once and shown on the component.Measured by the check
Uptime Kuma, API or webhook, Upstream providerSomething outside Pharos writes it: the API, the Uptime Kuma endpoint, or an Alertmanager or Grafana alert. There is no check.Counted from the reported status
Manual onlyYou, in the admin.Not measured

You rarely have to pick the outside sources by hand. The first time the API, the Uptime Kuma endpoint or an alert receiver writes a status for a component that has no enabled check, Pharos marks it as set from outside by itself. A status you set by hand in the admin changes nothing, and a component with its own check is left alone. See Uptime for how reported time is counted.

Hidden service versus disabled component

 Service hiddenComponent disabled
Shown to customersNoNo
Checks keep runningYesNo
Counts toward the headline on the public pageNoNo
History keptYesYes

Hide a service to stop showing customers something you are still watching. Disable a component to stop watching it entirely while keeping its past.

How checks work

One command does all of it. The scheduler calls the plain form every minute; --force is the diagnostic tool.

php artisan pharos:check          # only checks that are due
php artisan pharos:check --force  # every enabled check, with output

The four probe types

TypeTargetUp when
HTTPA full URLThe response code is 200 to 399 and, when you set one, the expected text is in the response. Redirects are not followed. TLS is verified.
TCPhost:portThe socket connects.
DNSA record nameA record of the chosen type has the value you expect.
HeartbeatA generated tokenSomething called in within two intervals.

Expected text, DNS records and certificate expiry are covered under DNS, keyword and certificate checks. A check can also be run from other networks: see Probe locations. How long each run took is kept for the latency chart.

Private addresses

Since 1.2.0 only an administrator of the installation can point a check or a notification destination at a private address, such as a server on your own network. Page editors can only use addresses on the public internet, so a check cannot be used to scan the network Pharos runs in. To let editors use private addresses too, switch on Let page editors check private network addresses under Settings → General. This machine itself and link local addresses are refused for everyone.

Updating from 1.1 changes nothing for checks that already worked: when any check or destination of the installation already reached a private address, the update switches Let page editors check private network addresses on. Switching it off later stops the private checks and destinations that editors saved: such a check fails with Target is on a private network, which page editors may not check, so its component turns red like any other failing check, and such a destination stops delivering. To keep one, open it and save it again as an administrator of the installation.

What turns a component red

A component goes to Major outage once consecutive_failures reaches the check's retry count, two by default. One failure is never enough. The first healthy result flips it straight back to operational.

Since 1.2.4 a check that was healthy and misses is tried once more on the spot, and the miss only counts when the second try fails too. Most single misses are a lost packet between Pharos and the service, and each one drew a brief blip in the uptime bar. A check that is already failing is not tried twice, so an outage is noticed as fast as before. A heartbeat is never tried again: there is nothing to ask.

With the defaults, an HTTP, TCP or DNS target is red about two minutes after it starts failing. A heartbeat takes roughly two intervals plus one more run, because silence has to last before it means anything.

Two situations set Degraded performance instead of red. An HTTPS check that still answers but whose certificate has 3 days or less left, and a check with probe locations that has too few fresh results to decide. Neither opens an incident.

What opens and closes an incident

Crossing the retry threshold opens an incident named {component} unreachable, status Investigating, impact major, with one automatic update. A grouping key stops a second incident being opened while one is already open, and it is what powers the repeat outage counter on the incidents list.

The automatic update is written for visitors, in plain words and in the language of the status page, not in the words of the probe. A few examples:

  • Website did not answer within 10 seconds. We are looking into it.
  • Website answered with an error (HTTP 503). We are looking into it.
  • Website could not be reached (a problem with its security certificate). We are looking into it.
  • Nightly backup did not check in on time. We are looking into it.
  • Website is working again and has stayed up for 3 checks in a row.

The technical reason stays in the admin, next to the check. An incident keeps the text it was given, also when you change the page language later.

After three consecutive successful checks the incident closes itself and posts a closing update. A heartbeat closes it on the first check in that arrives in time. Incidents you created by hand are never closed by a check.

Since 1.2.4 such an incident runs from the first failed check to the first good one. Before, it started at the check that made Pharos sure and ended after the three good checks that confirmed the recovery, so a site that hung for two minutes was on record for four. The two automatic updates carry the same moments. Incidents that were already closed keep their times.

When the component sits in a hidden service, or is switched off, the incident a check opens is Internal: team only, so an outage nobody can see on the page is not announced there either. Your team still hears about it through notification destinations.

A slow answer counts too

Since 1.4.0 an HTTP or TCP check can carry a slow limit: a service that answers, but too slowly, is shown as degraded and not as healthy. Open the component and fill in three fields under How it is checked.

FieldMeaning
Slow above (ms)An answer that takes longer than this counts as slow, not as down. Empty means no limit, which is how every check starts.
Slow checks in a rowHow many slow answers in a row it takes. One slow answer changes nothing. The default is 3.
Then showThe status the component gets: Degraded performance or Partial outage.

After that many slow answers in a row the component gets the chosen status and Pharos opens an incident named {component} is responding slowly, with impact minor. It starts at the first slow answer. The component stays there until three answers in a row are fast again; then the incident closes by itself. One quick answer in between does not flip the page to green and back. The day shows as Slow in the uptime bar and costs no uptime: the service answered.

It costs the service no extra requests. The limit is judged on the response time that every check stores anyway. A check makes one request per interval, with or without a limit, and a slow answer is never asked again. The response time chart is drawn from the stored results, so opening it makes no request either. A server that limits connections per address sees no difference. On the component's edit screen the chart draws the limit as a dashed line and colours the part above it.

  • The time is measured from the server Pharos runs on and includes the DNS lookup, the TLS handshake and the whole answer. A slow route between Pharos and the service counts as slow, which is what the count in a row is for.
  • The limit has to stay below the check's timeout of 10 seconds; the form refuses a higher value.
  • With probe locations the majority still decides whether the service is up. Slow is judged on the response time this installation measured itself.
  • During planned maintenance a slow answer opens nothing.
  • If the service goes down during a slow spell, the outage gets its own incident. The slow one stays open until the answers are fast again.
  • Taking the limit away, or deleting the component, closes an open slow incident with a line that says why.
  • DNS and heartbeat checks have no limit.

Heartbeats

POST https://status.example.com/api/v1/heartbeat/hb_xxxxxxxxxxxxxxxxxxxxxxxx

No authentication header: the unguessable path is the credential, so a backup script needs no token. Call it only when the job actually succeeded:

# the status page hears about it only if restic exits 0
30 3 * * * restic backup /data && curl -fsS -m 10 -X POST \
  https://status.example.com/api/v1/heartbeat/hb_xxxxxxxx >/dev/null

Set the component's interval to the ping frequency. A job pinging every five minutes wants an interval of 300, which gives it a ten-minute grace period.

DNS, keyword and certificate checks

A check can do more than fetch a URL or open a port. An HTTP check can require a piece of text in the response, a DNS check compares a record with the value you expect, and every HTTPS check reads the expiry date of the certificate. You set all of it on the component: Services → Components, then Add a component or Edit, in the panel How it is checked.

The How it is checked card of a component: source, check type, interval, target, expected HTTP text, DNS record type and expected DNS value, the certificate expiry date, and the response time chart of the last 24 hours
One form for every check. Expected text applies to HTTP checks, record type and expected value to DNS checks. The certificate date appears once an HTTPS check has run.

Set Source to HTTP or TCP check, then choose the kind under Check: HTTP GET, DNS record or TCP port.

FieldUsed byWhat to enter
TargetAll threeA full URL for HTTP, host:port for TCP, the record name for DNS, for example example.com.
Interval (seconds)All threeHow often to look: 30 to 86400, 60 by default.
Expected HTTP textHTTPOptional. Up to 1000 characters that the response must contain.
DNS record typeDNSA, AAAA, CNAME, MX or TXT.
Expected DNS valueDNSRequired. The value one of the returned records must have.

The rules for going red are the same for every kind: two failures in a row turn the component red and open an incident, three healthy runs in a row close it. See How checks work.

Keyword checks

Fill in Expected HTTP text to check that a page shows what it should, and not only that the server answers. The check is up when the response code is 200 to 399 and the response contains the text exactly as you typed it, upper and lower case included. When the text is missing the check fails with the message Expected text is missing.

  • Redirects are not followed. Enter the address that serves the page itself, or Pharos looks for the text in the redirect response.
  • An HTTP check reads at most 1 MiB of the response. A larger response fails the check, with or without expected text, so point it at a small page or a health endpoint.
  • Pharos asks for an uncompressed response, so the text is compared with what the server actually sends.

DNS checks

A DNS check looks up one record and compares the answer. Enter the record name as the target, pick the record type and type the value you expect. The check is up when at least one of the returned records matches. The lookup is done by the resolver of the server Pharos runs on.

TypeExpected valueHow it is compared
A203.0.113.10As an address.
AAAA2001:db8::10As an address, so a shortened and a full notation of the same address match.
CNAMEweb-01.example.comUpper and lower case and a trailing dot are ignored.
MX10 mail.example.comPriority, a space, then the hostname. Case and a trailing dot are ignored.
TXTv=spf1 include:example.com -allExactly, case included. A long record that DNS splits into several strings is joined first.

The message beside the check reads DNS record matches, Expected DNS record is missing or DNS lookup failed. Use it for records that somebody else can change: the address of a site, mail routing, an SPF or verification record.

Certificate expiry

There is nothing to switch on. Every HTTP check on an https:// address reads the expiry date of the certificate from the same request that tests the site.

CertificateWhat Pharos does
More than 14 days leftNothing. The edit screen of the component shows TLS certificate expires with the date.
14 days or lessThe edit screen adds Certificate renewal needed, and the check message reads TLS certificate expires with the date. The component stays as it is. Destinations that chose Certificate expiring hear about it once.
3 days or lessThe component goes to Degraded performance while the site still answers. Destinations that chose Certificate expiring hear about it once more.
Expired, untrusted or for another hostnameThe check fails, normally with the message TLS certificate problem. After the retries the component turns red and an incident opens.

Tell your team, not your visitors. Since 1.2.2 a notification destination can tick the moment Certificate expiring. It then gets a message 14 days before a checked certificate runs out and again at 3 days, each once per expiry date, so a renewed certificate starts over. The message names the component, the host name (never the full check address), the expiry date and the days left. Subscribers get no mail about it, and the public page shows nothing until the component goes to Degraded performance.

Probe locations

By default every check runs from the server Pharos is on, so one broken route between that server and your service looks like an outage. A probe location is a second Pharos installation on another network that runs the same checks and reports what it saw. Each location has one vote, and a strict majority decides whether the check is up or down.

The Probe locations screen with three locations, Amsterdam, Frankfurt and New York, each listing its assigned checks with healthy, failed and missing votes, beside the command to run on a remote Pharos install
Probe locations. Every location has one vote per check. The line behind each check shows how many locations reported healthy, failed or nothing recent, and how many are needed for a majority. The data here is a demo.

Add a location

The installation that holds the status page is the hub. The other installation only runs checks for it.

  1. On the hub, open Services → Probe locations. The screen is there for administrators and for people with the Page admin role on that page.
  2. Under Add location, type a Location name and tick the checks under Checks this location may probe. Press Add location.
  3. Press Download credential file once. The file pharos-probe.env holds two lines. It can be downloaded one time only, so save it now.
  4. Install Pharos on the remote server. Add both lines to its .env and run php artisan optimize:clear.
  5. Make sure the remote installation has its cron line. The scheduler runs php artisan pharos:probe-remote every minute by itself.
PHAROS_PROBE_HUB=https://status.example.com
PHAROS_PROBE_TOKEN=<the 64 characters from the file>

The hub must be reachable over HTTPS. The hub address in the file is the hub's own APP_URL, so set that to the public HTTPS address before you add a location. The remote worker refuses a plain HTTP hub. It also refuses a hub on a private address, unless an administrator of the remote installation lists that host under Settings → Single sign on, in Internal provider hosts.

How the vote works

  • The local probe on the hub counts as one location. Every remote location assigned to the check adds one more.
  • More than half of all locations must agree. With one remote location that means both. With two remote locations it means two out of three, so the check stays healthy when one location fails.
  • A remote result older than twice the check interval, with a minimum of 120 seconds, is stale and does not vote. A location that has not reported yet does not vote either.
  • When neither side reaches a majority the result is undecided. The component is set to Degraded performance, no uptime is counted for that run and no incident is opened.

The Probe locations screen shows when each location last connected and, per check, a line such as 2 healthy, 0 failed, 1 missing or stale; 2 required. A check that has no results yet says Waiting for results.

Limits and removal

  • HTTP, TCP and DNS checks can be assigned. Heartbeat checks cannot: there is nothing to probe from outside.
  • A status page can have up to 20 locations, and a location up to 100 checks.
  • The remote worker handles at most 20 checks per run. It only picks up another check in the first seconds of a run, so that even a slow one still finishes within the minute. Quick checks go through 20 at a time, but one check that needs 30 seconds can be the only one in its run. For many slow checks, use longer intervals or spread them over more locations, or results go stale before they can vote.
  • A location's credential can only fetch the checks assigned to it and send back results. It cannot change components and it cannot see other pages.
  • The credential belongs to the person who added the location. It stops working when that person may no longer administer the page, for example because the Page admin role was taken away, or when the page is archived.
  • Remove location revokes the credential at once.

Latency charts

Pharos keeps how long every HTTP, TCP and DNS check took. On the edit screen of a component with a check, the chart Response time sits under the check settings and shows that time in milliseconds.

  • Since 1.4.2 the chart is a row of bars, one per quarter of an hour over 24 hours, with a scale in milliseconds and the time of day. 24 h, 7 d and 30 d switch the period.
  • Above the chart you read five figures: Now, Average, 95% under (the value the check stays under 95% of the time), Slowest and Above the slow limit (how long it was slower than the slow limit of the check).
  • Bars above the slow limit are amber. Point at a bar, or move through the bars with the arrow keys, to read its figures.
  • A mark on the baseline means there was no measurement in that step: the check was not due, it was paused, or the run returned no time. Gaps are never filled in.
  • A heartbeat has no response time, so its chart stays empty.
  • With probe locations, the chart shows the time measured by the local probe on the hub.

To show the chart to your visitors, tick Show response time on the public page on the component. It is off by default and set per component. The public chart shows the average as a line, with the fastest and slowest check around it as a band, four figures and the same readout. It always covers 24 hours and never shows the slow limit, the target or the check message.

The chart reads the raw check results, which Pharos keeps for 40 days. See Uptime.

Incidents

The Incidents screen with summary tiles, the open incident with its timeline, and the history of resolved incidents
Incidents. An open incident with its timeline of updates, and a resolved one below it. Automatic updates are marked as such.

Status and impact

Incident status is Investigating, Identified, Monitoring or Resolved, stored as the integers 1 to 4 that Cachet used. Cachet called the third one Watching; the API and the Generic JSON payload still know it by that name. Component status is separate:

ValueLabelCounts as down
1Operationalno
2Degraded performanceno
3Partial outageyes
4Major outageyes
5Under maintenanceno

Impact (minor, major or critical) is stored separately from status and is meant for reporting and for whatever consumes the outgoing webhook.

Visibility

The incident form has two choices. Public incidents reach the status page, their own incident page, the RSS feed, subscribers and the API without a token. Internal: team only is stored and shown in the admin only.

An incident that a check opens for a component in a hidden service, or a switched off one, is internal from the start. An incident opened through the API without a visibility follows the same rule when every component it names is off the public page.

Pharos has no sign in for visitors, so the form no longer offers "Signed in users only". Incidents stored with that value, and API clients that still send authenticated, keep working: such an incident stays off the public page, like an internal one.

Message length

An incident message and an update message can be 20,000 characters at most, in the admin and in the API. A longer one is refused with a validation error, 422 in the API. Messages stored before this limit keep showing as they were.

Backdating

Set Occurred at to any past timestamp; the public page groups incidents by that date. How far back the page lists days is the Days of incident history setting, 1 to 30.

Templates with variables

Save the wording of an incident that happens more than once as a template. On the Incidents screen, open Manage templates, then New template: a name, the incident title and the message to customers. Report an incident offers your templates under Use a template, and the API takes the template's API name in the template field.

Placeholders look like {{server}}, are case-insensitive, and tolerate inner spaces. In the API they are filled from vars; on the form you replace them yourself before publishing. An unknown placeholder is left in the text verbatim rather than blanked: publishing “Outage on .” to customers would be worse than publishing the placeholder.

Pinning

A pinned incident stays at the top of the incident log on the status page, under Pinned, also after it is resolved and outside the Days of incident history, until you unpin it. Tick Pin on the incident form, or use Pin and Unpin on any incident in the list on the Incidents screen. A pinned incident there carries the label Pinned on the status page. The page shows five pinned incidents at most, an internal incident stays off the page when pinned, and an incident that is already in the log of today or under Ongoing is not shown twice. Before 1.2.4 the pin on the form was stored and never used.

What happens when you resolve

Resolving puts every attached component back to operational: from the admin, from the API, and when a check closes an incident it opened. To close an incident while leaving a component degraded, name that component explicitly in the same request.

Postmortem

Since 1.4.0. Once an incident is resolved, its screen in the admin (Incidents, then the incident) shows a Postmortem card with three parts: What happened, Root cause and What we change. Each part is optional; one you leave empty is left out. The first two are Markdown with the same escaping as an update: anything that looks like a tag is shown, never run. What we change takes one change per line and is shown as a list.

A postmortem is a draft until you tick Publish on the incident page; a draft is shown in the admin only. Published, it appears under the messages on the public incident page with the day it was first published, as its own item in the RSS feed, as a link under the table of the public monthly report, and as the postmortem object of the incident in the API (null for a draft). Take the tick away and it is gone from all four again. An incident that is still open takes no postmortem.

Mail it once to subscribers sends the published postmortem to the subscribers of the affected services. It goes out once per incident, only for a public incident, through the Postmortem mail template and the same outbox as incident mail. If you take the postmortem back before the mail has left, the mail is not sent. When nobody could be mailed, the tick stays on offer for later.

Scheduled maintenance

Under Incidents → Maintenance, schedule planned work per page: a title, a message, the start and end, the affected components and when to announce it (24 hours before by default). Subscribers and destinations that chose Maintenance get the announcement; at the start the components switch to Under maintenance and at the end they go back to their previous status, unless someone changed them in the meantime. Failing checks do not open outages during a running window, and cancelling one restores the components too. The public page lists upcoming and ongoing maintenance; a running window says how long is left. Since 1.3.0 maintenance that is over stays in the incident log on the day it ran, with a green check and Completed, so a day of planned work no longer reads as a day without news. Cancelled maintenance stays off the page. The cron line drives all of it.

The Scheduled maintenance screen: a storage upgrade on web-03 and web-04 starting in one day and announced 24 hours before, and a history with a completed nameserver update
Scheduled maintenance. Coming up and under way first, with Edit and Cancel; completed and cancelled windows below.

Uptime and what the bar means

Every check run adds the time since the previous run, at most one interval, to that day's up_seconds or down_seconds, one row per component per day. That is why a 90-day bar costs 90 rows rather than every raw result.

Who gets uptime

Service isUptime comes fromShown as
Checked by PharosEach run of its HTTP, TCP, DNS or heartbeat checkA percentage per day
Set from outside (API, Uptime Kuma, upstream)The status it was last told, counted every minuteA percentage per day, marked reported in the admin
Set by handNothingNot measured

For a service fed from outside (the API, Zabbix, n8n, a script, Uptime Kuma, Alertmanager or Grafana) Pharos counts, every minute, the time it spends in the status that was reported for it:

  • Operational and Degraded performance count as up.
  • Partial outage and Major outage count as down.
  • Under maintenance counts as neither, so maintenance is never an outage.
  • A long gap, for example a scheduler that stood still, is credited for at most two minutes. Pharos does not fill in hours it did not see.
  • This counting started with release 1.0. Days before an installation reached 1.0 stay grey.

Reported uptime is only as good as the reports. If the tool that feeds a service stops sending, the service keeps its last status and keeps being counted in it. The Components screen shows via and the name of the API token that last reported, to people who may edit the page. Its Watched tile adds up what Pharos checks itself and what is reported from outside, and the Set by hand tile counts the rest.

Checks do not count time inside a maintenance window that has started for that component: those seconds are left out, they are neither up nor down. Days recorded before 1.0 are not recalculated.

How a day is coloured

Since 1.2.2 a day is coloured by what happened, not by an uptime threshold. A public incident on that day sets the floor, by what it set the component to; without one, the minutes lost decide. The worse of the two wins.

DayColourWhen
Quietflat, no barNothing lost and no incident.
Brief bliplight green, shortUnder 5 minutes lost and no incident, such as one missed check. It keeps one short height: it is not news.
SlowamberAn incident set the component to Degraded performance.
DisruptionorangeAn incident set it to Partial outage, or 5 to 59 minutes lost.
OutageredAn incident set it to Major outage, or 60 minutes or more lost.
No datagreyNothing was measured that day and no incident ran on it. An incident on a day without measurements still colours that day.

Apart from a blip, the bar grows taller with the time lost, so a short disruption stays low and a long outage stands out. The row of a service, and the All services row on the public page, take the worst day of their components. Days are UTC days. The same rule colours the public chart, the availability on the admin Overview and the day strips on the Services and Components screens.

Grey means no data, not fine. A component created yesterday shows 89 grey cells, which is the honest answer. The percentage averages only the days actually measured: counting unmeasured days as 100% would invent uptime, and counting them as 0% would punish you for installing recently.

The raw result of every check run is kept for 40 days and pruned once a day, in small batches. The newest result of every component always stays, so a paused check keeps its last run. Uptime figures and the 90-day bar come from the daily rows and do not change when raw results go. Set PHAROS_CHECK_RESULT_DAYS in .env to keep them longer or shorter. An existing SQLite file does not shrink after the first pruning: it stops growing, and the freed space is reused.

The Components screen grouped by service, with summary tiles, a 30 day bar and a status per component
Components. The tiles answer “what is wrong right now” before the table does, including how many components still rely on someone noticing. Each row carries its own recent-checks strip.

The public page

Every section is a switch under Appearance → Layout, and all of them default to on.

ToggleWhat switching it off hides
Overall status bannerThe headline at the top, with since when and the latest message
Uptime bar and percentageThe All services row of the chart and its figure
Services listEvery service and component row
Uptime bar per componentThe row of days and the figure of each component in the chart
Incident historyThe whole timeline of incidents and maintenance
Days without incidentsQuiet days are skipped instead of printing “No incidents”
"Get notified" buttonThe button that lets visitors subscribe
API link in the footerThe link to the public JSON feed
RSS feed linkThe RSS link in the footer, and the feed itself: /feed.xml then answers “not found” (since 1.3.0)
Monthly reportsThe link in the footer and the report page for visitors, with its CSV and PDF downloads

Under the switches the same screen has one switch per service, and three settings for the whole page: the Public page language (see Languages), the Default theme and the Days of incident history.

Next to the Layout form is a live preview: the real page rendered from your unsaved values, with Desktop and Phone widths. It writes nothing. Service blocks that start collapsed are forced open whenever that service is down.

The chart and the incident log

The page shows the past 90 days of every service in one chart, on one shared axis. Each day is coloured by what happened, with the rule under How a day is coloured: a Brief blip (under 5 minutes lost, no incident) stays light green and short, Slow is a degraded performance incident, Disruption a partial outage incident or 5 to 59 minutes lost, Outage a major outage incident or an hour or more. Apart from a blip, a day grows taller with the time lost. Point at a day, or move along the chart with the arrow keys, and the line above it says which services had trouble and for how long, such as API: major outage for 2 h. or Disruption of 12 min on API. No incident. It names services, never incident titles: a title can say more than a visitor needs.

Below the chart is the incident log. Open incidents and running maintenance stay at the top under Ongoing, upcoming maintenance under Scheduled with the days to go, and incidents you pinned under Pinned. Then come the days set under Days of incident history, newest first, under a heading per month, with Older incidents and Newer incidents to page through. Both go straight to the nearest part of the log that holds an incident, so weeks in which nothing happened take no clicks. Each incident is a card with a strip that runs from its first message to the last, one dot per message; press a dot to read that message. The newest message is open and the older ones fold away. A resolved incident ends its strip at the fix and runs on in green, with Back online and how long the outage lasted. The page refreshes itself every 30 seconds while it is open. A short popup names a service that changed status, an incident with a new update or maintenance that started or ended; everything else, such as an uptime figure, updates without one.

When nothing happened in those days, the log is one line in its head, such as No incidents in the past 14 days, with Older incidents beside it, which opens the part of the log that holds the last one. Until 1.2.3 the last incident stood under that line as a card. Alone on a calm page it read as an incident that was still open.

Also on the page

  • The title of every incident links to a page of its own, with the full timeline. See Badges, RSS, incident pages and the widget.
  • The footer links to the RSS feed and to Monthly reports. The RSS feed, Monthly reports and the API link are switches. See Monthly reports.
  • The Get notified form lets a visitor follow all services or choose some. See Service subscriptions.
  • A component can show its response time of the last 24 hours. That is off until you tick it per component. See Latency charts.
  • The page, its dates and its mails can be in English, Dutch, German or Spanish. See Languages.

When someone shares the link

Since 1.2.2 the page tells chat apps and search engines what it is about. The title starts with the current state, such as All systems operational · Northwind Hosting Status or the name of an open incident, unless the overall status banner is switched off. The page carries a description that names its services (Live status of Website, Mail and API.), Open Graph tags and a canonical link. The page's own logo is the preview picture when the page has one; Pharos sends no picture of its own. Incident pages do the same with the incident name and its state.

Caching, cookies and a CDN

Since 1.2.2 the status page, the incident pages and the monthly report page set no cookie and start no session for a visitor who has none. They answer with Cache-Control: public, max-age=30, stale-while-revalidate=300 and Vary: Cookie, so a proxy or CDN may keep them for 30 seconds. The Get notified form fetches its form token only when a visitor opens it. Someone who is signed in, or who just subscribed, keeps a session and gets the page fresh, with the admin bar. Badges, the feed and the widget never set cookies.

Behind Cloudflare. Cloudflare does not cache HTML unless a cache rule says so. Add a rule for the status host that makes the page addresses (/, /status/*, /incidents/*, /reports) eligible for cache and follows the Cache-Control that Pharos sends, and leave /admin, /api, /subscribe and /unsubscribe out of it. A rush of visitors during an outage then mostly hits the cache. A short cache does not keep the page up when the server is gone for longer: for that, keep a fallback copy and point the DNS record of the status host at it while the server is down.

Error pages

Since 1.2.2 an address that does not exist and the other errors a visitor can meet (404, 405, 419, 429, 500 and 503) answer with a page in the style of the status page, with a link back to it. A 404 reads the same for a page that was deleted, archived, never published or never existed. When a form was open too long, a visitor gets the 419 page and an administrator is sent back to sign in, with a note that nothing was saved.

The Layout screen: one switch per section beside a live preview of the public page, including an upcoming maintenance window
Status page editor. Section switches on the left, a live preview of the real public page on the right, rendered from values you have not saved yet.

With more than one status page, each has its own public page: the default page keeps /, the others live at /status/{slug} or on their own domain, with their own services, incidents, maintenance and branding.

The public page of Harbor Logistics with its own logo and green accent: all systems operational, a scheduled driver app API migration, two services with their components and the incident history
A second status page on the same install. Harbor Logistics, with its own name, logo, accent colour and services.

Badges, RSS, incident pages and the widget

Four ways to show your status somewhere other than on the status page itself. All of them are public, need no token and only answer for a published page. The addresses to copy are in the admin under Reports, in the card Share your status. That card appears once the page is published.

WhatAddressGood to know
Badge of a component/badges/components/{id}.svgCached for 30 seconds
Badge of a service/badges/groups/{id}.svgCached for 30 seconds
RSS feed/feed.xmlCached for 60 seconds
Incident page/incidents/{id}Public incidents only
Widget/embed.js, which reads /widget.jsonRefreshes every minute

On a second status page every address gets /status/{slug} in front, for example /status/{slug}/feed.xml. Disabled components and components in a hidden service are not available through any of them.

Status badges

A badge is a small SVG image: the name on the left, the current status on the right, in the colour of that status. It links to the status page. Open Status badges in the card Share your status for the address of every public component, then use it as an image:

<img src="https://status.example.com/badges/components/7.svg" alt="API status">

A service has a badge too, under /badges/groups/{id}.svg. It shows the status of the service as a whole. The id of a service is the number the API returns under /api/v1/groups.

RSS feed

/feed.xml is an RSS 2.0 feed with the 50 most recent public incidents, the 50 most recent published postmortems and the 50 most recent maintenance windows that were not cancelled. An incident item carries the title, the text of the latest update and a link to its incident page. The public page links to the feed in its footer, and Share your status has an RSS feed button.

Incident pages

Every public incident has an address of its own, /incidents/{id}, in the style of the status page: the title, whether it is still going on or how it ended, from when to when, how long it lasted, what it affected, the course strip with a dot per message, and every message. The incident titles on the status page link to it, and so do the items in the feed. An internal incident answers with a 404 there.

The incident page of web-06 unreachable: Resolved, 13 Nov, 16:53 to 17:27, 34 min, affected web-06, a course strip with a dot per message, and the three messages, with Resolved and Investigating marked Automatic
An incident page. How it ended, how long it took, what it affected, the course strip and every message. The data here is a demo.

The widget

Copy the script tag under Copy this widget into your website and paste it where the status should appear:

<script src="https://status.example.com/embed.js" defer></script>

It puts a small link right after the script tag: a coloured dot, the name of the page and its current overall status. The link opens the status page in a new tab. The widget fetches /widget.json again every minute, without cookies. When that request fails it says Status unavailable instead of showing an old status.

If you would rather build your own, read /widget.json yourself. It returns status (1 to 5), label, name and url, and it may be fetched from any website.

Subscribers

Visitors can ask to be told when something breaks. The Get notified button on the status page takes an address and sends a confirmation link that is good for 24 hours; nothing is mailed to an address that has not clicked it. From then on every update you post on a public incident goes out as one e-mail, and so does every maintenance announcement, with an unsubscribe link in every mail and a one-click unsubscribe header for mail clients that offer one. Opening the unsubscribe link shows a page with an Unsubscribe button first, so a mail scanner that follows links cannot unsubscribe anyone.

A subscriber follows all services or only the ones they choose. See Service subscriptions. Mails go out in the language of the status page, see Languages.

The Subscribers screen with active, pending and unsubscribed counts, the switch for this page and the address list
Subscribers. Who is confirmed, who has not confirmed yet, and who left: searchable, exportable as CSV, with a master switch to hide the whole feature from visitors.

Sending runs from the same cron line as the checks (php artisan schedule:run every minute), so posting an update never waits on an SMTP server. Mail leaves through the installation's own MAIL_* settings in .env; Settings → Central mail shows what is configured and sends you a test.

The Subscribers screen lists who is in, who has not confirmed yet (forgotten after seven days) and who left. Search, export the active addresses as CSV, Resend confirmation to a pending address, or delete an address for a "forget me" request. The switch at the top turns subscriptions on or off for this page; a new page starts with it off.

Subscribers can also be managed over the API: list, add, change the chosen services and delete. Every one of those calls, reading included, needs a Write token whose owner administers the page. An address added through the API starts as pending and gets no mail by itself; send the confirmation with Resend confirmation. See API and tokens.

The wording of the six mails (confirmation, incident opened, updated, resolved, postmortem, and maintenance scheduled) is a subject line and a Markdown body with tags such as {incident}, {status}, {message} and {components}. You edit the body; the frame around it (logo, accent colour, links to the status page and to unsubscribe) is always there. Editing the templates is part of the Brand pack; without it the built-in wording is used and you can still preview it.

Service subscriptions

A subscriber does not have to receive everything. The Get notified form on the status page has a box All services, ticked by default, and a list under Choose services. Someone who only cares about a few services unticks the box and picks them from the list.

The Email preferences page of a subscriber: a box for all services including future ones, or a selection of services ticked one by one
Preferences of one subscriber. All services, or only the ones that matter to them.
  • All services includes services you add later.
  • The list holds the public components of the page. It is only offered when the Services list section of the page is switched on.
  • Confirmation works as before: nothing is sent until the address has clicked the link in the confirmation mail.
  • People who subscribed before 1.0 keep receiving everything. Nothing changes for them until they change it themselves.

Changing the choice later

The page a subscriber lands on after confirming has a link Manage service preferences, and every incident and maintenance mail has Manage subscription in its footer, next to the unsubscribe link. Both open the Email preferences page for that address: tick All services, including future services or choose the services, then Save preferences.

The link is signed and belongs to one address. Signing up again through Get notified with an address that is already active changes nothing, so an outsider cannot alter what somebody else receives.

What a subscriber then receives

Incident or maintenance windowAll servicesChosen services
Affects a chosen componentMailedMailed
Affects only other componentsMailedNot mailed
Has no components attachedMailedMailed

An incident without components is a general notice, so it goes to everyone. Attach the affected components to an incident if you want the choice of your subscribers to count.

Editing the mail templates? The tag {preferences} holds the link to the preferences page of the subscriber, for the incident and maintenance mails. You do not need it for the footer link: that one is always there.

Notification e-mails

Four mails carry an incident to your subscribers: confirm your address, incident opened, incident updated and resolved. Each is a subject line and a Markdown body you can rewrite under Email → Templates. Tags are filled in when the mail is sent:

TagBecomes
{incident}The incident's name
{status}Investigating, Identified, Monitoring or Resolved
{message}The update text you posted
{components}The affected components, comma-separated
{link}A link back to your public status page
{brand}Your status page's name
{when}The time of the update, in the time zone of the installation
{name}The part of the subscriber's address before the @

A fifth template, Maintenance scheduled, announces planned work. It has its own tags: {maintenance} for the title, and {starts} and {ends} for the window. The incident and maintenance mails also know {unsubscribe} and {preferences}, the links to leave or to change the chosen services. Each status page has its own set.

You write the words; the frame around them (logo, accent colour, the coloured rule and the unsubscribe footer) is always applied. The rule and accent follow the incident's own state, so an outage mail reads red and a resolved mail reads green without you setting a colour. A live preview sits beside the editor. Editing the wording is part of the Brand pack; without it the built-in wording is used, and you can still preview it.

The email templates of one page: a template per moment, the Markdown body and a live preview of the mail
Notification e-mails. A subject line and a Markdown body per mail, with tags and a live preview. The coloured rule follows the incident's own state.

Monthly uptime reports

Pharos turns the uptime it recorded into a report per calendar month: one row per component, in the column Service, on screen, as CSV or as PDF. Open Reports in the admin of the page, pick a month, press Show report, and use Download CSV or Download PDF.

The Monthly uptime report for September 2026: a month picker with Download CSV and Download PDF, and a table of services with uptime, coverage, up and down seconds, excluded maintenance and unobserved seconds
The monthly report. One row per service for a UTC calendar month, as a page, a CSV file or a PDF. The data here is a demo.
ColumnMeaning
UptimeUp seconds as a share of the seconds that were measured. No data when nothing was measured.
CoverageHow much of the month was measured at all, after maintenance is taken out.
Up seconds, Down secondsThe measured time, from the daily uptime rows.
Excluded maintenance secondsTime inside maintenance windows that actually started. Overlapping windows count once.
Unobserved secondsTime in the month that was neither measured nor maintenance.

Since 1.4.2 each service also has a strip with one cell per day of the month, so a bad day stands out before you read the figures. The name of a service opens that component.

Months are UTC calendar months. The daily rows are stored per UTC day, so a report cannot follow your local midnight. Do not read it as an SLA figure in local time. Time that was not measured is never counted as up: it lowers the coverage, not the uptime.

The public report

Visitors get the report at /reports, with /reports.csv and /reports.pdf for the downloads. The footer of the status page links to it as Monthly reports. Since 1.2.2 the page itself is in the style of the status page and shows four columns that read without explanation: Service, Uptime, Downtime and Incidents, the number of public incidents that started in that month. The technical columns (coverage, up, down, excluded and unobserved seconds) stay in the CSV. Add ?month=2026-09 for a given month, from January 2000 up to the current one. The current month stops at the present moment. The public report is a switch: Monthly reports under Appearance → Layout, new in 1.2.4 and on by default. Switched off, the link leaves the footer and the three addresses answer 404 for visitors. The reports in the admin stay.

https://status.example.com/reports?month=2026-09
https://status.example.com/reports.csv?month=2026-09
https://status.example.com/reports.pdf?month=2026-09
The public Monthly uptime report for November 2026: a month picker with Show report, Download CSV and Download PDF, the note Measured since 1 Nov, and a table of services with Uptime, Downtime and Incidents, such as Outbound queue at 99.60% with 1 h 27 min and one incident
The public report. Service, Uptime, Downtime and Incidents for one month, in the style of the status page. The current month runs up to now. The data here is a demo.
  • The public report lists what visitors can see on the page. The report in the admin also lists hidden services and disabled components.
  • People with the Read only role on the page can open and download the report in the admin.
  • On a second status page the public address is /status/{slug}/reports.

Limits

  • A report covers up to 500 components and 2000 maintenance windows per page per month. Above that Pharos refuses the report with a message, and leaves nothing out silently. Split a very large page.
  • Days recorded before 1.0 may still include time that fell inside maintenance. Those totals are kept as they are, and the report says so.
  • A service whose status is set by hand has no measurements, so it shows No data.
  • The PDF needs PHP's dom extension next to mbstring. The installers do not check for dom, so enable it if the PDF download fails.
  • Report pages are limited to 15 requests per minute per visitor.

Notifications to your team

Subscribers hear about incidents by email. Your own team hears about them in the tool it already watches: Slack, Microsoft Teams, Discord, Telegram, Signal, a push message through Pushover or ntfy, or anything that takes JSON, such as n8n or Zapier. Each status page has its own destinations, under Integrations & API → Send out. Editors and page admins add, test and remove them; people with the Read only role see which destinations exist and whether they work.

Internal incidents are sent too: this goes to your team, not to the public. A status page that is not published, or is archived, sends nothing.

Add a destination

  1. Where should updates go? Pick Slack, Microsoft Teams, Discord, Telegram, Signal, Pushover, ntfy or Generic JSON.
  2. Connect it. Give it a Name in Pharos, which is only a label for you, and paste the address or the credentials described below. Step by step under the fields repeats the steps for the tool you picked.
  3. Which moments? Tick what this destination should receive.
  4. Press Save and send test. A test sends one real message right away, so you see exactly what your team will see.

An address or a token cannot be edited afterwards; to change one, remove the destination and add it again. The moments can be changed at any time with Change moments.

Where each destination gets its address

DestinationWhat to paste, and where to get itWhat arrives
SlackA Slack incoming webhook URL, https://hooks.slack.com/services/…. Create an app at api.slack.com/apps (from scratch), switch on Incoming Webhooks, press Add New Webhook to Workspace, choose the channel and copy the URL. The webhook decides the channel.A formatted message: the status and name of the incident, its impact, the affected components and the name of the status page. Resolved messages carry a green check.
Microsoft TeamsA Teams Workflow webhook URL. In the channel, open Workflows, choose Post to a channel when a webhook request is received and copy the URL it makes, query string included. The workflow must accept requests without a Microsoft sign in. Pharos speaks to Workflows, not to the old Office 365 connectors.An Adaptive Card with the status and name, the impact, the affected components, since when, and the name of the status page.
DiscordA Discord channel webhook URL. In the channel settings, open Integrations, Webhooks, New Webhook and Copy Webhook URL. Pharos only accepts https://discord.com/api/webhooks/…. See the Discord guide.The name of the incident and a link to the status page. Automatic mentions are switched off.
TelegramA Telegram bot token from @BotFather, and the Chat ID or public channel @username: a numeric chat ID (a group keeps its minus sign) or the @username of a public channel. The bot must be in that chat and allowed to post. To find a chat ID, send the bot a message and read chat.id at https://api.telegram.org/bot<token>/getUpdates. No webhook address is needed. See the Telegram guide.The status and name of the incident and a link to the status page, as plain text.
SignalYour own signal-cli-rest-api bridge: its HTTPS address ending in /v2/send, the Signal sender number in international format, the Recipient number or group ID and the Bridge bearer token (16 characters or more) that your reverse proxy checks. Pharos does not host or register a Signal account. See the Signal guide.The name of the incident and a link to the status page.
PushoverThe Application token of an application you create for Pharos at pushover.net, and your User or group key (a group key reaches everyone in that delivery group). Both are 30 letters and digits. Then choose what a new outage arrives as (Emergency, High or Normal) and how an emergency repeats. No address is needed. Since 1.4.0. See the Pushover guide.A push message with the status and name of the incident, the affected components and a link. As an emergency it keeps sounding until someone taps Acknowledge.
ntfyThe address of the ntfy server itself, without the topic (your own server, or https://ntfy.sh), the Topic your team follows in the ntfy app, and an Access token when the server asks for a login. Then choose the priority of a new outage (Urgent, High or Default). Since 1.4.0. See the ntfy guide.A push message with the status and name of the incident, the affected components and a link to tap.
Generic JSONThe URL of any receiver that takes a JSON POST. In n8n that is the Production URL of a Webhook node, not an HTTP Request node, and not the Test URL. See n8n and the outgoing webhook.A JSON body with event and incident, signed with the page's signing secret.

Addresses may be http:// or https:// (Discord and Signal: HTTPS only), up to 255 characters, without a user name or password in them. Only an administrator of the installation may use an address on a private network, unless page editors are allowed to (see Private addresses). This machine itself and link local addresses are refused for everyone, when you save and again on every delivery, and redirects are not followed. Addresses and tokens are stored encrypted and shown masked.

Pushover and ntfy: what is loud

Only a new incident with a partial or major outage uses the priority you chose for the destination. Updates, resolutions, an incident that only degrades a service, maintenance and certificate warnings arrive as a normal message, and so does a test. An incident opened by a slow limit is never loud, also when that limit is set to show a partial outage. A phone that rings for every update gets muted, and then it is silent for the outage too. A Pushover emergency sounds again and again until someone acknowledges it: every 5 minutes for up to 3 hours, or every minute for up to 50 minutes, because Pushover stops after 50 repeats.

On an ntfy server without logins, and on the public ntfy.sh, anyone who knows the topic name can read the topic and post to it. Use your own server with an access token, or a long random topic name, and treat that name as a password. Pharos stores the topic, the token and the Pushover keys encrypted and shows them masked.

Which moments

MomentSent when
Incident openedA new incident, whether a person, the API or a check opened it.
Update postedEvery later update that does not resolve the incident.
ResolvedThe update that resolves it.
MaintenanceA maintenance window is announced, starts, ends or is cancelled.
Certificate expiringSince 1.2.2: an HTTP check sees that its certificate expires within 14 days, and again within 3 days, each once per expiry date. See Certificate expiry.

A new destination starts with the three incident moments ticked. A destination saved before you could choose moments receives every moment, certificate expiring included, until you change its moments.

Delivery and retries

  • Messages are queued and sent by the scheduler within a minute, up to ten per minute for the whole installation. Publishing an incident never waits for a receiver.
  • Each attempt gets five seconds. A failed delivery is tried again after 2, 4, 8, 16 and 32 minutes: six attempts in all. When the receiver asks for a pause (Retry-After, or Telegram's own retry delay), Pharos waits that long instead, at least a minute and at most a day.
  • A 429 from Pushover means the month's messages are used up; Pharos does not try that message again.
  • An answer in the 400 range, other than 408 and 429, stops the retries at once: a wrong address or a revoked webhook does not fix itself.
  • Integrations & API → Delivery log shows every message with its attempts and result, filtered by destination, channel or result, with counters for Delivered, Retrying and Failed. Delivered and failed records are removed after 30 days.
  • On Send out each destination shows Working, Failing or Not tried yet, and for a failure a hint in words, such as that the webhook was probably removed on the other side. Only the status code is kept, never the body the receiver sent back.
  • Send test sends a made up incident called Test notification from Pharos at once. It is one attempt and is not retried.
  • Removing a destination stops its queued messages too.

Only Generic JSON deliveries are signed, with X-Pharos-Signature, X-Pharos-Timestamp and X-Pharos-Signature-V2. Slack, Teams and the chat apps ignore headers they do not know, and for them the URL is the credential: keep it as private as a password. How to check a signature is under n8n and the outgoing webhook.

API and tokens

Create tokens under Integrations & API → API tokens, or from the shell. A token is 40 characters and only its SHA-256 hash is stored, so it is shown exactly once.

php artisan pharos:token "n8n" --user=you@example.com --page=1 --scope=write

The command needs an owner (--user, the email of an account with access to the page) and a page (--page, the id of the status page). The first page is normally 1. For every other page it is the number in the admin address, as in /admin/pages/2/overview. Without --scope it makes a Write token.

A token belongs to one status page and one owner, and it has one of two kinds of access:

AccessWhat it may do
ReadSee components, services, maintenance and incidents, including the ones that are not public, and the Prometheus metrics. It cannot change anything and cannot read subscribers. In the admin, Read is the choice that is already selected.
WriteAlso change component status, post incidents and use the other writing endpoints. It only works while its owner may edit the page: lower or remove the owner's role and the token loses its rights at once.

Endpoints that take a token accept either header; the second exists so Cachet scripts need no editing:

Authorization: Bearer <token>
X-Cachet-Token: <token>

The addresses under /api/v1/ serve the first status page. Every other page has the same endpoints under /api/v1/pages/{slug}/, with a token of that page. The API answers on the main address of the installation only, not on a custom domain of a page.

A machine readable description of the whole API, in OpenAPI format, is published on this website at /assets/openapi.json. Load it in an API client or a code generator, or read it next to this section. Replace the server address in it with the address of your own installation.

Reading, without a token

curl -s https://status.example.com/api/v1/components
curl -s https://status.example.com/api/v1/components/7
curl -s https://status.example.com/api/v1/groups
curl -s https://status.example.com/api/v1/incidents

/components returns the Cachet envelope with the same field names and status integers, and /components/{id} returns one of them. Each component has status (1 to 5) and status_name, such as Degraded performance. /incidents returns the 50 most recent public incidents with their updates and components. Since 1.2.2 /groups and /groups/{id} can be read without a token too. Without a token every one of these answers only with what the public page shows: no disabled components, nothing from a hidden service, no internal incidents. A token of the page adds the internal incidents to /incidents and the hidden services to /groups; /components always lists what the public page shows.

Setting one component

curl -sX PUT https://status.example.com/api/v1/components/1 \
  -H "Authorization: Bearer $PHAROS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": 4}'

This does not open an incident. If a built-in check also watches that component, the next check run overwrites whatever you set, so pick one owner per component.

Opening an incident across several components

curl -sX POST https://status.example.com/api/v1/incidents \
  -H "Authorization: Bearer $PHAROS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "template":     "server-unreachable",
    "vars":         { "server": "web-06.example.net", "started_at": "16:50" },
    "status":       "investigating",
    "impact":       "major",
    "components":   { "7": "major_outage", "8": "degraded" },
    "auto_resolve": true
  }'

Status is a name, investigating, identified, monitoring (or watching, as Cachet called it) or resolved, or the Cachet integer 1 to 4. Component keys may be an id or a name. A component status is a number from 1 to 5 or a name: operational, degraded, partial_outage, major_outage or under_maintenance. An unknown component or status is refused with 422 and nothing is saved. Leave out visibility and the incident is public, unless every component it names is off the public page: then it is internal.

Adding an update

curl -sX POST https://status.example.com/api/v1/incidents/12/updates \
  -H "Authorization: Bearer $PHAROS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": "resolved", "message": "Back up at 17:22."}'

Services, maintenance and subscribers

These endpoints cover what you can also manage in the admin. Paths are relative to /api/v1, or to /api/v1/pages/{slug} for another page.

EndpointWhat it doesToken
GET /pingAnswers {"data":"Pong!"}, as Cachet did.None
GET /components/{id}Returns one component, in the same shape as the list.None
GET /groups, GET /groups/{id}Lists the services, or returns one. Without a token only the services the public page shows, on a published page.None, or Read for every service
POST /groups, PUT and DELETE /groups/{id}Creates, changes or deletes a service. Fields: name, visible, collapsed, position.Write
POST /componentsCreates a component. Fields: name, and optionally description, status (1 to 5), group_id, enabled, show_uptime, position.Write
DELETE /components/{id}Deletes a component. An incident that its check opened is closed with a reason.Write
DELETE /incidents/{id}Deletes an incident.Write
GET /maintenance, GET /maintenance/{id}Lists the 100 most recent maintenance windows, or returns one.Read
POST /maintenance, PUT and DELETE /maintenance/{id}Schedules, changes or removes a window. Fields: title, message, starts_at, ends_at, announce_minutes, components (a list of ids).Write
GET /subscribers, GET /subscribers/{id}Lists subscribers, 50 per page (per_page up to 100, page), or returns one.Write, owner administers the page
POST /subscribers, PUT and DELETE /subscribers/{id}Adds a pending address, changes the chosen services (all_services, component_ids) or deletes the address.Write, owner administers the page
GET /metricsStatus and uptime for Prometheus. See Prometheus metrics.Read
POST /integrations/kuma/{component}Sets a component from an Uptime Kuma notification. See Uptime Kuma.Write
POST /alertmanager, POST /grafanaSet components from Prometheus Alertmanager or Grafana alerts. See Alertmanager and Grafana.Write
curl -sX POST https://status.example.com/api/v1/maintenance \
  -H "Authorization: Bearer $PHAROS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title":            "Storage upgrade on web-01",
    "starts_at":        "2026-10-20T20:00:00+02:00",
    "ends_at":          "2026-10-20T22:00:00+02:00",
    "announce_minutes": 1440,
    "components":       [7, 8]
  }'
  • Times need the full form with seconds and an offset, as in the example. The end must be after the start and in the future.
  • announce_minutes is one of 0 (do not announce), 60, 360, 1440, 2880, 4320 or 10080.
  • PUT only changes a window that has not started yet. Deleting a running window first puts its components back.
  • An address added through POST /subscribers is pending and gets no mail from the call itself. The API never returns the private link token of a subscriber or the IP address they signed up from.
  • A component made with POST /components is marked as set from outside, so its uptime is counted from the status you report.
  • A request body may be 256 KiB at most on these endpoints, and they are limited to 60 requests per minute per calling address.
  • With a valid token these endpoints also work for a page that is not published yet. An archived page is not available, and /ping only answers for a published page.
  • Since 1.2.0 every subscriber call needs a Write token, reading included, because the answer holds email addresses.

Errors

Errors come back as JSON with a status code that says what kind of problem it is:

CodeBodyMeaning
401{"error":"Missing API token"} or {"error":"Invalid API token"}No token was sent, or it does not exist (any more).
403{"error":"Token has no access to this page"}The token belongs to another page, it is a Read token on a call that writes, or its owner lost the rights it needs. The subscriber calls say Subscribers need a token with write access.
404{"message":"Not found."}The same answer for an address the API does not know, a record that never existed, one of another page and a hidden one, so it gives nothing away.
422{"message":"…","errors":{"field":["…"]}}The request was read but a field is wrong: the messages per field say what. An unknown incident status answers with an error field instead.
429{"message":"Too Many Attempts."}The rate limit was reached. Wait the number of seconds in the Retry-After header.

Uptime Kuma

Pharos has an endpoint for Uptime Kuma's own Webhook notification, so Kuma can set a component directly. No adapter or workflow in between is needed.

  1. In Pharos, use a component without a check of its own: Kuma does the watching. Note its id, and create a Write token under Integrations & API → API tokens. Integrations & API → Bring in, with Uptime Kuma chosen, shows the address for each component and the header to copy.
  2. In Uptime Kuma, open Settings, Notifications, Setup Notification and choose the type Webhook. Post URL: https://status.example.com/api/v1/integrations/kuma/{component}. Request body: application/json. Additional headers: {"Authorization": "Bearer <token>"}.
  3. Turn that notification on for the monitor that watches the service.
Kuma saysThe component becomes
UpOperational
DownMajor outage
MaintenanceUnder maintenance
PendingNothing changes
  • This sets the component only. It does not open an incident or notify anyone.
  • A component with its own enabled check is refused with 422: one owner per component.
  • Kuma's test button sends no heartbeat status, so Pharos refuses it. Check the connection with a real change of a monitor instead.
  • The component's uptime is counted from the status Kuma reports, and the Components screen shows the token it came through.
  • For another status page, use /api/v1/pages/{slug}/integrations/kuma/{component} with a token of that page.

Prefer the other way round, with Kuma as a job that checks in? A heartbeat check works too, but Kuma only sends notifications when a state changes, which is not a regular heartbeat.

n8n and the outgoing webhook

Inbound is just the API: an HTTP Request node posting to /api/v1/incidents or /api/v1/components/{id}.

Outbound is a Generic JSON destination under Integrations & API → Send out. Paste the Production URL of an n8n Webhook node and save; the first destination of a page generates its 32 character signing secret. It fires on the moments you tick for that destination, whether the incident came from you, the API or a check. All six kinds of destination, and how delivery and retries work, are under Notifications to your team.

The Send out screen: add a destination in numbered steps (Slack, Microsoft Teams, Discord, Telegram, Signal or Generic JSON), then the moments it receives, beside the destinations of this page with their health
Integrations & API → Send out. Pick where updates go, connect it, and choose the moments: incident opened, update posted, resolved, maintenance and certificate expiring. Each destination shows whether it is working, failing or paused, with Send test.
{
  "event": "incident.created",
  "incident": {
    "id": 12,
    "name": "Mail queue backed up",
    "status": "Identified",
    "impact": "major",
    "occurred_at": "2026-08-25T16:50:03+00:00",
    "resolved_at": null,
    "components": ["Mail relay", "Webmail"]
  }
}

status is the Cachet name of the incident status: Investigating, Identified, Watching (shown as Monitoring in the admin) or Resolved. event is incident.created for a new incident and incident.updated for every later update, a resolution included: then resolved_at is filled in. A test from the admin sends incident.test. Maintenance arrives as maintenance.scheduled, maintenance.started, maintenance.completed or maintenance.cancelled with a maintenance object, and a certificate warning as certificate.expiring with a certificate object.

Only Generic JSON deliveries are signed. Slack, Teams and the chat apps drop headers they do not know, and their URL is the credential. Every Generic JSON request carries X-Pharos-Signature: a lowercase hex HMAC SHA256 of the exact request body, keyed with your secret. Verify it: anyone who learns your webhook URL can otherwise forge events.

const expected = crypto.createHmac('sha256', SECRET)
  .update(req.body)              // the RAW body; a JSON parser changes the bytes
  .digest('hex');

if (!crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(received))) {
  return res.status(401).json({ error: 'bad signature' });
}

Since 1.2.0 every Generic JSON request also carries X-Pharos-Timestamp, the time of sending in Unix seconds, and X-Pharos-Signature-V2: the same HMAC over the timestamp, a dot and the body. Check that one and refuse a timestamp more than a few minutes old, and a request someone recorded cannot be sent to you again later. X-Pharos-Signature stays, so a receiver built for an earlier release keeps working. The secret is stored encrypted and shown masked; an administrator can reveal it.

const signed = req.get('X-Pharos-Timestamp') + '.' + req.body;
const expected = crypto.createHmac('sha256', SECRET).update(signed).digest('hex');
const fresh = Math.abs(Date.now() / 1000 - Number(req.get('X-Pharos-Timestamp'))) < 300;

Deliveries are queued and sent by the scheduler within a minute, so a slow receiver never holds up publishing an incident. A failed delivery is tried again with growing pauses, up to six attempts in all; a retry gets a fresh timestamp and signature. Every attempt is in the Delivery log. See Delivery and retries.

Zabbix

Zabbix has no Pharos specific integration; it uses the API. Create a Webhook media type with parameters for the URL, token and component id, and attach it to an action.

var p = JSON.parse(value), req = new HttpRequest();
req.addHeader('Content-Type: application/json');
req.addHeader('Authorization: Bearer ' + p.pharos_token);

// event_value "1" = problem, "0" = recovery
var body = JSON.stringify({ status: p.event_value === '1' ? 4 : 1 });
return req.post(p.pharos_url + '/api/v1/components/' + p.component_id, body);

This sets the component only. To open an incident as well, post to /api/v1/incidents instead, as under API and tokens.

Alertmanager and Grafana

Since 1.2.2 Prometheus Alertmanager and Grafana alerting can set component status directly, the way the Uptime Kuma endpoint does. Point a webhook at one of these addresses, with a Write token of the page as Authorization: Bearer <token>:

POST https://status.example.com/api/v1/alertmanager
POST https://status.example.com/api/v1/grafana

# another status page, with a token of that page
POST https://status.example.com/api/v1/pages/{slug}/alertmanager
POST https://status.example.com/api/v1/pages/{slug}/grafana

Every alert names its component with the label pharos_component: the component id, or its exact name, on the page of the token. The severity label sets how bad it is:

AlertThe component becomes
Firing, severity="critical"Major outage
Firing, severity="warning"Partial outage
Firing, severity="info"Degraded performance
Firing, no severity or another oneMajor outage
ResolvedOperational
  • When one notification carries several alerts for the same component, the worst one wins.
  • Alerts without the label, for a component Pharos does not know, or for a component with its own enabled check change nothing. The JSON answer lists them under ignored, with the reason (no_component_label, unknown_component or checked_component), next to what was applied.
  • Like the Kuma endpoint, these set the component only. They do not open or close incidents and do not notify anyone.
  • The component is marked as set from outside by that token, so its uptime is counted from the reported status.
  • The same limits as the other writing endpoints apply: 60 requests a minute, and a body of 256 KiB at most.

Alertmanager

Add a receiver and send the alerts for the status page to it. Alertmanager sends resolved alerts to webhooks by default.

route:
  receiver: pharos

receivers:
  - name: pharos
    webhook_configs:
      - url: https://status.example.com/api/v1/alertmanager
        send_resolved: true
        http_config:
          authorization:
            type: Bearer
            credentials: "<write token>"

Then give the alerting rules the labels Pharos reads:

- alert: ApiDown
  expr: probe_success{job="api"} == 0
  for: 2m
  labels:
    severity: critical
    pharos_component: "API"

Grafana

  1. In Grafana, open Alerting, Contact points and add a contact point with the integration Webhook.
  2. URL: https://status.example.com/api/v1/grafana, method POST.
  3. Under the optional webhook settings, set the authorization header scheme to Bearer and the credentials to the Write token. Save the contact point.
  4. In each alert rule that belongs on the status page, add the label pharos_component with the component id or name, and severity if it is not a full outage. Send the rule to the contact point, directly or through a notification policy.

Grafana's test button sends an alert without pharos_component: Pharos answers it, lists it under ignored and changes nothing. Going the other way, /api/v1/components needs no token, so the Infinity data source can chart the current status directly.

Prometheus metrics

Pharos has a metrics endpoint in the Prometheus text format. It gives the current status and the uptime of every enabled component of a status page, so you can chart or alert on them next to your other metrics. It needs an API token; a Read token is enough.

curl -s https://status.example.com/metrics \
  -H "Authorization: Bearer $PHAROS_TOKEN"
MetricTypeValue
pharos_component_statusgauge1 operational, 2 degraded, 3 partial outage, 4 major outage, 5 maintenance.
pharos_component_uptime_ratiogaugeThe share of measured seconds that were up over the last 30 UTC days, from 0 to 1. NaN when nothing was measured.
# HELP pharos_component_status Current component status (1 operational, 2 degraded, 3 partial outage, 4 major outage, 5 maintenance).
# TYPE pharos_component_status gauge
pharos_component_status{component_id="7",name="API"} 1
# HELP pharos_component_uptime_ratio Fraction of observed seconds up over 30 UTC days; NaN means no observations.
# TYPE pharos_component_uptime_ratio gauge
pharos_component_uptime_ratio{component_id="7",name="API"} 0.999306

Every series has two labels, component_id and name. Targets, check messages and credentials are never part of the output. Up to 5000 components are included.

Addresses

  • /metrics and /api/v1/metrics give the first status page.
  • /status/{slug}/metrics and /api/v1/pages/{slug}/metrics give another page, with a token of that page.
  • Use the main address of the installation. A custom domain of a status page does not accept API tokens.
  • The endpoint is limited to 60 requests per minute, which is plenty for a scrape every 30 or 60 seconds.

A scrape job needs the token as a bearer token and the path, nothing else:

scrape_configs:
  - job_name: pharos
    scheme: https
    metrics_path: /metrics
    authorization:
      credentials: "<token>"
    static_configs:
      - targets: ["status.example.com"]

Hidden services are included here, unlike on the public page: the token is what decides who may read. Disabled components are left out.

Migrating from Cachet 2.x

Three things are deliberately identical, so existing scripts survive:

  • GET /api/v1/components: same path, same envelope, same field names.
  • Status integers: 1 operational, 2 degraded, 3 partial, 4 major. Pharos adds 5 for maintenance.
  • X-Cachet-Token is accepted everywhere Bearer is, and POST works as an alias for PUT on a component.

What needs editing:

  • Creating incidents. Cachet took an integer status and a single component; Pharos takes a status name and a components object.
  • Endpoints that do not exist here: Cachet's metrics and metric points, actions, version, schedules, and fetching a single incident. Planned work lives under /maintenance, and /metrics here is the Prometheus endpoint, not Cachet's metrics.
  • No pagination parameters on components and incidents. Components return in one page; incidents are capped at the 50 most recent. Only the subscriber list is paged.

Since 1.0 these do exist: /ping, component groups, /subscribers, creating and deleting components, and deleting an incident. Mind one path: groups live under /groups here, not under Cachet's /components/groups. All of them are listed under API and tokens.

Your existing data does not have to be typed in again. See Importing from Cachet 2.x for the importer.

Importing from Cachet 2.x

The importer brings the services, components, incident history and subscribers of a Cachet 2.x installation into one status page. You upload a JSON file, read a preview of what will be added, and only then import. Nothing is mailed and no webhook fires while it runs.

The Import Cachet 2.x screen: the upload field for a JSON export and a preview that counts 3 groups, 9 components, 4 incidents and 6 subscribers before anything is imported
Preview first. The importer counts and names what it found. Nothing is written until you confirm.

Make the export file

Pharos does not connect to your Cachet server. You collect the data yourself from the Cachet API and put it in one JSON file with up to four lists: groups (or component_groups), components, incidents and subscribers. Each one is a plain list, or the response of the Cachet API as it comes, with its {"data": [...]} wrapper. If Cachet returned several pages for a resource, join them into one list first.

{
  "groups": [{"id": 1, "name": "Website", "visible": 1}],
  "components": [{"id": 10, "name": "API", "group_id": 1, "status": 1}],
  "incidents": [{"id": 20, "name": "Past outage", "component_id": 10,
    "status": 4, "visible": 1, "message": "Recovered",
    "occurred_at": "2026-09-01T12:00:00Z", "updated_at": "2026-09-01T13:00:00Z",
    "updates": [{"status": 2, "message": "Cause found", "created_at": "2026-09-01T12:30:00Z"}]}],
  "subscribers": [{"id": 30, "email": "reader@example.com", "global": false,
    "verified_at": "2026-09-01", "subscriptions": [{"component_id": 10}]}]
}

The file may be 4 MB at most, with up to 1000 rows per list and 100 updates per incident.

Preview, then import

  1. Select the status page that should receive the data and open Integrations & API → Cachet import. The screen is there for administrators and for people with the Page admin role on that page.
  2. Choose the file and press Preview import. Pharos checks the whole file and shows how many rows each list has, with the names of the services, components and incidents.
  3. Read the preview. If it is right, press Import these records. The preview is kept for 20 minutes and can be used once; after that, upload the file again.

The import runs as one database transaction: it is applied completely or not at all.

What it does with your data

In the fileIn Pharos
IdsOnly used to connect rows inside the file. Everything gets a new id in Pharos, and a component or group that a row refers to must be in the same file.
VisibilityKept for groups and incidents. A row that does not say it is visible is imported as not visible.
DatesA date without an offset is read as UTC.
SubscribersA verified date keeps the consent, so that address needs no new confirmation. An address that already exists on the page is left exactly as it is, opt outs and chosen services included.
Existing dataNothing is overwritten. The import adds services, components and incidents next to what the page already has.
Not importedChecks, settings and users. Cachet has no checks of its own; add them to the components afterwards.

The same file cannot be imported twice into the same page: Pharos recognises it, also when the order of the rows or the notation of the dates differs, and says This export has already been imported into this page.

From the shell

The command reads a file on the server. Without --apply it only shows the counts and changes nothing:

php artisan pharos:cachet-import /home/you/cachet-export.json --page=2          # dry run
php artisan pharos:cachet-import /home/you/cachet-export.json --page=2 --apply  # import

--page is the id of the status page, the number in the admin address /admin/pages/2/overview. Leave it out to import into the first page.

Time zone and retention

Under Installation, Settings → General, for administrators of the installation:

  • Time zone: pick any IANA zone (Europe/Amsterdam, America/New_York, Asia/Tokyo). Every timestamp on the public page, in the admin and in e-mails is shown in it. Everything is stored in UTC, so you can change the zone at any time and history does not move. Each user can also pick their own time zone for the admin screens under Profile; the public page and emails keep this one.
  • Audit log kept for: 7 to 3650 days; older lines are pruned nightly.
  • Backups kept: how many update snapshots to hold; see Updates & backups.
  • Check for updates automatically: the hourly manifest check. Off means the Updates screen only looks when you press the button.
  • Require two factor for administrators: see Two factor.
  • Let page editors check private network addresses: see Private addresses.
  • Security contact, since 1.2.2: an email address or an https:// link where people can report a vulnerability in this installation. With one filled in, Pharos publishes /.well-known/security.txt (RFC 9116) with that contact, an expiry a year ahead, the languages and its canonical address. Empty, that address answers 404.
  • Fallback copy, since 1.2.2: keep a static copy of every published status page at one of your backup destinations. See Fallback copy.

Settings → Central mail holds the MAIL_* connection for subscriber mail and a Send test email button; Settings → Single sign on holds the OpenID Connect fields covered under Users, SSO & 2FA.

Next to Settings, under Installation, the screen Scheduler and backups holds Web cron and Remote backups. Language is not an installation setting: see Languages.

The General settings of the installation: time zone, retention, update checks, sign in, network, security contact and fallback copy
Settings → General. Time zone, retention, updates, sign in, network, the security contact and the fallback copy, all under one Save settings.

Languages

Pharos comes in four languages: English, Dutch, German and Spanish. There are two separate choices that do not affect each other: the language of the admin, which every account sets for itself, and the language of each public status page.

SettingWhereWhat it changes
Admin languageProfile, under Preferences, then Save preferencesOnly your own admin screens. Colleagues keep their own choice.
Public page languageAppearance → Layout, then Save status pageThat status page, the mails to its subscribers and the incidents that checks open by themselves.

A new account and a new status page start in English. With several status pages, each page has its own language, so one installation can serve a Dutch page and a Spanish page side by side.

What follows the page language

  • All fixed text on the status page, the incident pages and the monthly report, and the way dates are written.
  • Status names, on the page and also in badges, the RSS feed and the widget.
  • The built in wording of the mails to subscribers, and the messages a visitor sees when the subscribe form refuses an address.
  • The title and the first update of an incident that a failing check opens.

What stays as you wrote it

  • Names and descriptions of services and components.
  • Incident and maintenance messages you write yourself.
  • Mail templates you have edited. Only the built in wording is translated.

A page has one language. Visitors cannot switch it themselves, so pick the language most of your readers use. The API follows neither setting.

Branding and the Brand pack

Free: the name on the page and the accent colour, on 1 status page, with a “Powered by Pharos” footer credit.

Brand pack (€79, one time): your own logo for light and dark, your favicon, your logo in email, the footer credit removed, and the notification emails editable (subject and text, with tags). It keeps working forever. 1 status page. Since 1.3.0 the credit is hidden as soon as the Brand pack is active; untick Footer credit under Branding to show it again.

Supported (€149 per year): the Brand pack included and kept, email support, and up to 5 status pages. Each page has its own components, subscribers, branding, email and integrations, and users get a role per page.

Commercial licence (from €599 per year): everything in Supported, unlimited status pages, and the AGPL publication duty lifted.

The Status pages screen with three cards: Harbor Logistics and Northwind Hosting published, Northwind Internal unpublished, each with its address, 90 day uptime, open incidents, subscribers and assigned users
Installation → Status pages. One card per page with its status, address, uptime, open incidents, subscribers and assigned users, and how many pages are in use.

If a yearly key lapses, the branding stays and existing status pages keep running, but you cannot create or reactivate pages beyond one.

Ordering from the admin

Since 1.4.2 Appearance → Branding shows the plans as one ladder under Your plan: Free, Brand pack, Supported and Commercial, on a line that is blue up to the plan the installation has. An installation administrator orders the next plan there:

  1. Press Order Brand pack or Order Supported. A window opens with, on the left, what changes compared with the plan you have and, on the right, the price, the address of the installation and who the key is for.
  2. Continue to payment takes you to Stripe’s payment page. Card details never pass through your installation.
  3. Back in the admin the new key is fetched and activated by itself. It still arrives by email as well.

An installation that already has a Brand pack pays less for the first year of Supported: the Brand pack comes off, and the window shows that as a line of its own. To work out the price, Pharos sends the licence key and the address of the installation to pharos.solutionmax.net, only when you press the button, and the window says so. An installation without a public address, or one that cannot reach the shop, keeps the link to the website.

Request a quote on the Commercial plan opens a short form: your organisation, where we answer, the number of status pages and a note. It is sent only when you press Send request and reaches us as a ticket.

SVG uploads are refused on purpose. An SVG can carry script, and this file is served to every visitor of your status page.

Branding is set per page under Appearance → Branding: the name and accent colour, the logos for light and dark, and the favicon, with a live preview of the browser tab, the page header in both themes and the email header. Nothing is uploaded until you press Save branding.

The Branding screen of the Harbor Logistics page: name and accent colour, logos for the light and dark theme and the favicon, beside a live preview of the browser tab, both themes and the subscriber email
Branding. Name and colour are free; logos and favicon come with the Brand pack. The preview shows files you pick before anything is uploaded.

A key is an Ed25519 signature over a small payload, verified locally against the public key in your .env. No network call is made at activation or afterwards, which means a Pharos outage cannot break your branding, activation works on a host with no outbound HTTP, and the licence keeps working whether or not you renew. Renewing buys updates and support, not permission to run.

Updates

php artisan pharos:update --check   # what is available
php artisan pharos:update           # install it

Pharos fetches a signed manifest once an hour. It carries purpose: pharos-release, which is why a licence key can never be replayed as an update manifest even though the same key signs both. A release server that cannot be reached reads as no news, never as an error on a status page.

The update notice

Since 1.4.2 the people who may open Updates see a notice at the top of every admin screen when a newer release exists. Visitors of the status page never see it. It has three levels:

ColourNoticeMeaningCan be closed
RedSecurity update · requiredA release closes a high or critical issue that affects this installation.no, it stays until the fixed version runs
AmberRecommended updateA release closes a medium or low issue.yes
BlueUpdate availableAn ordinary new release.yes

Closing is remembered per person and per version: the notice stays closed after a reload and after signing in again, and comes back with the next release. The dot next to Updates in the menu takes the colour of the level and stays after closing. Profile lists the notices you closed and brings them back.

Updates lists what a security release closes: per advisory its number, what it is, what it means for this installation and how severe it is. That information comes with the signed manifest Pharos already fetches every hour, so nothing new is sent or asked.

What Pharos sends out

Besides the checks and notifications you set up yourself, Pharos contacts us in two ways. The update check fetches the signed manifest from pharos.solutionmax.net. Since 1.3.0 a daily heartbeat sends one request a day with only the version number, so we know how many installations run which version: no domain, no ID, no e-mail address, and the server keeps no IP address, only a count per day per version. It follows the update check: switch that off under Settings → General (or set PHAROS_UPDATE_CHECK=false) and both stop. PHAROS_HEARTBEAT_URL= (empty) switches off only the heartbeat.

The Feedback button at the bottom of the admin menu sends nothing until an admin presses Send. The form shows what goes along (the message, the reply address and, if ticked, version, plan and address of the installation) and it reaches Pharos support as a ticket. PHAROS_FEEDBACK_URL= (empty) removes the button. Request a quote under Branding travels the same way.

Ordering a plan from Appearance → Branding sends the licence key and the address of the installation to pharos.solutionmax.net, only when an administrator presses an order button. See Ordering from the admin. PHAROS_PORTAL_ORDER_URL= (empty) leaves only the link to the website.

InstallHow it updates
PHP hostThe app downloads the release, checks it against the signed checksum, copies the current version into storage/app/backups, replaces its files and migrates.
DockerThe host owns the image. The Updates screen shows the command to run on the host, docker compose pull && docker compose up -d; the app does not update its own container.
NeitherThe directory is not writable, so update over SSH.

Your .env, database and uploads are never touched, and a downgrade is refused: an older build may not survive migrations the current one already ran.

Backups, rollback and retention

Before it replaces anything, Pharos snapshots the version it is about to overwrite: the code, the installed vendor/ tree, and, on SQLite, a consistent copy of the database taken with VACUUM INTO so it is safe to copy a live file. On MySQL the files are captured but the database is not, so keep your own database backups there.

The same snapshots are yours to make and manage under Updates:

  • Back up now: take a snapshot by hand before a manual change. Installing a release, making a backup and rolling back each open a dialog that shows every step as it happens (download, checksum, unpack, backup, install, migrations) with a live file count.
  • Download: pull any snapshot down as a single .zip.
  • Roll back: put a kept snapshot back over the running install. What it replaces is itself backed up first, so a rollback is never a one-way door. Because the database can come back with it, you are signed out and sign in again with the password you had at the time of that snapshot.
  • Delete: remove one you no longer want.

How many are kept is the Backups kept setting under Settings → General: the newest N are held and the oldest is removed when a new one is made. 0 keeps every snapshot. The one you would roll back to is never pruned out from under you.

The Updates screen: installed version, latest release, how this install updates, and the backups kept
Updates & backups. What is installed and what is available, then the kept snapshots with Download, Roll back and Delete.

These snapshots stay on the same server as Pharos. They protect you from a bad update, not from losing the server. For a daily copy somewhere else, see Remote backups.

An install inside an older container image

Some hosts run a self updating PHP install inside a Pharos container image that only provides PHP. The image carries the version it was built as, and an update of the code cannot change that. Since 1.2.2 the Updates screen reads the installed version from the code, so it no longer offers the same update again, and a notice names the image to pull, such as ghcr.io/solutionmax/pharos:1.4.2, to get its server settings as well. With the normal Docker setup, where the host pulls the image, nothing changes.

Updating to 1.2

Every release installs the same way: from the Updates screen, with php artisan pharos:update, or by pulling the new image on Docker. The database migrations run by themselves. After a manual update (unpacking the zip or a git pull by hand), run php artisan migrate --force yourself. Coming from 1.1, this is what changes:

  • Everyone is signed out once. Sessions are encrypted since 1.2.0, so the ones from before cannot be read. Sign in again. Remember me now lasts 30 days.
  • Read tokens lose the subscriber API. Every call under /subscribers, listing included, needs a Write token whose owner administers the page. A script that read subscribers with a Read token gets 403 until it has a Write token.
  • Remote backups without a passphrase leave .env out. Set a backup passphrase for complete, encrypted archives, or keep APP_KEY somewhere safe yourself.
  • Automatic incidents of hidden services become internal. A check that opened an incident for a component in a hidden service, or a switched off one, made it public before 1.2. New ones are internal. The update makes the existing ones internal too, when they are still open or started in the last 90 days and every component on them is off the public page today. Incidents opened by a person or through the API are left as they are.
  • Private addresses need permission. Page editors may no longer point checks and destinations at a private network unless Let page editors check private network addresses is on. The update switches it on when anything already used a private address, so nothing stops. See Private addresses.
  • Two factor can be required for administrators, under Settings → General. It stays off until you switch it on. See Two factor.
  • Generic JSON deliveries get a second signature over a timestamp and the body. The old X-Pharos-Signature still goes out, so existing receivers keep working. See n8n and the outgoing webhook.

1.2 adds, without anything to do on your side:

  • Days on the public chart and in the admin are coloured by what happened. One missed check is a brief blip, not a slow day. See How a day is coloured.
  • Public pages set no cookies for visitors and may be cached for 30 seconds; a quiet incident log says so in one line; shared links show the current state; error pages, incident pages and the public monthly report look like the status page. See The public page.
  • New automatic incidents are written in plain words, in the language of the page. Existing incidents keep their text.
  • Services can be read through the API without a token, like components: only the ones the public page shows. Hidden services stay hidden.
  • Administrators whose form expired are sent back to sign in instead of seeing an error page.

And these are new, and off until you set them up: the fallback copy, the Alertmanager and Grafana endpoints, the Certificate expiring moment for team destinations, and the security contact under Settings → General. One exception: a destination saved before moments could be chosen receives every moment, so it gets certificate warnings from now on.

Updating from before 1.0

An installation that comes from a 0.x release also gets what changed in 1.0:

  • Uptime for reported services starts counting. Services fed through the API or Uptime Kuma get uptime from the moment of the update. Earlier days stay grey. See Uptime.
  • Services with the old source "api" now read "webhook". Nothing else about them changes.
  • Raw check results older than 40 days are removed, once a day and in small batches. The uptime figures do not change.
  • The log is one file per day, storage/logs/laravel-YYYY-MM-DD.log, and the last 14 days are kept. An existing laravel.log stays where it is and can be deleted. Set LOG_DAILY_DAYS to keep more or fewer days, or LOG_STACK=single for one file as before.
  • Subscribers keep receiving everything. Choosing services is something they do themselves, see Service subscriptions.
  • The cron line does more, but it stays the same line. See The one cron line.

An update never touches .env, so settings that came with later releases are not added for you. All of them are optional. Add the ones you need by hand:

SettingFor
PHAROS_WEB_CRON_TOKENWeb cron
PHAROS_PROBE_HUB, PHAROS_PROBE_TOKENAn installation that works as a probe location
PHAROS_WEBAUTHN_ORIGINPasskeys, when APP_URL has a folder in it
PHAROS_CHECK_RESULT_DAYSHow long raw check results are kept, 40 by default
LOG_DAILY_DAYS, LOG_STACKHow many daily log files are kept, 14 by default, or one single file

Remote backups

A remote backup sends a complete copy of your installation to storage of your own, once a day: an S3 bucket or an SFTP server. After each upload Pharos downloads the file again and compares it with the original, and only then calls it a success. Open Scheduler and backups under Installation. Only administrators of the installation can add, run or remove a destination.

The Remote backups card on Scheduler and backups: Backup passphrase marked Archives encrypted with fields for a new passphrase, an SFTP destination marked as used for the fallback copy, an S3 destination with its last success and Back up now, and the forms to add an S3 or SFTP destination
Remote backups. The backup passphrase at the top, then each destination with its last success. Back up now runs the same delivery as the daily job. A destination chosen for the fallback copy gets no backups. The data here is a demo.

What is in a backup

One zip file per run, named pharos-, the date and time and a random part, such as pharos-20261115-024500-3f9a1c0b7d2e4a68.zip. With a backup passphrase it is encrypted and ends in .zip.enc.

In the archiveDetail
The databaseOn SQLite a consistent copy, checked for integrity, as database/database.sqlite. On MySQL a dump made with mysqldump, as database/database.sql.
The application and .envThe code, and with a backup passphrase also your configuration, which includes APP_KEY. Without a passphrase .env is left out.
Uploads and public filesUnder public/, also when your public folder lives outside the application folder, as it does after the web installer.
Two notesBACKUP-LAYOUT.json records where the public files came from. BACKUP-README.txt holds the restore steps.
Left outvendor/, git data, caches, sessions, logs and the snapshots under Updates.

Keep the storage private. Without a passphrase the archive is not encrypted and holds your account data. Anyone who can read the bucket or the folder can read all of it.

Backup passphrase

Since 1.2.0 remote backups can be encrypted. Set a Backup passphrase of at least twelve characters at the top of the Remote backups card. From then on every archive is encrypted with it (Argon2id and XChaCha20 Poly1305), ends in .zip.enc and includes .env with APP_KEY. The passphrase is stored on the server, encrypted with APP_KEY, because the daily upload needs it. Keep a copy somewhere else: only the passphrase opens the archives.

Without a passphrase the archives are not encrypted and leave .env out. Then keep APP_KEY somewhere safe yourself: without it the encrypted fields in a restored database, such as two factor secrets and mail and backup credentials, cannot be read.

Open an encrypted archive on any machine with Pharos on it, also a fresh install that has no database yet:

php artisan pharos:backup:decrypt pharos-20261115-024500-3f9a1c0b7d2e4a68.zip.enc

It asks for the passphrase and writes the zip next to it; --out= chooses another place. Removing the passphrase later does not open the archives made with it.

Add a destination

Open S3 destination or SFTP destination, fill in the fields and press Add destination.

S3 fieldWhat to enter
NameYour own label for the destination.
HTTPS endpoint (optional for AWS)The address of an S3 compatible service. Leave it empty for Amazon S3. It must be HTTPS, without a user name, query or fragment in it.
Region, BucketAs your provider names them.
Folder prefixOptional. A folder inside the bucket.
Access key, Secret keyA key that may write and read objects in that bucket.
SFTP fieldWhat to enter
NameYour own label for the destination.
Host, PortThe server and its SSH port, 22 by default.
Username, PasswordThe account to sign in with. Sign in is by password; there is no field for a key file.
Verified server host fingerprintThe complete SHA256 or SHA512 fingerprint of the server's host key. Required.
Remote directoryAn absolute path on the server, /backups by default.
  • The fingerprint is what proves you are talking to your own server. Pharos accepts it as OpenSSH prints it (SHA256: followed by the base64 value) or as hexadecimal, with or without colons. Get it from the server itself or from your provider, not from a first connection you cannot check. Without a valid fingerprint Pharos does not connect.
  • Allow this destination on a private network: tick this when the storage has a private address, for example a server on your own network. Without it Pharos only connects to public addresses. This machine itself and link local addresses are refused either way.
  • Keys and passwords are stored encrypted and are never shown again. To change a destination, remove it and add it again.
  • An installation can have up to 10 destinations.
  • The destination chosen for the fallback copy gets no backups, because people may be able to read it. Its card says Used for the fallback copy. Backups do not go here.

When it runs

  • Every day at 02:45 UTC, from the cron line, to every destination. The command behind it is php artisan pharos:backup-remote.
  • Back up now on a destination does the same at once.
  • Each destination shows Last success. After a failure it shows one short line and no details: check the address, the credentials and whether the server can reach the storage.
  • A delivery gets five minutes in total. A very large installation on a slow line may not fit in that.
  • Pharos never deletes old backups at the destination. Set a lifecycle rule on the bucket or clean the folder yourself, or the storage fills up.

On SQLite the backup needs PHP's sqlite3 and zip extensions. On MySQL it needs the mysqldump program on the server, and tables of a transactional type such as InnoDB for a consistent dump. After the first run, open the archive and check that the database is in it.

Restore

  1. Stop the cron line, so nothing writes while you restore.
  2. An encrypted archive (.zip.enc): open it first with php artisan pharos:backup:decrypt.
  3. Put the application files and .env back. Keep the original APP_KEY: without it the stored destination credentials and the two factor secrets cannot be read. An archive made without a passphrase has no .env: write it again with the APP_KEY you kept.
  4. Put the contents of public/ from the archive into the document root the site uses now. BACKUP-LAYOUT.json tells you where they came from.
  5. Put database/database.sqlite back, or import database/database.sql into MySQL.
  6. vendor/ is not in the archive. Install the dependencies from composer.lock with composer install --no-dev.
  7. Make sure storage/ and bootstrap/cache/ exist and are writable, run php artisan storage:link, and start the cron line again.

Try a restore on a separate installation before you rely on it.

Fallback copy

A status page on your own server goes down with that server, at the moment people need it most. Since 1.2.2 Pharos can keep a static copy of every published status page somewhere else, so visitors can still read the last state while the server is unreachable.

Switch it on

  1. Add an S3 or SFTP destination under Scheduler and backups, as for remote backups. Use a separate one: the destination chosen here gets no backups any more.
  2. Open Settings → General. Under Fallback copy, tick Keep a copy of the public page elsewhere, choose the destination under Where and press Save settings.
The Fallback copy setting under Settings, General: Keep a copy of the public page elsewhere switched on, Fallback copy host (SFTP) chosen under Where, the note that backups stop going there, and the time and size of the last copy
Settings → General, Fallback copy. Once a copy was made, the line under the destination shows when and how large. The data here is a demo.

From then on the scheduler checks every minute. When what a page says has changed, it saves that page as one HTML file at the destination: index.html for the default page and status/{slug}/index.html for the others. The file holds its own styles and images and has no scripts, no forms and no cookies, so it needs nothing from this server. A line at the top says Saved copy · <time> · this server may be unreachable, and it carries a noindex tag so search engines keep the real page. Links in it, such as those to incidents, still point at the real site. The card shows the last copy, its size, and the last error if there was one.

To upload every page now, also the unchanged ones:

php artisan pharos:fallback-copy --force
  • When this is your only backup destination, choosing it for the copy means no backups go anywhere. The settings screen warns you. Choose no destination to let backups go there again.
  • Copies of pages that are unpublished later stay at the destination until you remove them.

Serve the copy

  • S3: the files are written private, with Cache-Control: max-age=60. Turn the bucket into a website with index.html as its index document, and allow public reads of those files with a bucket policy. Leave the folder prefix of the destination empty, or serve that folder. On Amazon S3 a website reached through your own host name needs a bucket named after it, such as status.example.com.
  • SFTP: the files are readable for everyone on that server, so another web server there can serve the remote directory as its document root.

Open the copy at its own address now and then, so you know it works before you need it.

When the server is down

Point the status host name at the copy until the server is back: change the DNS record to the bucket website or the other web server, or switch the origin in your CDN. With a short TTL on that record, or a record that Cloudflare proxies, the change reaches visitors within minutes. Switch back when the server answers again; the live page then takes over, and the copy is updated again within a minute of the next change.

Web cron

Pharos needs its scheduler to run every minute, and normal cron is the way to do that. Some hosts offer no cron, or not every minute. There an outside service can start the scheduler with an HTTPS request. It is a fallback: use real cron wherever you have it.

Switch it on

  1. Make a random token of at least 32 characters, for example with openssl rand -hex 32, and put it in .env:
    PHAROS_WEB_CRON_TOKEN=<your token>
    An installation made with the web installer picks the change up by itself. If the configuration is cached, as after a manual install, run php artisan optimize:clear.
  2. Open Scheduler and backups under Installation. Only administrators see it. The card Web scheduler fallback says Credential configured once Pharos reads the token. The token itself is never shown.
  3. Tick Enable web scheduler and press Save. Without a token of 32 characters or more the switch refuses to go on.
  4. Let an outside scheduler call one of the two addresses on the card every minute, with the token in a header.
POST https://status.example.com/api/cron
GET  https://status.example.com/cron/run

Authorization: Bearer <your token>
curl -fsS -X POST https://status.example.com/api/cron \
  -H "Authorization: Bearer $PHAROS_WEB_CRON_TOKEN"

The token only works in the header. Pharos does not read it from the address, because addresses end up in access logs. A service that can only call a plain URL, with nowhere to set an Authorization header, cannot be used.

What the call answers

AnswerMeaning
200 with {"ok":true}The scheduler ran.
401The token is missing, wrong, or shorter than 32 characters in .env.
404The switch is off.
409An earlier web call is still running. Nothing is lost; the next call picks up.
429More than 2 calls in a minute.
503The scheduler ran but reported a failure. Look in the log.

To stop it, untick the switch, or change the token in .env. Pharos shows the same scheduler warning in the admin as with cron when no run arrives, so you notice when the outside service stops calling.

Users, SSO and two factor

There are two kinds of account. Admin manages users, updates, API tokens, branding, mail templates and the audit log on every page; user works on the pages assigned to them, with a role per page. The first account is an admin. Login is throttled at five attempts per email and IP with a five-minute lockout, and at twenty attempts per IP for all accounts together. Passwords are at least twelve characters. Remember me keeps you signed in for 30 days.

You cannot delete the account you are signed in with, and you cannot delete the last account: locking everyone out of a self-hosted install is not recoverable through the interface. Forgot password? on the sign in screen mails a link to set a new password, which needs working mail settings. Without mail, recover from the shell:

php artisan pharos:user you@example.com --password='a-new-long-password'

Since 1.1.0 the admin menu can sit in the sidebar, as before, or in a top bar with six sections (Overview, Services, Incidents, Audience, Appearance, Setup) and the screens of the open section on a second row. Choose under Profile, under Preferences, next to the theme, then Save preferences. Every screen also has a quick switch next to the theme switch; like the theme, that choice stays in your browser until you save a preference. On a phone the menu is always a drawer. Both menus follow the same rules, so a user never sees a screen in one that the other would hide.

The sign in page

Since 1.2.0 the sign in page comes in two layouts. Simple is the form with one line about the state of your services. With status puts the form beside a panel with the state of the default status page: the headline, what is affected and the last message. It shows only what that public page shows to anyone, and only while it is published. An administrator chooses under Profile, under Preferences, at Sign in page; the choice counts for everyone who signs in to this installation.

The Simple sign in page: email, password, Stay signed in on this device, Sign in and Passkey, with one line under the form that says 1 service is partly down and a link to the status page
Simple. The form, with one line about the state of your services. The data here is a demo.
The With status sign in page: the form on the left, and on the right Right now, 1 service is partly down, the 90 day chart with 99.98% uptime, the latest incident Outbound email delayed and the next maintenance
With status. The form beside the state of the default status page: the headline, the chart, the latest incident and the next maintenance. The data here is a demo.

Roles per status page

Administrators see every page. Everyone else gets a role on each page they need: Read only views the page's screens and delivery history without check targets or integration credentials; Editor manages components, services, incidents, maintenance, subscribers and destinations; Page admin adds that page's branding, email, mail templates and API tokens. Installation settings, licences, users and creating or archiving pages stay with administrators. Lowering or removing a role takes effect at once, also in open sessions.

The Users screen: four accounts with counters for accounts, two factor and recent activity, and per account its page roles such as Page admin, Editor and Read only, two factor state and last seen
Installation → Users. Every account with its role per page, two factor state and when it was last seen. Filter by administrators or page users, or search by name or email.

Two factor

Each user turns on TOTP two factor for their own account under Profile: scan the QR code with any authenticator app, confirm one code, and it is on. It is asked for at every sign in afterwards, including a sign in through single sign on, so a second door never skips the gate. Lost the device? Turn it off for that account from the shell with php artisan pharos:2fa:disable you@example.com.

Switching it on also gives you ten recovery codes, shown once. Each one signs you in a single time when the authenticator app is not to hand.

A code from the app works once. Enter the same code a second time, for example because you signed out and straight back in, and Pharos answers: That code has already been used. Wait for the next one. Nothing is wrong with your app or your clock. Wait until the app shows a new code, at most 30 seconds, and enter that one. A code that is simply wrong gets a different answer: That code did not match.

To make two factor compulsory for administrators, switch on Require two factor for administrators under Settings → General. An administrator without two factor, you included, can then only open their profile until it is set up. It is off by default. For other accounts, tick the two factor requirement when you invite them.

The Sign in group under Settings, General with the switch Require two factor for administrators ticked On, and the note that an administrator without two factor can only open their profile until it is set up
Settings → General, Sign in. Set up two factor for your own account before you save this. The data here is a demo.

Passkeys are a separate way to sign in. They do not replace two factor: an account with two factor on is asked for its code after a passkey too.

Single sign on (OpenID Connect)

Under Settings → Single sign on you can point Pharos at any OIDC provider: Authentik, Keycloak, Google Workspace, Entra ID. Fill in the issuer URL, client id and secret, register the redirect URI it shows you, and a Sign in with … button appears on the login screen.

People sign in, they do not appear. Someone signing in through your provider needs an account here already, matched on their verified e-mail address; an address nobody here uses is refused, not turned into a new account. Password sign in keeps working, so a provider that is down never locks you out. The switch is tested the moment you save it; a provider that cannot be reached will not switch on.

Passkeys

A passkey lets you sign in with your device or a security key instead of typing your email and password. Every account manages its own passkeys under Profile, in the card Passkeys. Password sign in keeps working next to it.

The Passkeys card on the profile page with two passkeys, a laptop with a fingerprint reader used two hours ago and a security key that was never used, and the form to add one with a name and the current password
Passkeys on your profile. The list shows when each passkey was last used. Adding one asks for a name and your current password.

Passkeys need an HTTPS hostname. They only work when you open the admin on an https:// address with a name, such as https://status.example.com. They do not work on an IP address, not even with HTTPS, and they do not work over plain HTTP. On plain HTTP the buttons stay off and Pharos says: Passkeys are unavailable here. Use a supported browser on the configured HTTPS hostname.

Add a passkey

  1. Open Profile and find the card Passkeys.
  2. Type a Passkey name you will recognise, such as the device it lives on, and your Current password.
  3. Press Add passkey. The browser asks you to confirm with the device or the key. The passkey then appears in the list, with when it was last used.

To remove one, open it in the list, type your Current password and press Remove passkey. An account can hold up to 10 passkeys.

Adding or removing a passkey always asks for the account's own Pharos password. That is also true when you normally sign in through single sign on: the password of your identity provider does not work here. If you do not know your Pharos password, set one first with Forgot password? on the sign in screen.

Sign in with a passkey

On the sign in screen, press Sign in with a passkey. You do not type an email address: the browser offers the passkeys it holds for this site, and the device asks you to confirm.

  • If your account has two factor on, Pharos asks for the code after the passkey, as it does after a password.
  • A passkey does not count as two factor. If an administrator requires two factor for your account, you still have to set that up.
  • Keep your password, and your recovery codes if you use two factor. A lost device should never be your only way in.

For the administrator of the installation

Usually there is nothing to set. A passkey is tied to the address of the admin, and Pharos takes that address from APP_URL. So APP_URL must be the exact HTTPS address people open, name and port included.

APP_URL=https://example.com/status
# only needed when APP_URL has a folder in it, as it does here
PHAROS_WEBAUTHN_ORIGIN=https://example.com
  • PHAROS_WEBAUTHN_ORIGIN is the scheme, the hostname and, if you use one, the port. No folder and nothing after it. When Pharos runs in a folder, as in the example, set it to the address without the folder. Without a folder you can leave the setting out.
  • A passkey belongs to the hostname it was made on. Move the admin to another hostname and the existing passkeys stop working: everyone adds new ones on the new address. Passwords are not affected.
  • Adding and removing a passkey is written to the audit log.

Audit log

Every change made from the admin or through the API is written to the Audit log, under Installation: who did it, when, from which IP, and what changed. The automatic checks are not logged there: nobody made them, and they would bury the human actions that matter. Filter by person or by what was touched, and Download CSV exports exactly what the filter shows (with a UTF-8 marker so Excel reads accented names correctly).

It is a record, not a backup: nothing here is edited or deleted from the interface, and lines are pruned once they pass the retention window set under Settings → General. Only administrators of the installation can open it and download it. Page users, page admins included, do not see it, because it covers every page and every colleague's address.

Troubleshooting

Checks are not running

  1. Prove the runner works: php artisan pharos:check --force. If that works but nothing happens on its own, the scheduler is the problem.
  2. Prove the scheduler fires: php artisan schedule:run, then check the cron line uses an absolute path and the right PHP binary. On Docker, docker compose ps; the scheduler must be up.
  3. Check the component is enabled. Disabled components are skipped entirely.
  4. If every HTTP check says No response, your host almost certainly has allow_url_fopen off or blocks outbound HTTP.
  5. Look in the log of today, storage/logs/laravel-YYYY-MM-DD.log. Pharos writes one file per day and keeps 14 days. The shipped log level is warning. An installation from before 1.0 may still have an old laravel.log next to them; it is no longer written to.
  6. No cron on the host at all? See Web cron.

A component is stuck down

  1. Run php artisan pharos:check --force and read the message beside it.
  2. For heartbeats, call the URL by hand. A 404 means the token is wrong; a 200 means Pharos is fine and your cron is not calling it.
  3. Check nothing else owns it. A workflow that also sets this component will fight the built-in check every minute, so pick one owner.

A DNS or keyword check fails while the site works

  1. Read the message with php artisan pharos:check --force. Expected text is missing, Expected DNS record is missing and DNS lookup failed each point at a different cause.
  2. Expected text is compared exactly, capitals included, and is not looked for behind a redirect. Check the address serves the page itself and that the response is smaller than 1 MiB.
  3. For DNS, compare with what the server itself resolves. An MX value is the priority, a space and the hostname. A TXT value must match the whole record.

A component sits on Degraded performance

  1. Open the component and read the date after TLS certificate expires. With 3 days or less left, Pharos sets the component to Degraded performance. Renew the certificate and the next healthy run sets the component back.
  2. If the check has probe locations, open Services → Probe locations. A line with missing or stale means too few locations reported in time to decide.
  3. On the remote installation, run php artisan pharos:probe-remote by hand. It tells you when the hub address or the credential is refused. Check there that the cron line runs and that the hub address starts with https://.

The admin looks stale

Admin pages already send no-store, so the browser cannot serve you a screen the server never rendered. If it persists, something in front of Pharos is caching, so exclude /admin/* from it. After editing .env, run php artisan optimize:clear.

Mail is not sending

  1. Open Settings → Central mail and press Send test email. The result tells you whether the connection works before any subscriber is involved.
  2. What is saved there wins; anything left blank falls back to the MAIL_* lines in .env. The screen shows the effective sender and host it will use.
  3. Subscriber mail is sent from the cron line, so confirm the scheduler is firing (see above); a paused scheduler means no confirmation and no incident mail.
  4. Nothing arrives but the test passes? Check the address is confirmed under Subscribers; an unconfirmed address is never mailed.
  5. One subscriber misses an incident that others got? That address may follow only some services. A subscriber who chose services is not mailed about the others. See Service subscriptions.

A team notification does not arrive

  1. Open Integrations & API → Send out. A destination that is Failing has a hint in words next to it.
  2. Open Delivery log and filter on that destination. Every attempt is there with its result; a message that is Retrying waits for its next attempt.
  3. Send test works but real incidents do not arrive? Check the scheduler, which sends the queue, and that the destination ticked that moment. A page that is not published sends nothing.
  4. See Delivery and retries.

Visitors see an older page

The public pages may be cached for 30 seconds by a proxy or CDN, and served a little longer while the cache refreshes. That is on purpose. If a page stays old for minutes, the cache in front ignores the headers Pharos sends; see Caching, cookies and a CDN.

Signing in

  • "That code has already been used. Wait for the next one." A two factor code works once. Wait for the app to show a new code and enter that.
  • The passkey button is greyed out. You are on plain HTTP, or the browser has no passkey support. Passkeys need an HTTPS hostname, see Passkeys.
  • "Passkey sign in failed" on an address that is an IP, or after the hostname changed. A passkey only works on the hostname it was made on, and never on an IP address. Sign in with your password.
  • Adding a passkey refuses your password. It wants the password of the Pharos account, not the one of your single sign on provider.

Web cron and remote backups

  • The web cron call answers 404. The switch Enable web scheduler is off.
  • It answers 401. The header is missing or the token differs from PHAROS_WEB_CRON_TOKEN. A token in the address is not read.
  • A remote backup fails. The screen shows one short line on purpose. Check the credentials, and for SFTP the fingerprint. A storage server with a private address needs Allow this destination on a private network.
  • The PDF report does not download. Check that PHP's dom extension is loaded.

Written against the shipping source. If something here does not match what you see, the source is right and this page is wrong. Please say so.