Promotheus under Windows without docker

142 views
Skip to first unread message

Jörg

unread,
Apr 3, 2019, 2:06:15 AM4/3/19
to Prometheus Users
Hello,

we want to monitor our Windows Server (EC2/RDS in AWS) with Prometheus and encountered some problems after installing it.

The WMI Exporter is installed on the servers and provides data. Service Discovery with AWS works.


1st problem: When installing Cloudwatch Explorer under Windows (without Docker) a JAVA error occurs (tried with OpenJDK and .AWS Corretto 11 JDK) which is not possible.

C:\Prometheus\Cloudwatch Exporter>C:\Prometheus\openjdk-12_windows-x64_bin\jdk-12\bin\java.exe -jar cloudwatch_exporter-0.5.0-jar-with-dependencies.jar 9106 config.yml
Exception in thread "main" java.lang.IllegalArgumentException: Unknown signal: HUP
        at java.base/jdk.internal.misc.Signal.<init>(Signal.java:148)
        at jdk.unsupported/sun.misc.Signal.<init>(Signal.java:139)
        at io.prometheus.cloudwatch.ReloadSignalHandler.start(ReloadSignalHandler.java:12)
        at io.prometheus.cloudwatch.WebServer.main(WebServer.java:27)




2. how can you get Prometheus Alertmanager to send its messages to an AWS Lambda, having found only one solution for Go, Linux and Docker ?



I hope you can help me.



Thanks a lot



Jörg

David Carpenter

unread,
Apr 8, 2021, 9:20:55 AM4/8/21
to Prometheus Users
Hey
 Did you manage to fix this i am also trying to do the same and run on windows without docker.
Reply all
Reply to author
Forward
0 new messages