[ZBX-22139] Can't connect to openview with template Synergy 6.10 Created: 2022 Dec 23  Updated: 2024 Feb 26

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: LAGRAVE Assignee: Zabbix Integration Team
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-12-26-14-58-06-814.png     PNG File image-2022-12-26-14-58-29-759.png     PNG File image-2022-12-26-15-00-19-714.png     PNG File image-2022-12-26-15-01-03-225.png     PNG File image-2022-12-26-15-01-59-456.png    

 Description   

Steps to reproduce:

  1. Connect to Open View 6.1 API 2800

Result:
Failed to receive data:
version : Get version request failed with status code 405: {"errorCode":"HTTP_METHOD_NOT_ALLOWED","message":"The request method is not supported or not applicable for this type of resource.","details":"The request method POST is not supported or not applicable for the requested resource.","messageParameters":[],"recommendedActions":["Allowed methods include GET. Refer to the API specification to determine the supported HTTP request methods for the resource type."],"errorSource":null,"nestedErrors":[],"data":{}}



 Comments   
Comment by LAGRAVE [ 2022 Dec 26 ]

 

Comment by LAGRAVE [ 2022 Dec 26 ]

Comment by Arnros [ 2023 Jan 04 ]

Hello I have the same problem in oneview 6.50 version REST api  3600.

Comment by Deepak [ 2023 Jan 17 ]

Hello,

I've the same problem in Oneview 8.0 version as well.My collegque identify that line 67 yaml should get instead of post.

Comment by Arnros [ 2023 Jan 17 ]

Hello Deepak.

Which version of template do you use ? 

In 6.2 line 67 is this :

 

                    if (request.getStatus() !== 200) {
                        throw 'Get version request failed with status code ' + request.getStatus() + ': ' + response;
                    }

Regards

 

Comment by Deepak [ 2023 Jan 17 ]

Hi Arnros,

on this line

                    response = request.post(Synergy.params.base_url + 'rest/version');
            
                    if (request.getStatus() !== 200)

{                         throw 'Get version request failed with status code ' + request.getStatus() + ': ' + response;                     }

try with below one

                 response = request.get(Synergy.params.base_url + 'rest/version');

Comment by Arnros [ 2023 Jan 17 ]

Thanks a lot. It's working .

Comment by LAGRAVE [ 2023 Jan 17 ]

Hi all

 

Effectively ! it'ok ... thx

Comment by den [ 2024 Feb 26 ]

Hello ! I have a problem with the template working! 
HPE Synergy by HTTP

Generated at Thu May 15 06:42:49 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.