Skip to main content
Solved

Trying to install and make Centreon NSClient++ usable


Forum|alt.badge.img+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

Best answer by Kriko

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

 

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+16
  • Steward **
  • April 1, 2022

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

 


Forum|alt.badge.img+1
  • Steward *
  • April 2, 2022

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,


Forum|alt.badge.img+16
  • Steward **
  • April 4, 2022

You’re welcome.

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


Forum|alt.badge.img+1
  • Steward *
  • April 4, 2022

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.


Forum|alt.badge.img+16
  • Steward **
  • April 4, 2022

Got you (y)

We will update our documentation :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings