Verifying Sensu downloads

Sensu tar archives are available for Linux, Windows, and macOS. See the installation guide for more information.

You can verify a Sensu download using SHA-512 checksums.

Windows

Download Sensu for Windows.

Invoke-WebRequest https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.1.0/sensu-go-5.1.0-windows-amd64.tar.gz  -OutFile C:\Users\Administrator\sensu-go-5.1.0-windows-amd64.tar.gz

Generate a SHA-512 checksum for the downloaded artifact.

Get-FileHash C:\Users\Administrator\sensu-go-5.1.0-windows-amd64.tar.gz -Algorithm SHA512 | Format-List

The result should match (with the exception of capitalization) the output from the following commands.

Invoke-WebRequest https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.1.0/sensu-go-5.1.0-windows-amd64.sha512sum -OutFile C:\Users\Administrator\sensu-go-5.1.0-windows-amd64.sha512sum

Get-Content C:\Users\Administrator\sensu-go-5.1.0-windows-amd64.sha512sum

macOS

Download Sensu for macOS.

curl -LO https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.1.0/sensu-go-5.1.0-darwin-amd64.tar.gz

Generate a SHA-512 checksum for the downloaded artifact.

shasum -a 512 sensu-go-5.1.0-darwin-amd64.tar.gz

The result should match the output from the following command.

curl -LO https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.1.0/sensu-go-5.1.0-darwin-amd64.sha512sum && cat sensu-go-5.1.0-darwin-amd64.sha512sum