NSClient++ Help (#1) - fresh install 0.4 (#951) - Message List

fresh install 0.4

Hi

Is recommendable an instalation with 0.4 version WITHOUT having any 0.3 files?

I downloaded 0.4.0-159 and there is a nsclient.ini file, so don't apply for my "convert" from 0.3.

When I try to test it crash.

I'm on a Win server 2008 SP1 32b box.

Anyway, at the moment is better to use a stable 0.3 version or I'm missing something?

  • Message #2515

    If it crash it would be nice to know why so I can fix it. First off did you use the latest "rc" or a newer nightly build? There was an issue in the nightly related to the new logger causing a crash which has since been fixed. Best way to help resolve crashes is to send in the dump files created when it crash (as well as explain when it crashes)...

    As for "fresh install or upgrade". If you have nsclient++ installed already it is recommended to upgrade essentially it will simply uninstall convert config (if you choose) and re-install.

    As for convert config or not. I would not convert the configuration unless I need specific features which are not in 0.3.9. The "old" configuration should be compatible but since the "converter" can have bugs converting "once the bugs are fixed" is obviously preferred (to converting "now"). The old configuration should work just as-is without any conversion (it will be converted inline when it is read from nsclient++)

    If however you have plans to use new feature and/or don't mind to spend some time setting things up feel free to convert now.

    Working with the new settings is a bit different from before as the settings is some what "automated" (ie. you can generate configuration files). But best way to start (which also the installer can do for you) is:

    nscp settings --switch ini
    nscp settings --generate settings --add-defaults --load-all
    

    This will:

    1. Load all modules under /modules
    2. Add all default values to the active settings store
    3. Save that file as a nsclient.ini file (ish)

    Which means you end up with a rather big file with a lot of options (this is BTW not all options as some options are marked advanced and will not be generated).

    There is some snags to this o it is probably recommended to remove things you don't need especially as "bugs could include wrong defaults" so look on this more as a way to create a good foundation to start from then a way to create your settings file...

    At the moment 0.4.0 is a release candidate which means now is an excellent time to test it and let me know all bugs it will (soon hopefully) be released. But if you are planing to install something into a production environment then stable is the way to go yes.

    Michael Medin

Subscriptions