centreon / centreon-plugins

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
https://www.centreon.com
Apache License 2.0
310 stars 274 forks source link

storage::netapp::ontap::restapi::plugin UNKNOWN: 401 Unauthorized (Basic authentication expected) #4420

Open lzmarouane opened 1 year ago

lzmarouane commented 1 year ago

Hi, I am using the Centreon server to monitor NetApp devices. When running the following check command in the command-line interface (CLI): /usr/lib/centreon/plugins//centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=hardware --hostname='192.168.1.1' --port='443' --proto='https' --api-username='service-centreon' --api-password='password' --ssl-opt="SSL_verify_mode => SSL_VERIFY_NONE" --component='.*' --verbose

It works fine. However, when I try to use it in GUI mode, I encounter the following error: "UNKNOWN: 401 Unauthorized (Basic authentication expected)."

i need help

garnier-quentin commented 1 year ago

Probably it comes from your password. Do you have some characters like: $' ?

lucie-dubrunfaut commented 1 month ago

Hello :)

Without additional information we are not able to provide a solution or resolve a possible bug. So @lzmarouane if you still need a response / solution to this issue, can you answer to Quentin question? Otherwise we will be forced to close this issue.