Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
echo "Installation Prometheus"
D:\opentext\sw\otwatch\nssm.exe install otwatch_prometheus "D:\opentext\sw\otwatch\prometheus\prometheus.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_prometheus AppDirectory "D:\opentext\sw\otwatch\prometheus"
D:\opentext\sw\otwatch\nssm.exe set otwatch_prometheus AppParameters "--web.enable-admin-api --web.external-url=https://chst2v212.pilatus-aircraft.com/prometheus --web.route-prefix="/prometheus" --storage.tsdb.retention.time="30d" --log.level=debug --web.enable-lifecycle"
D:\opentext\sw\otwatch\nssm.exe set otwatch_prometheus DisplayName otwatch_prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_prometheus Description otwatch prometheus database
D:\opentext\sw\otwatch\nssm.exe set otwatch_prometheus Start SERVICE_AUTO_START
net start otwatch_prometheus
pause
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 Blackbox Exporter"
D:\opentext\sw\otwatch\nssm.exe install otwatch_blackbox "D:\opentext\sw\otwatch\prometheus_blackbox_exporter\blackbox_exporter.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_blackbox AppDirectory "D:\opentext\sw\otwatch\prometheus_blackbox_exporter"
D:\opentext\sw\otwatch\nssm.exe set otwatch_blackbox AppParameters "--config.file=D:\opentext\sw\otwatch\prometheus_blackbox_exporter\blackbox.yml"
D:\opentext\sw\otwatch\nssm.exe set otwatch_blackbox DisplayName otwatch_blackbox
D:\opentext\sw\otwatch\nssm.exe set otwatch_blackbox Description otwatch blackbox exporter for prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_blackbox Start SERVICE_AUTO_START
net start otwatch_blackbox
pause
echo "Installation Prometheus Alert Manager"
D:\opentext\sw\otwatch\nssm.exe install otwatch_alertmanager "D:\opentext\sw\otwatch\prometheus_alertmanager\alertmanager.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_alertmanager AppDirectory "D:\opentext\sw\otwatch\prometheus_alertmanager"
D:\opentext\sw\otwatch\nssm.exe set otwatch_alertmanager AppParameters "--config.file=D:\opentext\sw\otwatch\prometheus_alertmanager\alertmanager.yml"
D:\opentext\sw\otwatch\nssm.exe set otwatch_alertmanager DisplayName otwatch_alertmanager
D:\opentext\sw\otwatch\nssm.exe set otwatch_alertmanager Description otwatch Alert Manager for prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_alertmanager Start SERVICE_AUTO_START
net start otwatch_alertmanager
pause
echo "Installation Prometheus Pushgateway"
D:\opentext\sw\otwatch\nssm.exe install otwatch_pushgateway "D:\opentext\sw\otwatch\prometheus_pushgatewayr\pushgateway.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_pushgateway AppDirectory "D:\opentext\sw\otwatch\prometheus_pushgateway"
D:\opentext\sw\otwatch\nssm.exe set otwatch_pushgateway AppParameters "--persistence.file="D:\opentext\sw\otwatch\prometheus_pushgateway\memory.txt" --persistence.interval=5m --web.route-prefix="/pushgateway""
D:\opentext\sw\otwatch\nssm.exe set otwatch_pushgateway DisplayName otwatch_pushgateway
D:\opentext\sw\otwatch\nssm.exe set otwatch_pushgateway Description otwatch Pushgateway for prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_pushgateway Start SERVICE_AUTO_START
net start otwatch_pushgateway
pause
echo "Installation Prometheus Proxy"
D:\opentext\sw\otwatch\nssm.exe install otwatch_proxy "D:\opentext\sw\otwatch\nginx\nginx.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_proxy AppDirectory "D:\OPENTEXT\sw\otwatch\nginx"
D:\opentext\sw\otwatch\nssm.exe set otwatch_proxy DisplayName otwatch_proxy
D:\opentext\sw\otwatch\nssm.exe set otwatch_proxy Description otwatch proxy for prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_proxy Start SERVICE_AUTO_START
net start otwatch_proxy
pause
echo "Installation Prometheus SNMP Exporter"
D:\opentext\sw\otwatch\nssm.exe install otwatch_snmp_exporter "D:\opentext\sw\otwatch\prometheus_snmp_exporter\snmp_exporter.exe"
D:\opentext\sw\otwatch\nssm.exe set otwatch_snmp_exporter AppDirectory "D:\opentext\sw\otwatch\prometheus_snmp_exporter"
D:\opentext\sw\otwatch\nssm.exe set otwatch_snmp_exporter DisplayName otwatch_snmp_exporter
D:\opentext\sw\otwatch\nssm.exe set otwatch_snmp_exporter Description otwatch_snmp_exporter for prometheus
D:\opentext\sw\otwatch\nssm.exe set otwatch_snmp_exporter Start SERVICE_AUTO_START
net start otwatch_snmp_exporter
pause
Add Comment