ports/net-mgmt/pdagent-integrations/files/patch-bin_pd-nagios
Mark Felder d4df31d870 This project contains integrations for various monitoring tools with
the PagerDuty Agent.

It currently includes support for:

    Nagios
    Sensu
    Zabbix

WWW: https://github.com/PagerDuty/pdagent-integrations
2017-10-05 18:35:51 +00:00

11 lines
510 B
Text

--- bin/pd-nagios.orig 2017-10-05 18:21:38 UTC
+++ bin/pd-nagios
@@ -101,7 +101,7 @@ class NagiosEvent:
if not NagiosEvent.REQUIRED_FIELDS[self._notification_type].issubset(self._details.keys()):
msg = "Missing fields for type '{0}'. {1} required".format(
self._notification_type,
- ", ".join(self._required_fields())
+ ", ".join(NagiosEvent.REQUIRED_FIELDS[self._notification_type])
)
raise ValueError(msg)