NSClient++
MySolutions NORDIC·MySolutionsNORDIC.NSClient++
A fully fledged monitoring agent which can be used with many monitoring tools.
NSClient++ (nscp) aims to be a simple yet powerful and secure monitoring daemon. It was built for Nagios/Icinga, but nothing in the daemon is Nagios/Icinga specific and it can be used in many other scenarios where you want to receive/distribute check metrics. The daemon has 3 main functions: - Allow a remote machine (monitoring server) to request commands to be run on this machine (the monitored machine) which return the status of the machine. - Submit the same results to a remote (monitoring server). - Take action and perform tasks.
winget install --id MySolutionsNORDIC.NSClient++ --exact --source wingetLatest 0.27.0·November 22, 2026
Release Notes
Failed checks that explain themselves, a native Icinga 2 agent, and a Checkmk agent that matches the official one 0.27.0 is about the moment a check fails. The agent now keeps a log of its last failed checks, and can keep the metrics and diagnostics tables (top processes, services in trouble, the last log errors, the usual disk growth spots) from that moment, on the host and for the fleet server. It also adds an experimental IcingaAgent module that joins an Icinga 2 cluster natively, brings the Checkmk agent dump in line with the official agent, and adds pressure metrics, per-volume growth, and Hyper-V over-commitment and switch checks. β¨ Highlights
- π§Ύ A log of the last failed checks. The core keeps the last 50 WARNING, CRITICAL and UNKNOWN results from every transport, with output and perfdata. It shows on a new Failed checks page, as a dashboard widget and at GET /api/v2/failures (#1697).
- π What the system looked like when it failed. With capture metrics and capture diagnostics on, each failure keeps the metrics snapshot and small diagnostics tables from that moment. A new Diagnostics page shows them live, and an enrolled agent can send failure context to the fleet server (#1699, #1710).
- π§ IcingaAgent: NSClient++ as a native Icinga 2 agent (experimental). It speaks the cluster protocol on port 5665, requests its certificate from the Icinga CA and runs the checks the master schedules with command_endpoint (#1736).
- π€ The Checkmk agent dump matches the official agent. New Linux <<
>> and << >> sections, the full memory data, process owners and exact numbers. nscp mk install sets the agent up from the command line (#1719). - π Pressure metrics and volume growth. Linux pressure stall figures, the Windows processor queue and page faults, the average disk queue, and how much each volume grew in the last hour and day, as metrics and as check_drivesize keywords (#1710).
- π₯οΈ Hyper-V over-commitment and virtual switches. check_hyperv_host reports CPU and memory over-commitment, the new check_hyperv_switches checks every virtual switch, and check_hyperv_vms finds duplicate VM names (#1718).
- π Security fixes. A Checkmk dump field read from the OS can no longer forge rows or sections (#1735). The Windows web backend moves to Mongoose 7.24 (#1722).
π Detailed changes
π§Ύ Core β the failed-check log
The log is on by default and lives in memory only. Configure it under [/settings/core/failed checks], or in the new folded Failed-check log settings card on the Failed checks page:
ββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key βMeaning
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
enabled, max entries, statuses βWhether to keep the log, how many entries (default 50), which states count.
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
record arguments βnone, safe (default: thresholds, filter, syntax and what was checked) or all (every option, with password/token values as ***).
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
capture metrics, capture diagnostics βKeep the metrics snapshot and the diagnostics tables with each failure. Off by default.
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
metrics context budget, max context βBound what the snapshots may hold (default 4 MiB). The oldest are released first and their failures stay in the log marked
size βevicted.
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
prune metrics, prune pattern βTrim each snapshot: zeros, empty, duplicates, or keys containing a text.
ββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
GET /api/v2/failures takes ?status=, ?command=, ?since= and ?limit=. GET /api/v2/failures/
/context serves the snapshot, and DELETE empties the log. The endpoints need the new failures.list / failures.delete grants, which only the built-in full role holds. π Core β diagnostics capture diagnostics keeps small tables with each failure, each switched on in the module that produces it: βββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Table βHolds βββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ processes.top_cpu, βName, pid, CPU share and memory. Never a command line. processes.top_memory β βββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ services.problems, services.events βServices not running as they should, and the service manager's crash and restart events. βββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ eventlog.errors βThe last critical and error events (Application and System logs, or the journal). βββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ disk.growth_spots βThe size of the temp and log folders, page and swap files, and shadow-copy storage. βββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ failures.recent βThe last failed checks. Always present. βββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ GET /api/v2/diagnostics (new diagnostics.list grant) serves the latest snapshot live, and nscp test gains a diagnostics [section] command. An enrolled agent sends at most one failure-context report per failure context interval (default 1h) to a fleet server that asks for one. Set failure context = false under [/settings/fleet] to send none. π§ IcingaAgent β a native Icinga 2 agent (experimental) The module is not loaded by default and does nothing until /settings/Icinga/agent has a parent host and a parent endpoint. It then connects to an Icinga 2 master or satellite, gets a certificate (straight away with a ticket, otherwise after icinga2 ca sign), and runs the checks it is sent. CheckCommands import ifw-api, the same convention Icinga for Windows uses. Checks run as IcingaAgent: , so the permission policy decides what the parent may run. tls version and allowed ciphers tune the connection. Install the master's ca.crt, or set parent fingerprint, so the first connection is verified too. π€ CheckMKServer β official agent sections and nscp mk install βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Section βChange βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ << >>, βNew on Linux: load, thread count, /proc/vmstat and /proc/stat. << >> β βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ << >> βThe whole of /proc/meminfo on Linux, commit limit and virtual memory on Windows, exact βvalues.
βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
<<
- Pressure. system.pressure.* adds the Linux pressure stall figures for CPU, memory and I/O, major faults, and the Windows processor queue length and page faults. disk.io.
.avg_queue_length joins the instantaneous queue length on both platforms. - Volume growth. disk.free.
.used_change_1h and _24h say how much a volume grew, and check_drivesize gains the same keywords: warn=used_change_1h > 2G. They read unknown until the agent has a full hour (or day) of history.
Installer type: wix
Details
- Homepage
- https://nsclient.org/
- License
- GPL-2.0
- Publisher
- MySolutions NORDIC
- Support
- https://github.com/mickem/nscp/issues
- Copyright
- Copyright (C) 2026 - Michael Medin
- Moniker
nscp
Tags
icinganaemonnagios