nksft / graylog2-plugin-exec

An alarm callback plugin for executing a script on Graylog2's server.
MIT License
11 stars 14 forks source link

Notification test is working but not when triggered by the alerts #5

Open joaopsys opened 6 years ago

joaopsys commented 6 years ago

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