YPSI-SAS / centctl

Centctl is a Go CLI which allows to manage multiple Centreon servers.
MIT License
11 stars 4 forks source link

Error 200 - show command #26

Closed Arawn777 closed 1 year ago

Arawn777 commented 1 year ago

Hi Melissa!

Here is the issue I told you:

Environment: Centreon 21.04 CentCTL 2.5.7 in wsl oraclelinux 8_5 => VScode Terminal on Win11

centctl.yaml:

servers: - server: "FR-CENTREON-CENTRAL" url: "https://**********.com/centreon" insecure: true login: "LOGIN" password: "PASSWORD" version: "v1" default: true

While executing the show command, I got an error 200 in response:

image

Executing this same command in DEBUG mode, here is the answer:

image

No issues with list or add command

Thanks in advance :)

Arawn777 commented 1 year ago

Same problem on a WSL debian to manage a Centreon 23.04.9, and also with the export command that returns an error 200. The DEBUG mode shows the command returns the results expected in the body response.

MelissaB79 commented 1 year ago

hello,

I just corrected that in the last release.

Thank you for your contribution to improving the tool.