Solved

Trying to install and make Centreon NSClient++ usable

  • 1 April 2022
  • 5 replies
  • 573 views

Badge +1

Hi all !

I am trying to install and use Centreon NSClient++ and Webserver on a Windows Server 2019 with the help of the Documentation.

But I tried every build founds on Github, I always end with the same issue, it seems that I am not able to connect and stay stuck on login page.

The only element which changes is the icon next to log button, but I cannot browse tabs.

Could someone tell me if he managed to install and use NSClient++ recently ?

Thanks a lot

icon

Best answer by Kriko 1 April 2022, 16:09

View original

5 replies

Userlevel 5
Badge +16

Hello @KNSRA ,

I think it’s just a bug of the UI: https://github.com/mickem/nscp/issues/576

Could you try to test the connection with the following command (on your central or a poller):

/usr/lib/centreon/plugins//centreon_nsclient_restapi.pl \
--plugin=apps::nsclient::restapi::plugin \
--mode=query \
--hostname='x.x.x.x' \
--port='8443' \
--proto='https' \
--legacy-password='centreon' \
--http-backend=curl \
--insecure

 

Badge +1

Hi, and thanks a lot @Kriko !

When I was testing from my poller, I forgot the --insecure parameter.

It works much better !!!

 

Could Centreon docs team update NSClient installation documentation page to explain what must be done with default configuration ?

 

Regards,

Userlevel 5
Badge +16

You’re welcome.

Could you be more specific ? I think that I don’t understand the question 😅

Badge +1

Sorry for my poor english, as you could figure, I am just a french trying to be understandable … :D

 

I mean, when I follow NSClient documentation page, I would like to see that you could not login in web page with current version, and an example of check command to validate from poller or central (same as you told me).

Because default configuration of NSClient template in Centron do not contains --insecure and --http-backend=curl parameters.

Userlevel 5
Badge +16

Got you (y)

We will update our documentation :)

Reply