Hi, I am trying to find an easy way to update status in our monitoring system based on GL streams/alerts. Having a bash or python alertscript would be the easiest solution but I wasn't that successful so far. 1a. Tried to use biz.dfch.j.graylog2.plugin.alarm.execscript(*) as plugin in order to be able to trim alerts with a script. No luck though, gets: " javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: TypeError: Cannot call method "getSource" of null (<Unknown source>#13) in <Unknown source> at line number 13" everytime the alert is triggered when using vanilla bizDfchMessageAlarmScript.js. For some reason message is not populated with data.
1b. When i try to use python as scriptengine I get: org.graylog2.plugin.alarms.callbacks.AlarmCallbackConfigurationException: python: Unsupported script engine. Found an old thread about unsupported script engine but TBH I didn't understand the explanation/instruction. (*)The plugin was d/l from git clone git://github.com/dfch/biz.dfch.j.graylog2.plugin.alarm.execscript.git and built using "mvn package" graylog-server-1.3.0-3.noarch 2. Found no way to configure the http alerts, is it possible ? Things like cert validation (i.e. no validation) and custom JSON would be excellent Any help appreciated :-) BR Johan -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/8cc1aedd-490a-4e7c-a09d-a16b5c2704ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
