diff --git a/src/monitors/monitorNewPrefix.js b/src/monitors/monitorNewPrefix.js index 1e341e3..f0d001f 100644 --- a/src/monitors/monitorNewPrefix.js +++ b/src/monitors/monitorNewPrefix.js @@ -56,7 +56,7 @@ export default class MonitorNewPrefix extends Monitor { const message = alerts[0].matchedMessage; const matchedRule = alerts[0].matchedRule; - return `Possible change of configuration. A new prefix ${message.prefix} is announced by ${message.originAS}. It is a more specific of ${matchedRule.prefix} (${matchedRule.description})`; + return `A new prefix ${message.prefix} is announced by ${message.originAS}. It is a more specific of ${matchedRule.prefix} (${matchedRule.description}). Maybe you need to update your BGPalerter prefix list.`; } return false; diff --git a/tests/2_alerting.js b/tests/2_alerting.js index 18babd3..df2d35a 100644 --- a/tests/2_alerting.js +++ b/tests/2_alerting.js @@ -228,7 +228,7 @@ describe("Alerting", function () { id: '1234-175.254.205.0/25', origin: 'prefix-detection', affected: 1234, - message: 'Possible change of configuration. A new prefix 175.254.205.0/25 is announced by AS1234. It is a more specific of 175.254.205.0/24 (include exclude test)', + message: 'A new prefix 175.254.205.0/25 is announced by AS1234. It is a more specific of 175.254.205.0/24 (include exclude test). Maybe you need to update your BGPalerter prefix list.', data: [ { extra: {}, @@ -256,7 +256,7 @@ describe("Alerting", function () { id: '1234-170.254.205.0/25', origin: 'prefix-detection', affected: 1234, - message: 'Possible change of configuration. A new prefix 170.254.205.0/25 is announced by AS1234. It is a more specific of 170.254.205.0/24 (include exclude test)', + message: 'A new prefix 170.254.205.0/25 is announced by AS1234. It is a more specific of 170.254.205.0/24 (include exclude test). Maybe you need to update your BGPalerter prefix list.', data: [ { extra: {}, @@ -285,7 +285,7 @@ describe("Alerting", function () { id: '15562-165.254.255.0/25', origin: 'prefix-detection', affected: 15562, - message: 'Possible change of configuration. A new prefix 165.254.255.0/25 is announced by AS15562. It is a more specific of 165.254.255.0/24 (description 2)', + message: 'A new prefix 165.254.255.0/25 is announced by AS15562. It is a more specific of 165.254.255.0/24 (description 2). Maybe you need to update your BGPalerter prefix list.', data: [ { extra: {}, @@ -311,7 +311,7 @@ describe("Alerting", function () { id: '204092-2a00:5884:ffff::/48', origin: 'prefix-detection', affected: "204092-45", - message: 'Possible change of configuration. A new prefix 2a00:5884:ffff::/48 is announced by AS204092. It is a more specific of 2a00:5884::/32 (alarig fix test)', + message: 'A new prefix 2a00:5884:ffff::/48 is announced by AS204092. It is a more specific of 2a00:5884::/32 (alarig fix test). Maybe you need to update your BGPalerter prefix list.', data: [ { extra: {},