Question

UNKNOWN: Could not enumerate instances: SSL connect error WSMAN

  • 26 July 2022
  • 3 replies
  • 362 views

Badge +1

Hi Community!

I am facing on testing wsman cpu plugin, I followed the documentation provided, except the part of adding a new dedicated user, because I am testing with Administrator.

 

 

Any idea on how to fix UNKNOWN: Could not enumerate instances: SSL connect error

Centos 8 Stream

Centreon 22.04

 

Thanks in advance.

 


3 replies

Userlevel 6
Badge +19

Hi, 

 

Is it possible to run the command with --debug flag please so we can get more information about the issue? 


Cheers

Badge +1

With --debug flag is the same output information.

 

 

Userlevel 1
Badge +3

Hello,

after days of search for my own system : https port for WSMAN is 5986 and not 5985 (http).

after that you might have more errors. Here is a command ligne that works :

/usr/lib/centreon/plugins/centreon_windows_wsman.pl --plugin=os::windows::wsman::plugin --mode=services --hostname=server.toto.local --wsman-scheme=https --wsman-port=5986 --wsman-username='' --wsman-password=''  --auto --exclude='' --wsman-auth-method='gssnegotiate' --verbose

 

I also have to add 2 entries in krb5.conf in [libdefaults] :

default_tgs_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5
 default_tkt_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5

 

Hope it help !

Reply