theforeman / smart_proxy_monitoring

Smart proxy plugin for monitoring system integration
GNU General Public License v3.0
7 stars 10 forks source link

Send to API v2 endpoint for Foreman 3.1+ compatibility #28

Closed ekohl closed 2 years ago

ekohl commented 2 years ago

The /api/monitoring_results endpoint no longer exists in Foreman 3.1+. Sending it directly to /api/v2/monitoring_results does work and I expect it to also work on older Foreman versions.