Benchdog Uptime
A VS Code extension for knowing your sites, servers and services are up, from your own network. A project names the URLs, certificates, domains, hosts, ports, DNS records, mail and FTP servers, scheduled jobs and servers with the agent to watch; the Estate view shows each one coloured by how it is, the Overview shows them as cards with their response time and uptime, and a page per monitor shows every check. All the work is done by the Benchdog engine (benchdog serve); this extension is the screen. A collector you install with benchdog uptime service install checks every monitor on its schedule around the clock, keeps the history in a database you choose, and sends the alerts; from VS Code a monitor is checked when you ask.

Your sites and servers in the editor you already have open.

One file says what to watch, never how to get in.
Install
Install it from the Marketplace in VS Code. The Benchdog engine ships inside the package for Windows (x64), so there is nothing else to install and no .NET needed. Mac and Linux are coming. The desktop app and the benchdog command for the same tool are at benchdog.dev.
What it does
- Estate view: an Uptime panel in the activity bar lists every
.uptime.json project in the workspace, and any you open from elsewhere, each with its monitors under it, in their groups when the project has them. A monitor's icon says how it is: green up, amber a warning (slow, or a certificate or domain expiring), red down, a slash for one the licence does not cover, and grey not checked yet; its line says what the last check found. With a history store, the states come from what the collector last saw.
- Check All Now (the button on a project, in the editor's title bar for a
.uptime.json, or the link at the top of the file) checks every monitor the licence covers from this computer, reporting each as it is done, and says how many are up. Check Now on one monitor does the same for it. A heartbeat is judged by the collector, so its check says so.
- Overview (the dashboard button) shows every monitor as a card in its group, coloured by how it is, with a line of its response time over the last hour and its uptime for the last 30 days, and beside the cards the latest alerts from the store, the newest first. A card or an alert opens its monitor.
- Monitor page: click a monitor to open it. It shows what the monitor is and its settings, how it is now, its response time with a line and its uptime over the last day, the last 30 days and the hours you choose, the check run here in full with its details, and every check the store keeps, each with where it was made and its details to open, with the newest from each location when more than one collector checks it. For a heartbeat the page shows the address it is called at, where a failure is reported, and the one line to add to a script, a cron job or a scheduled task, with curl and with PowerShell, each with a Copy button. Show Heartbeat Address on a heartbeat shows the same in a message.
- Hosts and the agent: a monitor with
"kind": "host" is a Windows server with the Benchdog Uptime agent installed, with Linux coming, which reports to the collector every minute: CPU, memory, each drive's free space, the services and processes you name, and event log errors; a late report is down. The project keeps only a hash of the agent's token. Make Host Token puts a new token on the clipboard, for the agent, and shows the tokenHash to put in the file. A host's page shows its latest report, CPU, memory and the least free disk as lines over the hours you choose, each drive, the services and processes with their state, the last event log errors, and an Agent section with the listener's address, its certificate's fingerprint and the lines that install the agent, with PowerShell, with the shell script or with benchdog uptime agent install, each with a Copy button. Show Agent Install Line on a host shows the same in a message. The reports need the history store.
- Blacklists: a monitor with
"kind": "blacklist" looks up a mail server's IPv4 address in host, or a domain and its mail servers' addresses, on 35 widely used blacklists every hour, through the resolver you give or this computer's, and for a domain judges its MX, SPF and DMARC records and the DKIM keys of the dkimSelectors you name. A listing is critical. Many lists refuse public resolvers, so ask through one of your own. A Spamhaus or Abusix key is kept with benchdog uptime blacklist key, never in the file.
- Network devices: a monitor with
"kind": "snmp" watches a switch, a firewall, a printer or a UPS over SNMP v2c or v3: it answers with its name and time up, the interfaces you name are up, with their traffic and errors since the last check, and the values you read stay within their limits. Keep the community, or the v3 passwords, with benchdog uptime password --monitor <name>, and --privacy for a v3 privacy password.
- Azure resources: a monitor with
"kind": "azure" watches a VM, an App Service or Function app, a Storage account, a Key Vault or a Service Bus queue by its resource id, as you, signed in to Benchdog, with what Azure Resource Health says of it. An installed collector service has no one signed in, so give such a monitor "signIn": "managedIdentity" on a machine whose managed identity has Reader on the resource.
- AWS resources: a monitor with
"kind": "aws" watches an EC2 instance, an RDS instance, an S3 bucket, an SQS queue or a Lambda function by its resource ARN, as you, with the AWS CLI's own sign-in and the profile you name. An installed collector service has no one signed in, so give such a monitor "signIn": "instanceRole" on an EC2 instance, ECS task or container whose role may read the resource.
- Maintenance: plan windows in the project file's
"maintenance", on a schedule for so many minutes or once from a time to a time, on the monitors and groups you name or every monitor. Start Maintenance... on a monitor, a group or a project starts one by hand now, kept in the history store so the collector takes it in its next round, and Maintenance... on a project lists them and ends one started by hand. No alert opens for a monitor in a window, its checks do not count against its uptime, and the tree marks it.
- Incidents: Write Incident Note... on a monitor, a group or a project opens an incident about it, with a title, how it stands (investigating, identified, monitoring or resolved) and a note, or adds a note to an open one; Incidents... on a project lists the open ones and those resolved in the last 30 days, with their notes. They are kept in the history store, for the status page, so never put a password or a secret in one. The tree marks a monitor with an open incident.
- Status page: a
"statusPage" in the project, with a path for the collector to write it to, "serve": true for its listener to serve it at /status, or both, shows the monitors you name, or every monitor, with how each stands and a bar a day for 90 days, the open incidents and the maintenance coming, as one HTML file with no script. Only names and states are shown, never an address. Preview Status Page on a project shows it as it is now.
- Alerts view: the alerts every project's store keeps open, the worst first. Click one to open its monitor.
- Test Project (the link at the top of a project file, or on a project) tries the project as the collector would: it reaches the store, checks every monitor once, looks for each alert channel's secret, and says what needs a look before you install the service.
- New Project (the + button) asks for a name, where to save the file, the first URL to watch, and whether to keep the history in a database, which can be SQL Watchdog's history store so one overview shows both, then writes the project to edit.
- Save Password keeps the password a URL, mail, FTP or SFTP monitor signs in with in the system's secure store, or for an SFTP monitor with
"signIn": "key" the private key from the file you pick, with its passphrase when it has one, and Forget Password removes it. Save Alert Channel Secret keeps a channel's SMTP password or webhook address the same way, and Send Test Alert shows a channel works.
- Project files: open one to get IntelliSense for every setting of every kind of monitor, its problems in the Problems panel on the line that names the monitor, and Check All Now and Test Project links at the top. A project file never holds a password or a secret.
- AI Assistant: pick a monitor in the Estate view and ask about it. The assistant sees the project, the monitor's settings and state, and the open alerts, and can list the monitors, check one, read its history, give a heartbeat's address, read a host's reports, give the lines that install its agent, and read the alerts. Bring your own Anthropic or OpenAI key.
Settings
| Setting |
Does |
benchdogUptime.enginePath |
Full path to the benchdog executable. Empty uses the one that ships with the extension. |
benchdogUptime.tenant |
Tenant id to sign in to for a history store that uses Entra. Empty means your home tenant. |
benchdogUptime.useAzureCli |
Sign in to a history store that uses Entra through your existing az login instead of the browser. |
benchdogUptime.refreshMinutes |
How often the views read each history store again while they are open. 5 by default; 0 turns it off. Monitors are only checked from VS Code when you ask. |
The settings are separate from the other Benchdog extensions', so they can all be installed together.
How it stays safe
- Checks read and connect, and change nothing, apart from the test message a mail monitor offers the server, which is never sent. A monitor's password is never sent in the clear unless its security is none.
- The extension keeps only the paths of project files you opened from outside the workspace; never a password or a secret. A password or a secret is given to the engine once and kept only in the system's secure store. It is never sent back, shown or logged. Error messages have values taken out.
- A heartbeat's address carries a token, and a host's agent sends one, so a guessed address does nothing. The project file keeps only the hash of an agent's token; the token is on the clipboard once, for the agent, and the install scripts ask for it rather than take it on a command line. Names, values and what a check found are set as text on the pages, so nothing from a server can become markup. A page is thrown away when hidden.
Diagnostics
Turn on the benchdogUptime.diagnostics setting to have the engine write a debug log of what it does, for finding out why something went wrong. Run Benchdog Uptime: Open Diagnostics Logs Folder to see the logs. Passwords, secrets, connection strings, tokens and your data are never written.
Trial and licence
Every Benchdog tool has a thirty day trial with every feature and no card: ask for one at benchdog.dev/trial. Uptime is licensed by the number of monitors: 30, 60 or 200, with 50 more at a time on top. The collector checks the first monitors in the project up to that number and marks the rest not licensed, and anyone on the team views with the collector's licence. Prices are at benchdog.dev/pricing. The licence is checked offline; the tool contacts benchdog.dev only when you ask it to, never in the background. The terms are in LICENSE.md and at benchdog.dev/terms.
Help and support
Getting started, how to do the common jobs, the questions people ask and what to try when something goes wrong: benchdog.dev/help/uptime. Something else? The support form, or support@benchdog.dev, and a person replies.
| |