The PSM doesn't work with IPv6 addresses if the ${ipaddr} placeholder is used on host or virtual-host

Description

In order to use an IPv6 address on a URL or the HTTP Host header, the IP address must be enclosed within brackets in order to be valid.

In other words,

Valid

Invalid

Valid

Invalid

The PSM is not checking if the IPv6 address has brackets when processing the placeholder which prevents the operation of the monitor.

The solution is to add the brackets at run-time if required in order to use the same PSM definition for both IPv4 and IPv6 addresses.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue April 23, 2015 at 12:18 PM

Fixed on foundation on revision 33cb3b24c8caca17bf60772c2b8260d6f6cd83c2.

Fixed

Details

Assignee

Reporter

Components

Priority

PagerDuty

Created April 23, 2015 at 12:12 PM
Updated April 23, 2015 at 4:17 PM
Resolved April 23, 2015 at 12:18 PM