Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Create Service

Prometheus

...

Code Block
echo Installation Node ExporterPrometheus
D:\otx\sw\otwatch\nssm.exe install otwatch_clientprometheus "D:\otx\sw\otwatch\prometheus_node_exporter\windows_exporter-0.15.0-amd64\prometheus.exe"
D:\otx\sw\otwatch\nssm.exe set otwatch_clientprometheus AppDirectory "D:\otx\sw\otwatch\prometheus_node_exporter"
D:\otx\sw\otwatch\nssm.exe set otwatch_clientprometheus AppParameters "--config.file=D:\otx\sw\otwatch\prometheus_node_exporter\config.yml"
prometheus.yml --web.enable-admin-api   --web.external-url=https://FQDN/prometheus  --web.route-prefix="/"  --storage.tsdb.retention.time="365d"  --log.level=debug"
D:\otx\sw\otwatch\nssm.exe set otwatch_clientprometheus DisplayName otwatch_clientprometheus
D:\otx\sw\otwatch\nssm.exe set otwatch_clientprometheus Description otwatch clientprometheus node exporter for prometheus
database
D:\otx\sw\otwatch\nssm.exe set otwatch_clientprometheus Start SERVICE_AUTO_START
net start otwatch_clientprometheus
pause

Prometheus Node Exporter

Code Block
echo Installation Node PrometheusExporter
D:\otx\sw\otwatch\nssm.exe install otwatch_prometheusclient "D:\otx\sw\otwatch\prometheus\prometheus_node_exporter\windows_exporter-0.15.0-amd64.exe"
D:\otx\sw\otwatch\nssm.exe set otwatch_prometheusclient AppDirectory "D:\otx\sw\otwatch\prometheus_node_exporter"
D:\otx\sw\otwatch\nssm.exe set otwatch_prometheusclient AppParameters "--config.file=D:\otx\sw\otwatch\prometheus_node_exporter\prometheus.yml --web.enable-admin-api   --web.external-url=https://FQDN/prometheus  --web.route-prefix="/"  --storage.tsdb.retention.time="365d"  --log.level=debug"
config.yml"
D:\otx\sw\otwatch\nssm.exe set otwatch_prometheusclient DisplayName otwatch_prometheusclient
D:\otx\sw\otwatch\nssm.exe set otwatch_prometheusclient Description otwatch client node exporter for prometheus database
D:\otx\sw\otwatch\nssm.exe set otwatch_prometheusclient Start SERVICE_AUTO_START
net start otwatch_prometheusclient
pause

Prometheus Blackbox Exporter

...