1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Commit Graph

424 Commits

Author SHA1 Message Date
Mircea Ulinic
639699f145 Add myself to contributors 2020-01-09 23:05:03 +00:00
Mircea Ulinic
9255d5a6f3 Add environment param 2020-01-09 23:03:25 +00:00
Mircea Ulinic
6ce440b825 Severity as string 2020-01-09 23:03:25 +00:00
Mircea Ulinic
97f4219135 Have resource field format as templated param 2020-01-09 23:03:25 +00:00
Mircea Ulinic
d12335176b New reporter module for Alerta
Adding a new reporter module largely inspired by the existing
``reportSlack`` to report events in Alerta (https://alerta.io/) via the
HTTP API.
2020-01-09 23:03:25 +00:00
Massimo Candela
5a06bc8338 Added Damian Zaremba to AUTHORS file 2020-01-09 02:09:13 +01:00
Massimo Candela
19ed6b7c92 Merge pull request #122 from nttgin/dependabot/npm_and_yarn/dev/axios-0.19.1
Bump axios from 0.19.0 to 0.19.1
2020-01-08 14:41:39 +01:00
dependabot-preview[bot]
1dcd172ded Bump axios from 0.19.0 to 0.19.1
Bumps [axios](https://github.com/axios/axios) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.0...0.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 08:17:06 +00:00
Massimo Candela
5f0084ba5d Merge pull request #118 from nttgin/dependabot/npm_and_yarn/dev/mocha-7.0.0
Bump mocha from 6.2.2 to 7.0.0
2020-01-07 23:57:47 +01:00
Massimo Candela
ba7f6be694 Merge pull request #119 from nttgin/dependabot/npm_and_yarn/dev/winston-daily-rotate-file-4.4.1
Bump winston-daily-rotate-file from 4.4.0 to 4.4.1
2020-01-07 23:43:47 +01:00
dependabot-preview[bot]
daf2bcbcb5 Bump winston-daily-rotate-file from 4.4.0 to 4.4.1
Bumps [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases)
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 08:26:56 +00:00
dependabot-preview[bot]
1b2e747ed4 Bump mocha from 6.2.2 to 7.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 6.2.2 to 7.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 08:26:21 +00:00
Massimo Candela
76debc2ef3 Merge pull request #117 from nttgin/dependabot/npm_and_yarn/dev/yargs-15.1.0
Bump yargs from 15.0.2 to 15.1.0
2020-01-02 15:32:06 +01:00
dependabot-preview[bot]
eb1c2ab387 Bump yargs from 15.0.2 to 15.1.0
Bumps [yargs](https://github.com/yargs/yargs) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.0.2...v15.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-02 07:54:06 +00:00
Massimo Candela
a0d7f4a049 Merge pull request #116 from nttgin/dependabot/npm_and_yarn/dev/ip-address-6.2.0
Bump ip-address from 6.1.0 to 6.2.0
2019-12-30 09:48:44 +01:00
dependabot-preview[bot]
7a4c313344 Bump ip-address from 6.1.0 to 6.2.0
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/beaugunderson/ip-address/releases)
- [Commits](https://github.com/beaugunderson/ip-address/compare/v6.1.0...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 08:35:26 +00:00
Massimo Candela
dd497a9fc0 Merge branch 'dev' of github.com:nttgin/BGPalerter into dev 2019-12-29 11:16:42 +01:00
Massimo Candela
d720e30adb introduced inspect comand for node profiling 2019-12-29 11:16:33 +01:00
Massimo Candela
65bdad1ee1 Merge pull request #115 from nttgin/dependabot/npm_and_yarn/dev/pubsub-js-1.8.0
Bump pubsub-js from 1.7.0 to 1.8.0
2019-12-25 21:38:39 +01:00
dependabot-preview[bot]
79b58d613d Bump pubsub-js from 1.7.0 to 1.8.0
Bumps [pubsub-js](https://github.com/mroderick/PubSubJS) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/mroderick/PubSubJS/releases)
- [Changelog](https://github.com/mroderick/PubSubJS/blob/v1.8.0/CHANGES.md)
- [Commits](https://github.com/mroderick/PubSubJS/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 07:57:39 +00:00
Massimo Candela
fd1d9f2307 Merge pull request #112 from nttgin/dependabot/npm_and_yarn/dev/babel/preset-env-7.7.7
Bump @babel/preset-env from 7.7.6 to 7.7.7
2019-12-19 12:29:08 +01:00
Massimo Candela
aa7e7ad5d0 Merge pull request #113 from nttgin/dependabot/npm_and_yarn/dev/babel/core-7.7.7
Bump @babel/core from 7.7.5 to 7.7.7
2019-12-19 12:22:53 +01:00
dependabot-preview[bot]
3001634bae Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 11:21:03 +00:00
dependabot-preview[bot]
cdb9f746a2 Bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 11:21:00 +00:00
Massimo Candela
9a044d38a0 Merge pull request #111 from nttgin/dependabot/npm_and_yarn/dev/babel/node-7.7.7
Bump @babel/node from 7.7.4 to 7.7.7
2019-12-19 12:19:23 +01:00
dependabot-preview[bot]
dc3e851043 Bump @babel/node from 7.7.4 to 7.7.7
Bumps [@babel/node](https://github.com/babel/babel) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 09:26:06 +00:00
Massimo Candela
bdd472a540 Merge pull request #110 from nttgin/dependabot/npm_and_yarn/dev/babel/plugin-proposal-object-rest-spread-7.7.7
Bump @babel/plugin-proposal-object-rest-spread from 7.7.4 to 7.7.7
2019-12-19 10:24:53 +01:00
Massimo Candela
1c476e7356 Merge pull request #109 from nttgin/dependabot/npm_and_yarn/dev/babel/cli-7.7.7
Bump @babel/cli from 7.7.5 to 7.7.7
2019-12-19 10:24:30 +01:00
dependabot-preview[bot]
f3b8f6eea2 Bump @babel/plugin-proposal-object-rest-spread from 7.7.4 to 7.7.7
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 08:04:11 +00:00
dependabot-preview[bot]
b14e6d9444 Bump @babel/cli from 7.7.5 to 7.7.7
Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 08:03:36 +00:00
Massimo Candela
495fd1c38a Merge branch 'dev' of github.com:nttgin/BGPalerter into dev 2019-12-18 17:04:47 +01:00
Massimo Candela
c46aa1de56 added specific syslog rule for misconfiguration 2019-12-18 17:04:38 +01:00
Massimo Candela
395e5a4de8 Merge pull request #107 from nttgin/dependabot/npm_and_yarn/dev/winston-daily-rotate-file-4.4.0
Bump winston-daily-rotate-file from 4.3.1 to 4.4.0
2019-12-16 09:41:07 +01:00
dependabot-preview[bot]
2b82eaf687 Bump winston-daily-rotate-file from 4.3.1 to 4.4.0
Bumps [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases)
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v4.3.1...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 08:37:55 +00:00
Massimo Candela
0e77b3651d Merge pull request #106 from nttgin/dependabot/npm_and_yarn/dev/restify-8.5.1
Bump restify from 8.5.0 to 8.5.1
2019-12-16 09:37:21 +01:00
Massimo Candela
7b77a2f674 Merge pull request #105 from nttgin/dependabot/npm_and_yarn/dev/ws-7.2.1
Bump ws from 7.2.0 to 7.2.1
2019-12-16 09:36:24 +01:00
dependabot-preview[bot]
f21c583bbb Bump ws from 7.2.0 to 7.2.1
Bumps [ws](https://github.com/websockets/ws) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.2.0...7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 08:34:03 +00:00
dependabot-preview[bot]
f7e8d66b83 Bump restify from 8.5.0 to 8.5.1
Bumps [restify](https://github.com/restify/node-restify) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/restify/node-restify/releases)
- [Changelog](https://github.com/restify/node-restify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/restify/node-restify/compare/v8.5.0...v8.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 08:33:57 +00:00
Massimo Candela
4218cc5dd1 Merge pull request #104 from nttgin/dependabot/npm_and_yarn/dev/pkg-4.4.2
Bump pkg from 4.4.1 to 4.4.2
2019-12-16 09:32:20 +01:00
dependabot-preview[bot]
d187022f17 Bump pkg from 4.4.1 to 4.4.2
Bumps [pkg](https://github.com/zeit/pkg) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/zeit/pkg/releases)
- [Commits](https://github.com/zeit/pkg/compare/4.4.1...4.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 08:30:08 +00:00
Massimo Candela
efaa5fcc3a increased test coverage for ignore:true on monitorAS 2019-12-15 14:51:56 +01:00
Massimo Candela
88911eefee Merge pull request #101 from DamianZaremba/feature/damianzaremba/fix-monitor-as-ignored-prefixes
Rework ignored prefixes to also exclude during AS monitoring
2019-12-15 14:45:02 +01:00
Damian Zaremba
31a6ab5984 Move ignored prefix checks into the relevant monitors
Currently if a monitor is looking for a missing prefix it cannot rely upon the implementation of getMoreSpecificMatch.

At the time getMoreSpecificMatch was written, excluding all ignored prefixes made sense as there was no monitor for missing prefixes,
however now it excludes prefixes that we have a configuration match for, but desire to exclude from monitoring.

The primary purposes of this is for monitorAS *not* to respect the prefix's `ignore` attribute,
ensureing that we do not emit un-configured messages for a prefix that has explicitly been 'ignored in monitoring'.

Hopefully this ensures the current documentation (`Exclude the current prefix from monitoring. Useful when you are monitoring a prefix and you want to exclude a particular sub-prefix`) now reflects reality.
2019-12-15 13:37:33 +01:00
Massimo Candela
f1d4e9d894 updated package.json to include uptimeMonitors directory in pkg 2019-12-13 15:31:00 +01:00
Massimo Candela
8ce8a8a8f1 updated uptime monitor example 2019-12-13 15:27:47 +01:00
Massimo Candela
b184f8468f Merge branch 'master' into dev 2019-12-13 15:14:59 +01:00
Massimo Candela
7e0e7c7876 removed dependency from babel-upgrade 2019-12-13 15:12:06 +01:00
Massimo Candela
5ed59d0cd8 removed yarn support from build 2019-12-13 15:05:12 +01:00
Massimo Candela
72e3d6a8f7 Merge pull request #99 from nttgin/uptimemonitors
modular uptime monitors
2019-12-13 14:39:53 +01:00
Massimo Candela
70df1a1e1f added warning for deprecated config format 2019-12-13 14:35:28 +01:00