NSClient

NSClient++

Release 0.11.3

What's Changed

This build removes the option of specifying connection details on command line instead it expands the profiles command. So there is now a profile command to managed saved profiles.

check_nsclient profile list
╭─────────┬────────────────────────┬──────────┬─────────┬───────────╮
│ id      │ url                    │ insecure │ default │ has_token │
├─────────┼────────────────────────┼──────────┼─────────┼───────────┤
│ default │ https://localhost:8443 │ yes      │ yes     │ yes       │
╰─────────┴────────────────────────┴──────────┴─────────┴───────────╯

It also ads a somewhat working client mode:

check_nsclient nsclient client
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│Last error: Unknown command(s): metrics available commands: commands {, check_always_critical│
└─────────────────────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│[2026-Jan-04 07:09:21] Boot.ini found in: C:\src\build\nscp/boot.ini                         │
│[2026-Jan-04 07:09:21] Activating: ..\..\nscp\tests\rest\nsclient.ini                        │
│[2026-Jan-04 07:09:21] Creating instance for: ://..\..\nscp\tests\rest\nsclient.ini          │
│[2026-Jan-04 07:09:21] Loading: ..\..\nscp\tests\rest\nsclient.ini                           │
│[2026-Jan-04 07:09:21] NSClient++ 0.4.0 2025-12-22 x64 booting...                            │
│[2026-Jan-04 07:09:21] Booted settings subsystem...                                          │
│[2026-Jan-04 07:09:21] Archiving crash dumps in: C:\src\build\nscp/crash-dumps               │
│[2026-Jan-04 07:09:21] Found: CheckHelpers                                                   │
│[2026-Jan-04 07:09:21] Found: LuaScript                                                      │
│Query result: check_ok: OK                                                                   │
│ - No message |                                                                              │
│0: exit                                                                                      │
│1: help                                                                                      │
│2: ping                                                                                      │
│3: eee                                                                                       │
│4: metrics                                                                                   │
│5: check_ping                                                                                │
│6: check_ok                                                                                  │
│7: history                                                                                   │
└─────────────────────────────────────────────────────────────────────────────────────────────┘
✔ Command › check_ok

Full Changelog: https://github.com/mickem/nscp/compare/0.11.2...0.11.3

nscp-0.11.3.tar.gz

Release tarball
application/gzip 2026-01-06 Download from Github

check_nsclient-0.11.3-ubuntu-x64

raw 2026-01-06 Download from Github

check_nsclient-0.11.3-Win32.exe

raw 2026-01-06 Download from Github

check_nsclient-0.11.3-x64.exe

raw 2026-01-06 Download from Github

NSCP-0.11.3-docs.zip

raw 2026-01-06 Download from Github

NSCP-0.11.3-Win32-legacy-xp.msi

raw 2026-01-06 Download from Github

NSCP-0.11.3-Win32-legacy-xp.zip

raw 2026-01-06 Download from Github

NSCP-0.11.3-Win32.msi

raw 2026-01-06 Download from Github

NSCP-0.11.3-Win32.zip

raw 2026-01-06 Download from Github

NSCP-0.11.3-x64.msi

raw 2026-01-06 Download from Github

NSCP-0.11.3-x64.zip

raw 2026-01-06 Download from Github

Release 0.11.2

What's Changed

You can now login/logout using the auth command which will store the token in credential store:

check_nsclient nsclient --insecure auth login --username admin --password PASSWORD

After this you no longer need to specify the username and password:

check_nsclient nsclient --insecure settings list
╭───────────────┬──────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ key           │ path                                     │ value                                                                                            │
├───────────────┼──────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────┤
│ CheckHelpers  │ /modules                                 │ enabled                                                                                          │
│ CheckSystem   │ /modules                                 │ disabled                                                                                         │
│ LuaScript     │ /modules                                 │ enabled                                                                                          │
│ WEBServer     │ /modules                                 │ enabled                                                                                          │
| client        │ /settings/WEB/server/roles               │ public,info.get,info.get.version,queries.list,queries.get,queries.execute,login.get,modules.list │
│ full          │ /settings/WEB/server/roles               │ *                                                                                                │
│ legacy        │ /settings/WEB/server/roles               │ legacy,login.get                                                                                 │
│ view          │ /settings/WEB/server/roles               │ *                                                                                                │
╰───────────────┴──────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────╯

Besides settings related commands you can now also show logs:

check_nsclient nsclient --insecure logs list
╭───────┬──────────────────────┬───────────────────────────────────────────────────────────────╮
│ level │ date                 │ message                                                       │
├───────┼──────────────────────┼───────────────────────────────────────────────────────────────┤
│ debug │ 2025-Dec-24 19:00:16 │ Loading plugin: CheckHelpers                                  │
│ debug │ 2025-Dec-24 19:00:16 │ Loading plugin: LuaScript                                     │
│ debug │ 2025-Dec-24 19:00:16 │ Adding script: C:\src\build\nscp\scripts\lua\mock.lua         │
│ debug │ 2025-Dec-24 19:00:16 │ Lua not compiled with protocol buffer support                 │
│ debug │ 2025-Dec-24 19:00:16 │ Loading plugin: WEBServer                                     │
│ debug │ 2025-Dec-24 19:00:16 │ Using certificate: C:\src\build\nscp/security/certificate.pem │
│ debug │ 2025-Dec-24 19:00:16 │ Loading webserver on port: 8443                               │
│ debug │ 2025-Dec-24 19:00:16 │ Starting plugin: LuaScript                                    │
│ debug │ 2025-Dec-24 19:00:16 │ NSClient++ - 0.4.0 2025-12-22 Started!                        │
│ debug │ 2025-Dec-24 19:00:16 │ Loading module C:\src\build\nscp\modules\CommandClient.dll () │
╰───────┴──────────────────────┴───────────────────────────────────────────────────────────────╯

Full Changelog: https://github.com/mickem/nscp/compare/0.11.1...0.11.2

nscp-0.11.2.tar.gz

Release tarball
application/gzip 2025-12-28 Download from Github

check_nsclient-0.11.2-ubuntu-x64

raw 2025-12-28 Download from Github

check_nsclient-0.11.2-Win32.exe

raw 2025-12-28 Download from Github

check_nsclient-0.11.2-x64.exe

raw 2025-12-28 Download from Github

NSCP-0.11.2-docs.zip

raw 2025-12-28 Download from Github

NSCP-0.11.2-Win32-legacy-xp.msi

raw 2025-12-28 Download from Github

NSCP-0.11.2-Win32-legacy-xp.zip

raw 2025-12-28 Download from Github

NSCP-0.11.2-Win32.msi

raw 2025-12-28 Download from Github

NSCP-0.11.2-Win32.zip

raw 2025-12-28 Download from Github

NSCP-0.11.2-x64.msi

raw 2025-12-28 Download from Github

NSCP-0.11.2-x64.zip

raw 2025-12-28 Download from Github

Release 0.11.1

What's Changed

Added query command to check_nsclient command and attached client only binaries to release.

This means you can now inventory queries (check_commands):

check_nsclient nsclient --insecure --password PASSWORD queries list
╭───────────────────────┬──────────────╮
│ title                 │ plugin       │
├───────────────────────┼──────────────┤
│ check_always_critical │ CheckHelpers │
│ check_always_ok       │ CheckHelpers │
│ check_always_warning  │ CheckHelpers │
│ check_and_forward     │ CheckHelpers │
╰───────────────────────┴──────────────╯

As well as execute queries:

check_nsclient nsclient --insecure --password PASSWORD queries execute check_memory
╭─────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ command     │ check_memory                                                                                                           │
│ output      │ OK: committed: 36.009GB/68.483GB, physical: 30.276GB/63.733GB                                                          │
│ committed   │ 36.008548736572266GB, warning: 54.78678588848561, critical: 61.635134124197066, minimum: 0, maximum: 68.48348236083984 │
│ physical %  │ 48%, warning: 80, critical: 90, minimum: 0, maximum: 100                                                               │
│ committed % │ 53%, warning: 80, critical: 90, minimum: 0, maximum: 100                                                               │
│ physical    │ 30.27570343017578GB, warning: 50.986785888671875, critical: 57.36013412475586, minimum: 0, maximum: 63.73348236083984  │
│ result      │ OK                                                                                                                     │
╰─────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

As with most commands you can get output as json:

check_nsclient --output json nsclient --insecure --password PASSWORD queries execute check_cpu
{
  "command": "check_cpu",
  "lines": [
    {
      "message": "OK: CPU load is ok.",
      "perf": {
        "total 1m": {
          "value": 20.0,
          "unit": "%",
          "warning": 80.0,
          "critical": 90.0,
          "minimum": null,
          "maximum": null
        },
        "total 5s": {
          "value": 23.0,
          "unit": "%",
          "warning": 80.0,
          "critical": 90.0,
          "minimum": null,
          "maximum": null
        },
        "total 5m": {
          "value": 21.0,
          "unit": "%",
          "warning": 80.0,
          "critical": 90.0,
          "minimum": null,
          "maximum": null
        }
      }
    }
  ],
  "result": 0
}

As well as in the nagios format:

check_nsclient nsclient --insecure --password PASSWORD queries execute-nagios check_cpu
OK: CPU load is ok.|'total 5m'=22%;80;90 'total 1m'=21%;80;90 'total 5s'=22%;80;90

Full Changelog: https://github.com/mickem/nscp/compare/0.11.0...0.11.1

nscp-0.11.1.tar.gz

Release tarball
application/gzip 2025-12-26 Download from Github

check_nsclient-0.11.1-ubuntu-x64

raw 2025-12-26 Download from Github

check_nsclient-0.11.1-Win32.exe

raw 2025-12-26 Download from Github

check_nsclient-0.11.1-x64.exe

raw 2025-12-26 Download from Github

NSCP-0.11.1-docs.zip

raw 2025-12-26 Download from Github

NSCP-0.11.1-Win32-legacy-xp.msi

raw 2025-12-26 Download from Github

NSCP-0.11.1-Win32-legacy-xp.zip

raw 2025-12-26 Download from Github

NSCP-0.11.1-Win32.msi

raw 2025-12-26 Download from Github

NSCP-0.11.1-Win32.zip

raw 2025-12-26 Download from Github

NSCP-0.11.1-x64.msi

raw 2025-12-26 Download from Github

NSCP-0.11.1-x64.zip

raw 2025-12-26 Download from Github