opsgenie / opsgenie-graylog-plugin Goto Github PK
View Code? Open in Web Editor NEWOpsGenie Graylog Alarm Callback Plugin
License: GNU General Public License v2.0
OpsGenie Graylog Alarm Callback Plugin
License: GNU General Public License v2.0
Hello,
It would be really interesting if we can push a new field "description" from Graylog to OpsGenie.
The purpose is to use the "Description" field provide by the OpsGenie alarm callback directly in the Graylog notification. With that, we can add a custom text in the alert notification like a specific process.
Thank you !
The priorities received from the Graylog plugin are always set to "P4 - Low" in the OpsGenie interface.
Graylog 2.3.2 & OpsGenie plugin 1.3.1
It looks like there is not a way to display in Opsgenie something like:
http://{graylog_url}}/messages/{message.index}/{message.id}
Due to there is not a way to send the graylog elasticsearch index and the message id as part of the message fields
Regards
Daniel
Hello
We've noticed that alerts that are opened in OpsGenie are not automatically resolved inside OpsGenie once the alert clears in Graylog itself. We suspect this is a shortcoming of how Graylog handles alert callbacks and that this is the expected behaviour.
Is this really the case, or should the alerts in OpsGenie close automatically via the plugin?
Thanks,
Bernd
Hi,
Getting this trying to install opsgenie-graylog-alarmcallback-1.3.0-RELEASE onto a CentOS 7 system:
sudo rpm -ivh --test opsgenie-graylog-alarmcallback-1.3.0-1.noarch.rpm
warning: opsgenie-graylog-alarmcallback-1.3.0-1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 4fec4663: NOKEY
Preparing... ################################# [100%]
package opsgenie-graylog-alarmcallback-1.3.0-RELEASE_1.noarch is intended for a different operating system
The RPM was built on a mac, and as such, will not install like on this linux.
rpm -qpi opsgenie-graylog-alarmcallback-1.3.0-1.noarch.rpm
warning: opsgenie-graylog-alarmcallback-1.3.0-1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 4fec4663: NOKEY
Name : opsgenie-graylog-alarmcallback
Version : 1.3.0
Release : RELEASE_1
Architecture: noarch
Install Date: (not installed)
Group : Application/Internet
Size : 16485
License : (c) null
Signature : RSA/SHA1, Wed 18 Oct 2017 06:52:26 AM GMT, Key ID d471f82c4fec4663
Source RPM : opsgenie-graylog-alarmcallback-1.3.0-RELEASE_1.src.rpm
Build Date : Wed 18 Oct 2017 06:52:26 AM GMT
Build Host : Beners-MacBook-Pro.local
Relocations : /usr
Summary : opsgenie-graylog-alarmcallback
Description :
Graylog opsgenie-graylog-alarmcallback plugin.
Please build the rpm for linux, or specific the rpm is for darwin.
Cheers,
fred
Plugin loaded successfully however does not appear in UI
Steps performed: https://docs.graylog.org/docs/plugins#installing-and-loading-plugins
Using docker graylog 3.3.6 version
Logs:
2021-11-09 08:14:06,385 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: OpsGenie Alarm Callback 1.3.15-RELEASE [com.opsgenie.plugin.graylog.OpsGenieAlarmCallback]
Graylog 4.1 will deprecate its legacy callbacks, so this plugin will stop working with newer versions. Is there plans for a new version?
Hello,
Is-it possible to change the description sent from Graylog to Opsgenie ?
Currently graylog send the stream name, is it possible to change it or to add the Graylog notification name ?
It's better, because the stream name is not really important in the alerting.
Thanks a lot,
Hi,
We have graylog 2.5 and would like to use the plugin into Opsgenie. It seems the current v1.3.3 does not work. i keep getting errors. Is there plans to greate or is there a plugin for graylog 2.5?
Regards
Tyron
Graylog version 2.3.1
Opsgenie version 1.2.1-SNAPSHOT
After setting up inputs, streams, and rules in graylog. I am able to send a test alert for my desired rule. The alert shows in graylog logs.
com.opsgenie.plugin.graylog.OpsGenieGraylogClient - Successfully sent alert creation request to OpsGenie. Message: Request will be processed RequestId: 2018f75c-c7d9-4619-b440-bb3f663b093a
When a real alert is fired. I can see the log in the stream and then see the alert, but no notification/alert is sent to Opsgenie, even when a alert is showing up as triggered.
I do not see any errors or logs in graylog logs.
Opsgenie 1.2.1-SNAPSHOT was working with graylog version 2.3.0.
We have "Show fields" as blank in Graylog, so per the comments we are expecting all fields to push over to ops genie. Looking at the code, it looks like these should populate in the description field, but we are only seeing the the result description, stream and trigger condition. In looking at the code, it's as if it's not passing this line:
if (checkResult.getMatchingMessages().size() > 0) {
However, not sure how to validate what checkResult.getMatchingMessages().size() is?
Hello,
I have an error with the latest versions of Graylog (2.3.2) & OpsGenie plugin (1.3.0):
Sending test alert notification failed with message: Error while creating alert at OpsGenie. Response: {"code":406,"message":"Could not find acceptable representation","took":0.001,"requestId":"0cf1718f-6c22-4011-bc8e-ab9074d21fcd"}
We are using Graylog v2.4.3 and it seems this plugin written for v2.3.1. I tried following the steps to install this plugin, but there is no 'Alarm' and 'Callbacks' available with v2.4.x Graylog.
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.