Skip to content

Include the description field in TriggerSummaryData#14

Open
zaphod42 wants to merge 1 commit intokryptek:masterfrom
zaphod42:add-description-to-trigger-summary-data
Open

Include the description field in TriggerSummaryData#14
zaphod42 wants to merge 1 commit intokryptek:masterfrom
zaphod42:add-description-to-trigger-summary-data

Conversation

@zaphod42
Copy link
Copy Markdown

The trigger summary data can have a lot of different formats to it. When
the event API is used to trigger an incident it has a "description"
field but not a "subject" field. When nagios triggers an incident it has
a "subject" field but not a "description" field.

In order to keep with the model of this library, this adds another field
rather than trying to combine the fields together. A user can decide
which of the fields to use rather then the library trying to decide.

The trigger summary data can have a lot of different formats to it. When
the event API is used to trigger an incident it has a "description"
field but not a "subject" field. When nagios triggers an incident it has
a "subject" field but not a "description" field.

In order to keep with the model of this library, this adds another field
rather than trying to combine the fields together. A user can decide
which of the fields to use rather then the library trying to decide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant