hidapple / graylog-plugin-teams

Graylog event notification plugin to send messages to Microsoft Teams
GNU General Public License v3.0
33 stars 11 forks source link

Cannot get plugin to work on Graylog 3.1 #7

Closed tstasevych closed 4 years ago

tstasevych commented 5 years ago

I added Teams plugin to /usr/share/graylog-server/plugin directory, just as specified by server.conf file and restarted graylog-server. I am using Graylog 3.1.0+aa5175e on graylog (Private Build 1.8.0_222 on Linux 4.15.0-58-generic) - which is OVA deployed via vSphere.

Unfortuantely plugin doesn't show up. I have seen people had issue with it being HTML and not JAR, but that's not the issue:

 ubuntu@graylog:/usr/share/graylog-server/plugin$ file *
graylog-plugin-collector-3.1.0.jar:               Java archive data (JAR)
graylog-plugin-enterprise-3.1.0.jar:              Java archive data (JAR)
graylog-plugin-teams-1.1.1.jar:                   Java archive data (JAR)
graylog-plugin-threatintel-3.1.0.jar:             Java archive data (JAR)
LICENSE-ENTERPRISE:                               ASCII text
opsgenie-graylog-alarmcallback-1.3.3-RELEASE.jar: Java archive data (JAR)

Any help much appreciated!

hidapple commented 5 years ago

Thank you for reporting. As of Graylog 3.1.0, it seems alert UI has changed and notification functionality has updated as well. (https://docs.graylog.org/en/3.1/pages/streams/alerts.html) Now I can find graylog-plugin-teams in Legacy Alarm Callback. Did you check it?

hidapple commented 4 years ago

Because I have released 2.0.0 by https://github.com/hidapple/graylog-plugin-teams/issues/8 to support new notification type, now you can choose the Teams plugin as Notification Type. Please let me know again if you still have problems.

Thank you!

tstasevych commented 4 years ago

@hidapple , thank you for releasing new version. However, It still doesn't work for me.

ubuntu@graylog:/usr/share/graylog-server/plugin$ file *
graylog-plugin-aws-3.1.1.jar:                     Java archive data (JAR)
graylog-plugin-collector-3.1.1.jar:               Java archive data (JAR)
graylog-plugin-enterprise-3.1.1.jar:              Java archive data (JAR)
graylog-plugin-teams-2.0.1.jar:                   Java archive data (JAR)
graylog-plugin-threatintel-3.1.1.jar:             Java archive data (JAR)
LICENSE-ENTERPRISE:                               ASCII text
opsgenie-graylog-alarmcallback-1.3.6-RELEASE.jar: Java archive data (JAR)

I added graylog-plugin-teams-2.0.1.jar file to plugin directory, rebooted graylog, however still not getting Teams to show up as notification type, even for legacy callback. I am running Graylog v3.1.1+b39ee32.

Thank you!

Best regards, Tadey

hidapple commented 4 years ago

Ah, sorry I forgot to update README but Teams plugin 2.0.1 requires Gryalog version 3.1.3. You can probably see log message like below when starting up Graylog.

ERROR: org.graylog2.bootstrap.CmdLineTool - Plugin "Microsoft Teams Notification" requires version 3.1.3 - not loading!

Teams plugin 2.0.0 works with Graylog version 3.1.1.

Thank you for reporting the problem, I will update README

ghostproducer commented 4 years ago

Well, I`m running graylog on version Graylog 3.2.0-beta.4-SNAPSHOT, and Teams plugin 2.0.1 does not work. When I go to log page, it shows: Microsoft Teams Notification 2.0.1 Shohei Hida

But does not show the Microsoft Teams options on notification options.

hidapple commented 4 years ago

@ghostproducer Thank you for reporting the problem. I created new issue to handle your problem: https://github.com/hidapple/graylog-plugin-teams/issues/21