Skip to content

Commands

Hunter Long edited this page Sep 16, 2020 · 3 revisions

statping

Running statping would any environment variables, parameters or flags added will start the server on localhost:8080.

Flags

  • --port Port address to run the HTTP server (default 8080)
  • --ip Run HTTP server as a different host (default: 0.0.0.0)
  • --verbose Set Verbose logging mode. (default: 2 [info])

statping version

Returns the current version number

statping update

Runs the install script to update Statping to the latest release on Github. On Unix systems, the binary is installed to /usr/local/bin/statping.

statping sass

This command will attempt to compile all .sass files in the assets directory.

statping env

Returns all environment variables being used while running Statping.

statping reset

This command will delete all assets, database files and config.yml.

statping export

Export all of your Statping services, groups, notifiers, users, announcements and incidents to a timestamped JSON file in the current directory. This file can be imported on another instance.

statping import <file.json>

Import services, notifiers and any other objects from an exported JSON file.

statping assets

The assets command will extract all of the JS, CSS, SCSS, and static images into the assets folder. It will create this folder if it has permission to in the current working directory.

statping env

This command will echo all of the known variables from the config.yml file, or from set environment variables.