scheduled outages can apply to all nodes except specified nodes

Description

Hello, currently scheduled outages can be assigned to specific nodes or to "All nodes/interfaces".

The "All nodes/interfaces" option is convenient as it does not need to be updated as nodes are added or deleted, compared to the specific node list option.

However, it would be useful to be able to define a scheduled outage as applying to all nodes/interfaces except a specific (small) list of nodes (i.e. negative selection logic instead of positive).

The use case is we want to have a notification exception for all nodes during scheduled maintenance windows except for certain highly critical devices were we always want to get notifications.

Thanks!
Tim Miller Dyck

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Tim Miller Dyck November 6, 2012 at 8:07 AM

Thanks Ron. I'll try editing poll-outages.xml directly using that approach.

Ron Roskens November 5, 2012 at 6:33 PM

The following passed through the event notification validation:

(IPADDR IPLIKE ... & ! foreignSource = 'UnixTeam')

And listed some 1300+ interfaces that weren't attached to something in the UnixTeam requisition.

Tim Miller Dyck November 5, 2012 at 4:52 PM

Hi Ron, thanks for that pointer. In that approach, one would have to create a surveillance category that would include most nodes but still exclude the desired specific nodes and use that for the outage definition. The difficult part would be to replicate the "all nodes except X" logic. I'm not aware if surveillance categories can be defined to include all nodes, including nodes added in the future, except for specified nodes. If one could use negative logic with scheduled outages with a surveillance category (e.g. outage for all nodes except category-veryimportant-nodes) that would be the most elegant way of specifying the above.

Ron Roskens November 5, 2012 at 11:24 AM

If this could be accomplished using a surveillance category, then see open issue , (adding surveillance category filtering to outages).

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created November 5, 2012 at 10:59 AM
Updated September 21, 2021 at 9:17 PM