Add the repository to brew as a Tap.
brew tap symflower/vmutils-bin https://github.com/symflower/vmutils-bin
Install vmagent
with:
brew install vmagent
- The services parameters can be changed by modifying the file
#{etc}/vmagent/service.args
. - The scrape config can be changed by modifying the file
#{etc}"/vmagent/scrape.yml
. - Please note that you have to provide the path to the
scrape.yml
yourself withinservice.args
with thepromscrape.config
parameter.
- To start the service and registering it to run at boot use
brew services start vmagent
.
It is possible to change the Formular file before installing the package.
- Go to
/opt/homebrew/Library/Taps/symflower/homebrew-vmutils-bin
(Note: This is the homebrew path for M1 Macs) - Use
git
to switch to a special branch or etc. - Run
brew reinstall vmagent
to use the new branch/changes to the Formula for installing.