Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.03k stars 578 forks source link

Unable to submit passive check results after upgrade to 2.10.0 #6698

Closed leeclemens closed 6 years ago

leeclemens commented 6 years ago

Expected Behavior

POST to /v1/actions/process-check-result continues to work when submitting passive check results (returning 200)

Current Behavior

POST to /v1/actions/process-check-result returns 404

Possible Solution

Workaround was to downgrade back to 2.9.2-1 and the same command/script continued working again

Steps to Reproduce (for bugs)

  1. Create passive check on host
  2. POST to /v1/actions/process-check-result?service=servername!service_name with json data
  3. This is returned: {"error":404.0,"status":"No objects found."}

Context

Submitting check result to passive check using POST to /v1/actions/process-check-result The results include performance data

Your Environment

icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.0-1)

Copyright (c) 2012-2018 Icinga Development Team (https://www.icinga.com/) License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

System information: Platform: CentOS Linux Platform version: 7 (Core) Kernel: Linux Kernel version: 3.10.0-862.14.4.el7.x86_64 Architecture: x86_64

Build information: Compiler: GNU 4.8.5 Build host: unknown

Application information:

General paths: Config directory: /etc/icinga2 Data directory: /var/lib/icinga2 Log directory: /var/log/icinga2 Cache directory: /var/cache/icinga2 Spool directory: /var/spool/icinga2 Run directory: /run/icinga2

Old paths (deprecated): Installation root: /usr Sysconf directory: /etc Run directory (base): /run Local state directory: /var

Internal paths: Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid

leeclemens commented 6 years ago

Forgot to search closed, probably a duplicate of #6682

dnsmichi commented 6 years ago

You can test the snapshot packages :) Planning for 2.10.1 soon then.

leeclemens commented 6 years ago

Confirmed!