Skip to content

NoirCon Shell Homebrew ​

Reading Time

Reading time for this document is 1 minute for 257 words.

NoirCon checks whether websites, servers and network services are reachable, and notifies you when one stops responding and again when it comes back. Notifications can go to your desktop (macOS, Linux and Windows) or to your phone through Pushover.

What it can check ​

CheckWhat it tests
HTTPA website or URL responds.
PINGA host or IP address answers a ping.
TCPA port accepts connections, such as 443 or 22.
UDPA UDP service answers, such as NTP on port 123.
DOMAINA domain registration is not about to expire.
CERTA site's TLS certificate is not about to expire.

Features ​

  • Monitor many addresses at once, with configurable check intervals
  • Pushover and native desktop notifications
  • Run a custom script when a check reports FAIL, PASS, RECOVERED or UNKNOWN
  • Detailed error reporting and verbose logging
  • Background execution

Install ​

On macOS with Homebrew:

sh
brew install binarynoir/noircon/noircon

On Linux, macOS or Windows (in Git Bash), you can instead clone the repository and run the script directly. It needs Bash 4 or newer and curl. Desktop notifications also need notify-send on Linux or PowerShell on Windows.

sh
git clone https://github.com/binarynoir/noircon.git
cd noircon
chmod +x noircon

If you installed from a clone, type ./noircon instead of noircon in the commands below.

First run ​

NoirCon reads the list of things to check from its configuration file, so create that first:

sh
# Create a configuration file (~/.config/noircon.json on macOS and Linux)
noircon --init

# Open it in your editor and add the addresses to check under "connections"
noircon --edit-config

# Run the checks
noircon

# Run in the background, and stop it later
noircon --start
noircon --stop

noircon --help lists every option. The README has an example entry for each check type, plus instructions for running NoirCon as a service with systemd, launchd or Windows, and with Docker.

NoirCon on GitHub · Homebrew tap

Code released under the MIT License. BinaryNoir name and logos are trademarks of BinaryNoir. Legal · Terms · Privacy