Skip to main content

NSClient++: bridging the gap

  • February 5, 2026
  • 2 replies
  • 16 views

omercier
Centreonian
Forum|alt.badge.img+14

Hi,

Since the NSClient++ project has been on a long break (from april 2018 and november 2023) we have never included its releases in our continuous integration processes. But since then, the project show an impressive level of activity.

As we have been very busy doig a lot of other things, we have fallen far behind on this updating the base version of NSClient++ used for our builds.

We’re currently trying to bridge this gap and given the wide number of changes, we may expect some regressions.

Please feel welcome to use this pre-release and give us feedback here!

Here are the known issues (I’ll update them as they’ll be found):

  • The old authentication (using --legacy-password and no login) does not seem to work anymore. Since it’s not a good practice, you’re invited to switch to  --username and --password. NB: the apps::nsclient::restapi::plugin needs this commit to handle this authentication process.

 

2 replies

Forum|alt.badge.img+7
  • February 5, 2026

Hi,

Thanks for this information,

I recently downloaded the latest version provided by Centreon (https://github.com/centreon/centreon-nsclient-build/releases) … and yes it is quite old : 0.5.2.41 (release date 27/04/2018).
 

The latest release at Nsclient’s side is 0.11.8
And I confirm that --legacy-password is not supported any more :  
Instead used  --username and  --password

Example :

/usr/lib/centreon/plugins/centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --ssl-opt="SSL_verify_mode => SSL_VERIFY_NONE" --hostname=$myhost --port='8443' --proto='https' --basic --credentials --username=admin --password=XXXX --timeout=15 --command=check_uptime --arg= --arg="warn=uptime < 10m" --arg="crit=uptime < 10m"

But the support told me that providing a new Nsclient within centreon-nsclient-build package is not planned : as it intended to be replaced by Centreon Monitoring Agent.

Do you mean in you mesasge that the lastest version would be finally integrated in Nsclient build release ?
Thanks !
 


omercier
Centreonian
Forum|alt.badge.img+14
  • Author
  • Centreonian
  • February 5, 2026

Hi ​@glepinay,

Indeed, version 0.11.8 is the version I based my build on: https://github.com/centreon/centreon-nsclient-build/releases/tag/20260200

What the customer care told you was right: we are not planning to maintain NSClient++ in the long term, since we have decided to provide CMA.

But we still decided to update our package with the latest version of NSClient++ in order to satisfy our users and customers.