GithubHelp home page GithubHelp logo

graylog2-plugin-exec's People

Contributors

nksft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

graylog2-plugin-exec's Issues

Notification test is working but not when triggered by the alerts

Hi,

I've been trying the command execution alarm callback plugin and something weird is happening: When I create a notification and test it, it works without any issues. However when it is triggered by a real alert, I get

Error sending notification at 2018-01-30 09:09:20: No class found for type ir.elenoon.ExeCommandAlarmCallBack

Expected Behavior

The notification is sent when the alert is triggered, since the test worked flawlessly.

Current Behavior

Notification test is working, but when triggered by a real alert I get

'Error sending notification at 2018-01-30 09:09:20: No class found for type ir.elenoon.ExeCommandAlarmCallBack'

Steps to Reproduce (for bugs)

  1. Install https://github.com/nksft/graylog2-plugin-exec
  2. Create a test alert/notification
  3. Test notification
  4. Trigger the alert

Environment

  • Graylog Version: Graylog 2.3.2+3df951e
  • Operating System: CentOS Linux release 7.4

Graylog V4

Hello Guys,

Is this plugin working on Graylog V4.0.9

alert is being triggered but script not running

Hello,

I set permissions for user graylog to all path and verified that it can execute the script from cli, I even set graylog gid to zero but it didn't help - script still not being executed.

Is there any log file that I can look for the problem

Thanks
Ovad

Code to allow forwarding env variables

Hi,

I've done some changes to your code to allow sending some environment variables to the shell scripts. For now, I support: "${message}", "${alertDescription}" and "${alertCondition} but it's easy to add more.

I will be glad if you can add this code to your plugin.

Thanks for your work,

Regards,

Manuel Martínez

src.tar.gz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.