I need to do something like this as well, but as we're already using a
ticketing system that can read emails and open cases from those, I'm just
going to use emailed alerts from graylog into the ticketing system.  I just
need to find out what the email format required is to be.


On Tue, Dec 15, 2015 at 6:24 AM, JohanE <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/graylog2/8cc1aedd-490a-4e7c-a09d-a16b5c2704ae%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson

-- 
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/CAL5rfGWHxTxU3aGwJ7kstk0Ww5_tPsBREEgZOps9wzE%2BGkmO3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to