nksft / graylog2-plugin-exec Goto Github PK
View Code? Open in Web Editor NEWAn alarm callback plugin for executing a script on Graylog2's server.
License: MIT License
An alarm callback plugin for executing a script on Graylog2's server.
License: MIT License
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
The notification is sent when the alert is triggered, since the test worked flawlessly.
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'
Hello Guys,
Is this plugin working on Graylog V4.0.9
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
Graylog triggers an alert and it shows that a bash command has been executed but myscript is not run.
bashCommand: php /root/test.php
how can i use these variables via bash scripts? it seems ${stream.title} not work,could you plz show me a example how to use it,thanks
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
Can this plugin be installed on a Graylog 3 server?
Thx!
Can you please update the plugin so it can be compatible with Graylog version 4.0.9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.