I have been adding Riemann alerts for high CPU/disk usage/memory and encountered two issues that need fixing. That’s the downside. The upside is my Clojure is improving.
Anyway, error 1:
ERROR [2017-09-16 17:09:59,617] main - riemann.bin - Couldn't start clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Invalid token: /percent_bytes-used, compiling:(/etc/riemann/riemann.config:58:52)
No idea what is going on there. Can be hard to google this stuff. Might be a typo somewhere.
And error 2:
WARN [2017-09-16 17:56:17,775] defaultEventExecutorGroup-2-1 - riemann.config - riemann.email$mailer$make_stream__9273$stream__9275@552dcd79 threw com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com:587, 25; timeout -1
Wonder what is going on there? Same stuff works on other two instances. Another argument for Dockerising the whole thing. Did wonder whether this due to one of my nodes spamming gmail. Tomorrow’s problem. Made some progress but now time for a beer.