centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

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

Open lzmarouane opened this issue 2 years ago • 2 comments

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

lzmarouane avatar May 18 '23 10:05 lzmarouane

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

garnier-quentin avatar May 25 '23 10:05 garnier-quentin

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.

lucie-tirand avatar Jun 24 '24 12:06 lucie-tirand

Hello :)

Let me close this issue, but if it becomes relevant again or if anyone else has the same, feel free to reopen this topic.

lucie-tirand avatar Jul 23 '25 12:07 lucie-tirand