From 03eba3d9cbd08a030a97649e15cd9a39186860f5 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 13 Oct 2022 09:29:20 +0200 Subject: [PATCH] (plugin) apps::ceph::restapi - authentication issue (#3985) --- centreon-plugins/apps/ceph/restapi/custom/api.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/centreon-plugins/apps/ceph/restapi/custom/api.pm b/centreon-plugins/apps/ceph/restapi/custom/api.pm index 72e55609c..f8d39aeca 100644 --- a/centreon-plugins/apps/ceph/restapi/custom/api.pm +++ b/centreon-plugins/apps/ceph/restapi/custom/api.pm @@ -195,6 +195,9 @@ sub request_api { 'Authorization: Bearer ' . $token, 'Accept: application/vnd.ceph.api.v1.0+json', ], + unknown_status => '', + warning_status => '', + critical_status => '' ); # Maybe token is invalid. so we retry