Commit Graph
57 Commits
Author SHA1 Message Date
celalemreandNeil Lathwood 973764e7d3 alerts: Added OpsGenie transport. (#7392)
* Add OpsGenie transport.

* Log response body from OpsGenie only when an error occurs.

* Move OpsGenie SQL config to a new sql file.
2017-09-28 21:20:21 +01:00
Tom SealeyandNeil Lathwood 4c3562ea0f alerts: Added Slack mrkdwn support in alert messages (#7202) 2017-09-01 14:50:13 +01:00
Aldemir AkpinarandNeil Lathwood a2a1174033 Added log events for jira transport (#7059)
* Added log events for jira transport

* Resolve jira ticket bug for normal alerts
2017-07-20 20:09:33 +01:00
Aldemir AkpinarandNeil Lathwood c592f901b0 feature: Added jira alert transport (#7040)
* feature: added jira transport

* Trying to fix travis-ci sql problem

* Surpress mysql warnings

* Fix for typo

* Update Alerting.md
2017-07-19 16:25:03 +01:00
pblasquezandNeil Lathwood a075997539 alerts: Emit tab field to elasticsearch to allow for data-driven URLs. (#6808) 2017-06-10 11:11:22 +01:00
pblasquezandNeil Lathwood cc38930007 feature: Added elasticsearch transport and docs (#6687)
* Add elasticsearch transport and docs

* Fix formatting

* Fix formatting

* Remove librenms string from sql file

* Add missing states

* Use ifAlias not ifDescr

* Update Alerting.md

* Remove unused es_enabled flag

* Fix storage column names

* Fix processor columns

* Rename 194.sql to 193.sql
2017-06-01 12:16:39 +01:00
jackson-timandNeil Lathwood 390dd0bece alerting: Added HipChat v2 API + Color Changes (#6669)
Added support for the HipChat V2 API (it detects if "v2" is in the API URL) and also changed the default coloring so any non-recovery/reboot messages get colored as red.
2017-05-17 22:20:34 +01:00
Neil LathwoodandTony Murray 962c47168c fix: Corrected url in telegram alert transport (#6299) 2017-03-29 16:09:01 -05:00
pblasquezandNeil Lathwood c2cdf14223 feature: Added syslog alert transport (#6246)
* Add syslog alert transport and docs

* Remove redundant priority variable

* Log syslog transport events as critical
2017-03-23 08:46:28 +00:00
Neil LathwoodandGitHub f6d8859bb4 feature: Added support for sending alerts to Telegram #2114 (#6202) 2017-03-22 09:02:24 +00:00
Neil LathwoodandGitHub 296360b204 fix: Update OSTicket transport to use the from email address #5739 (#5927) 2017-03-03 18:22:33 +00:00
barryodonovanandNeil Lathwood 0f663b3a82 feature: Add Smseagle transport support (#5989)
* added alert transport for SMSEagle hardware gateway (smseagle.eu)

* added newline

* schema file update + small code refactor

* added docs
2017-02-24 11:55:53 +00:00
Søren RosiakandNeil Lathwood 9b32fb2b91 feature: Added Cisco Spark Transport #3182
* feature: Added Cisco Spark Transport

* updated sql to be compliant
2017-02-02 23:10:39 +00:00
ToeiReiandNeil Lathwood 6bc7b1991e feature: Added Rocket.Chat transport #5427
* Implement Rocket.Chat transport

* copyright stuff as I didn't have anything to hack anything on transport.rocket.php

* Update config-item.inc.php

Use space instead of tabs

* Update config-item.inc.php

kill a blank line

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-01-31 23:05:35 +00:00
Tony MurrayandNeil Lathwood e20a242785 refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
Søren RosiakandNeil Lathwood 9fb02bbcd3 feature: Add Microsoft Teams Alert Transport (#5023) 2016-11-19 14:49:18 +00:00
Søren RosiakandNeil Lathwood 23da8be9c3 feature: Add osTicket Alert Transport (#4791) 2016-10-20 19:31:30 +01:00
Neil LathwoodandTony Murray d5ba013a8a refactor: Updated and added more options for http proxy support (#4718) 2016-10-13 20:07:07 -05:00
pblasquezandGitHub c0a0faba9a formatting error 2016-07-19 15:20:48 -07:00
pblasquezandGitHub cf9432330e Change slack format to attachment style
As documented here: https://api.slack.com/docs/message-attachments

This change also makes things compatible with simple HTML templates by using strip_tags() on the template output.
2016-07-19 15:15:07 -07:00
Marc Runkel 2dd60f1c3d This time, really fix it. 2016-05-22 11:08:26 +02:00
Marc Runkel 12d713686f Changes to actually change the color of hipchat alerts when a device recovers.
I agree to the conditions of the Contributor Agreement
 contained in doc/General/Contributing.md.
2016-05-21 10:28:18 +02:00
Bud 9e1cbff8ed Send Slack alerts as pure json
Now works with mattermost as well as slack
Set the Content-type header application/json
Removed extraneous code that was urlencoding some apparently unused data ($api)
Removed "payload=" from the alert messsage as it is not proper json
2016-05-13 13:15:38 -05:00
Guillaume COEUGNET 32ac7a59d3 Add port parameter and code enhancement 2016-04-01 10:05:52 +02:00
Guillaume COEUGNET 3a4db5194c Remove namespaces to allow this transport to be called from anonymous function 2016-03-30 16:01:16 +02:00
Guillaume COEUGNET 5d21bf9a55 Change event resource 2016-03-30 11:21:35 +02:00
Guillaume COEUGNET 290bb96502 remove debug lines 2016-03-30 10:23:46 +02:00
gcoeugnet 82b639e25d Create transport.canopsis.php
Add canopsis transport file
2016-03-29 15:29:27 +02:00
Robert Gornall 5115095d8f Give slightly more information on Transport API failure. 2016-03-23 17:01:06 +00:00
Eldon Koyle 6a53bcf688 Add web config option for HTML emails 2016-03-15 16:55:27 -06:00
f0o 3a65fab2fb Added HTML switch for mail transport 2016-03-02 16:31:17 +00:00
laf 26d96ba718 Fixed nagios transport 2016-01-25 23:58:38 +00:00
laf c5b708d931 Fixed hipchat transport 2015-12-08 23:09:27 +00:00
f0o 1b5eabb919 Added VictorOps transport 2015-11-21 16:04:39 +00:00
f0o ff228779b9 Fix cliackatell's to 2015-10-20 20:32:22 +00:00
f0o 71a072d136 Fixes to clickatell 2015-10-20 20:10:59 +00:00
f0o aa7cd385fb Added Optional from parameter 2015-10-20 19:40:11 +00:00
f0o 4c3d80951b Added op=pv 2015-10-20 19:27:26 +00:00
f0o c142ce22de Added Clickatell and PlaySMS Transports 2015-10-11 07:11:29 +00:00
f0o 515b01c2bd Add basic Pushbullet transport. 2015-08-19 19:03:26 +00:00
trick77 32c1fa561c Added support for Boxcar.io push notifications for alerts 2015-07-19 19:21:09 +02:00
laf 4c1e4326d4 Removed <?php from files 2015-07-15 21:25:10 +01:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
James Campbell 676812b87e Updated indentation and moved some code 2015-06-03 21:32:57 +10:00
James Campbell d191f34601 Improved Pushover transport code 2015-06-03 21:03:27 +10:00
James Campbell cabcc04877 Created Pushover transport, requires testing
Moved print_r references to top for debug

Modified Pushover transport, testing required

Pushover transport, fixed syntax issue

Pushover transport, fixed another syntax issue

Pushover transport, added debug

Pushover transport, updated message code

Pushover transport, debug

Pushover transport, testing new code

Pushover transport, adding more parameters

and adding debug parameters

Pushover transport, added severity level support

Pushover transport, modified severity level code

Pushover transport, updated severity code

Pushover transport, debugging severity level

Pushover transport, more debugging

Pushover transport, debugging sound

Pushover transport, fixed sound syntax issue

Pushover transport, debugging sound API

Pushover transport, adjusted sound code

Updated contributors file to add myself

Updated Alerting doc to include Pushover

Pushover transport, modified code

Pushover transport, fixed syntax error

Pushover transport, removed debug code

Ready for deployment

Pushover transport, updated copyright
2015-06-02 10:48:12 +10:00
Mike Rostermund a41f0922a2 Added a few missing characters 2015-05-27 09:35:52 +02:00
f0o 477a857a77 PagerDuty transport draft 2015-05-14 13:48:17 +00:00
Tyler Christiansen d6d2fa1920 add new hipchat transport for alerts 2015-03-26 20:18:15 -07:00
f0o adebcf6c29 Fallback to shell_exec as some systems lack posix_mkfifo 2015-03-15 15:14:10 +00:00