pdagent icon indicating copy to clipboard operation
pdagent copied to clipboard

Allow CUSTOM event-types

Open nathanlcarlson opened this issue 4 years ago • 1 comments

To test the Nagios integration I attempted to send a custom notification on a service via the Nagios GUI. Currently "CUSTOM" is not an allowed event-type.

pd-nagios: error: argument -t/--event-type: invalid choice: 'CUSTOM' (choose from 'PROBLEM', 'ACKNOWLEDGEMENT', 'RECOVERY')

nathanlcarlson avatar Jun 04 '21 19:06 nathanlcarlson

To what CUSTOM should be mapped then ? Currently this is the mapping between nagios -> pagerduty

"PROBLEM": "trigger",
"ACKNOWLEDGEMENT": "acknowledge",
"RECOVERY": "resolve"

NargiT avatar May 08 '23 15:05 NargiT