Error while installing Prometheus tool with a Probot App

  bash, docker, dockerfile, probot, prometheus

I am trying to install the Prometheus monitoring tool with probot app and the steps are

step 1: I cloned the https://github.com/ucdavis/WEB1066-prom repository for installing the Prometheus tool.

step 2: After cloning, I run the scripts to build a docker container

bash script/build.sh

Step3: To test it I have to run the command, this command is to test it locally, but it’s giving me an error

Bash script/server_local.sh

Error:

script/server_local.sh: line 7: ifconfig: command not found
Arguments are
Working with 8080
: not foundoint.sh: line 8:
Configure
PROBOT_HOST => : No such file or directoryheus.yml : not foundoint.sh:
line 13:
Starting up server
Error parsing commandline arguments:
unexpected
prometheus: error: unexpected
/bin/entrypoint.sh: line 16:
–storage.tsdb.path=/prometheus: not found
/bin/entrypoint.sh: line 17: –web.console.libraries=/etc/prometheus/console_libraries: not
found
/bin/entrypoint.sh: line 18:
–web.console.templates=/etc/prometheus/consoles: not found
/bin/entrypoint.sh: line 19:
–config.file=/etc/prometheus/prometheus.yml: not found
: not foundoint.sh: line 20: –web.listen-address=0.0.0.0:8080

I am working on this for the last 3 days and stuck with this problem. I have searched for a lot. Kindly, help would be appreciated. Also, see the documentation on the Github repository

https://github.com/ucdavis/WEB1066-prom

Source: Docker Questions

LEAVE A COMMENT