1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/monitoring
Martin 70ba401602
[icinga2_host.py] Actually return codes instead of data (#335)
* [icinga2_host.py] Actually return codes instead of data

Currently the module tries to return the `data`, which can result in a blank message instead of the code being shown.

```
 "msg": "bad return code creating host: "
```

* add changelog fragment

* Update changelogs/fragments/335-icinga2_host-return-error-code.yaml

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* return code and data on fail

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Deric Crago <deric.crago@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-12-02 09:38:56 +03:00
..
datadog Datadog: Mark notification_message as no_log (#1338) 2020-11-25 07:25:00 +01:00
sensu Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
airbrake_deployment.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
bigpanda.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
circonus_annotation.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
honeybadger_deployment.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
icinga2_feature.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
icinga2_host.py [icinga2_host.py] Actually return codes instead of data (#335) 2020-12-02 09:38:56 +03:00
librato_annotation.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
logentries.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
logstash_plugin.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
monit.py monit: fix module detection of monitored process state (#1107) 2020-10-23 12:26:23 +02:00
nagios.py fix ignored sanity tests (#1026) 2020-10-02 14:51:10 +02:00
newrelic_deployment.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
pagerduty.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
pagerduty_alert.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
pagerduty_change.py Adds a module for sending PagerDuty change events. (#1269) 2020-11-13 11:44:57 +03:00
pagerduty_user.py a new module pagerduty_user (#1025) 2020-11-26 13:22:35 +01:00
pingdom.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
rollbar_deployment.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
spectrum_device.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
stackdriver.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
statusio_maintenance.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00
uptimerobot.py Tidy up validate-modules ignores for monitoring modules (#1350) 2020-11-23 22:07:03 +01:00