Skip to content

infrasonar/infrasonar-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Release Version

InfraSonar Client

The InfraSonar client is a command-line application which can be used to manage assets for a container. The tool has two main features. One is to read all assets from a container to YAML or JSON output. Zones labels and collectors are included. The other feature of this tool is to apply a YAML or JSON file to InfraSonar. These two features combined allow you to easily add new assets as well as managing existing assets for a container.

1. Download the latest version:

If your platform is not listed above, refer to the build from source section for instructions.

2. Extract the contents of the archive using a tool like tar. Here's an example for Linux (amd64):

tar -xzvf infrasonar-linux-amd64-1.0.4.tar.gz

3. Install:

The following command will install infrasonar in path and enables bash completion if supported by the OS.

sudo ./infrasonar install

Mac OS specific:

If you get the error message:

Apple could not verify “infrasonar” is free of malware that may harm your Mac or compromise your privacy.

Ensure you downloaded the binary from a trusted source (https://github.com/infrasonar/infrasonar-cli/)

Manually remove the "quarantine" flag that macOS attaches to the file. Open your Terminal and run:

xattr -d com.apple.quarantine ./infrasonar

4. Create a new configuration:

infrasonar config new

Finally, give your configuration a name and provide a token

Name: foo
Token: ***********

Build from source

Clone this repository and make sure Go is installed.

CGO_ENABLED=0 go build -o infrasonar

About

InfraSonar Client

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors