Add the repository to brew as a Tap.
brew tap symflower/vmutils-bin https://github.com/symflower/vmutils-binInstall 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.ymlyourself withinservice.argswith thepromscrape.configparameter.
- 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
gitto switch to a special branch or etc. - Run
brew reinstall vmagentto use the new branch/changes to the Formula for installing.