Nothing is being checked.
The scheduler last ran 4 days ago. It should run every minute.
Add this one line to cron:
Ask your host for the versioned CLI PHP path, then run
php artisan pharos:cron with that PHP. The web PHP selector does not configure cron.
Bring in
Let your monitoring and jobs keep this page up to date on their ownConnect a source
Pharos changes the component; you decide what sends itWhat knows whether it is healthy?
Pharos can also check websites and ports itself: set that on the component.- Only components without a built in check are listed, so two sources never fight.
Use a token with write access
The token proves the request comes from you. It only works for this page.A token is shown once, when it is created. Paste it where the examples say YOUR_TOKEN.
Copy this into your tool
In n8n add an HTTP Request node with these settings. In n8n add an HTTP Request node with these settings.In Uptime Kuma: Settings, Notifications, Setup notification, type Webhook.Call this from your script, a Zabbix media type or any tool that can send HTTP.Add one line to the end of your backup or cron job.RequestPUTHeaderhttps://demo-pharos.solutionmax.net/api/v1/components/9Status to sendAuthorization: Bearer YOUR_TOKENBody{"status": 1}The same as a shell commandcurl -X PUT 'https://demo-pharos.solutionmax.net/api/v1/components/9' -H 'Authorization: Bearer YOUR_TOKEN' -H 'Content-Type: application/json' -d '{"status": 1}'Existing clients may also send the token in an
X-Cachet-Tokenheader.This changes the component only. It does not open an incident or notify anyone.
Notification type: Webhook, method POST, body application/json. URL:POSTAdditional headers (JSON)https://demo-pharos.solutionmax.net/api/v1/integrations/kuma/9{"Authorization": "Bearer YOUR_TOKEN"}Kuma sends every change on its own. Up sets Operational, down sets Major outage, maintenance sets Under maintenance, pending changes nothing. Kuma's test button sends no state and is refused; test with a real monitor.Backups: call this at the end of the jobcurl -fsS -X POST https://demo-pharos.solutionmax.net/api/v1/heartbeat/hb_northwind_nightly
Expected every 1 day. Change
No check in on time: the component goes to Major outage. The next check in sets it back. The secret in the URL is the authorization; no token is needed.Need an incident with a message instead of a status change?
POST this to
https://demo-pharos.solutionmax.net/api/v1/incidentswith the same header. It appears on the page and is mailed to subscribers. Keep the returneddata.idand post follow ups tohttps://demo-pharos.solutionmax.net/api/v1/incidents/INCIDENT_ID/updates; send statusresolvedto close it.{ "name": "Service unavailable", "status": "investigating", "message": "We are investigating a service interruption.", "impact": "major", "components": { "9": "major_outage" } }
Already feeding this page
12 components- Pharos checksweb-01 (HTTP), web-02 (HTTP), Nameservers (TCP), web-03 (HTTP), IMAP and SMTP (TCP), web-04 (HTTP) and 4 more 10 running
- BackupsHeartbeat · last check in 22 Oct 21:05 Live
- Outbound queueAPI · last change 22 Oct 21:06 Set from outside
The other direction
To tell n8n or a chat when an incident opens, add a destination under Send out.