Requirement
Following software are requirement:
opentext Monitoring Agent 16.2.X
prometheus Download | Prometheus
Installations
echo Installation Node Exporter D:\otx\sw\otwatch\nssm.exe install otwatch_client "D:\otx\sw\otwatch\prometheus_node_exporter\windows_exporter-0.15.0-amd64.exe" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppDirectory "D:\otx\sw\otwatch\prometheus_node_exporter" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppParameters "--config.file=D:\otx\sw\otwatch\prometheus_node_exporter\config.yml" D:\otx\sw\otwatch\nssm.exe set otwatch_client DisplayName otwatch_client D:\otx\sw\otwatch\nssm.exe set otwatch_client Description otwatch client node exporter for prometheus D:\otx\sw\otwatch\nssm.exe set otwatch_client Start SERVICE_AUTO_START net start otwatch_client pause echo Installation Prometheus D:\otx\sw\otwatch\nssm.exe install otwatch_prometheus "D:\otx\sw\otwatch\prometheus\prometheus.exe" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppDirectory "D:\otx\sw\otwatch\prometheus" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppParameters "--config.file=D:\otx\sw\otwatch\prometheus\prometheus.yml --web.enable-admin-api --web.external-url=https://otwatch.emmi.ch/prometheus --web.route-prefix="/" --storage.tsdb.retention.time="365d" --log.level=debug" D:\otx\sw\otwatch\nssm.exe set otwatch_client DisplayName otwatch_prometheus D:\otx\sw\otwatch\nssm.exe set otwatch_client Description otwatch prometheus database D:\otx\sw\otwatch\nssm.exe set otwatch_client Start SERVICE_AUTO_START net start otwatch_prometheus pause echo Installation Prometheus Blackbox Exporter D:\otx\sw\otwatch\nssm.exe install otwatch_blackbox "D:\otx\sw\otwatch\prometheus_blackbox_exporter\blackbox_exporter.exe" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppDirectory "D:\otx\sw\otwatch\prometheus_blackbox_exporter" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppParameters "--config.file=D:\otx\sw\otwatch\prometheus_blackbox_exporter\blackbox.yml" D:\otx\sw\otwatch\nssm.exe set otwatch_client DisplayName otwatch_blackbox D:\otx\sw\otwatch\nssm.exe set otwatch_client Description otwatch blackbox exporter for prometheus D:\otx\sw\otwatch\nssm.exe set otwatch_client Start SERVICE_AUTO_START net start otwatch_blackbox pause echo Installation Prometheus Alert Manager D:\otx\sw\otwatch\nssm.exe install otwatch_alertmanager "D:\otx\sw\otwatch\prometheus_alertmanager\alertmanager.exe" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppDirectory "D:\otx\sw\otwatch\prometheus_alertmanager" D:\otx\sw\otwatch\nssm.exe set otwatch_client AppParameters "--config.file=D:\otx\sw\otwatch\prometheus_alertmanager\alertmanager.yml" D:\otx\sw\otwatch\nssm.exe set otwatch_client DisplayName otwatch_alertmanager D:\otx\sw\otwatch\nssm.exe set otwatch_client Description otwatch Alert Manager for prometheus D:\otx\sw\otwatch\nssm.exe set otwatch_client Start SERVICE_AUTO_START net start otwatch_alertmanager pause
Add Comment