To je najnovejša različica. · Izdano:
Namestitvene datoteke 0.28.0
| Arhitektura | Vrsta | Za koga | Velikost datoteke | Prenesi | SHA256 |
|---|---|---|---|---|---|
| 64-bitno | MSI · en-US | Vsi uporabniki | — | github.com | VirusTotal |
| 32-bitno | MSI · en-US | Vsi uporabniki | — | github.com | VirusTotal |
Povezava in SHA256 izhajata iz manifesta skupnosti Windows Package Manager. Pred zagonom primerjajte zgoščeno vrednost prenesene datoteke.
Opombe ob izdaji
# A web UI page for every module, an agent that suggests what to monitor, and new checks for drives, GPUs, SMB shares and Java
0.28.0 makes the agent easier to set up. Every module with settings now has its own page in the web UI, and a new discovery API looks at the host and suggests which modules to enable. It adds `check_smart`, `check_gpu`, `check_smb_client`, `check_jvm` and `check_csv`, brings five Windows checks to Linux, and lets every filter check take `-w` and `-c`. It also tightens how SQL checks and client targets handle credentials.
## ✨ Highlights
- 🧭 **Discovery: the agent says what is on the host.** A new admin-only API runs probes on demand: performance counters, SQL Server instances and databases, scripts, services and installed software. From these the agent suggests modules to enable, which the new *Suggestions* page loads in one click. `nscp discovery --suggest` does the same from the command line on a fresh install (#1807, #1808, #1814, #1817, #1820).
- 🖥️ **A web UI page for every module.** The servers, the clients' targets, the database, WMI, Docker and Kubernetes checks, aliases, scripts, the scheduler and the disk checks each get a page that says plainly what weakens the setup, with *Test connection* buttons and *Show config* for an INI fragment. Changes wait for *Save*. Modules have categories and icons, and the *Checks* page filters by tag (#1784, #1789, #1794, #1796, #1799, #1801, #1815).
- 💽 **New checks.** `check_smart` reads SMART health natively on Windows and Linux, with no `smartctl`. On Windows, `check_gpu` reports GPU load and memory and `check_smb_client` reports latency to remote shares. `check_jvm` reads Java applications over Jolokia, and `check_csv` runs a filter over the rows of a CSV file. All are experimental (#1760, #1767, #1768, #1769, #1770).
- 🐧 **Five Windows checks now run on Linux.** `check_local_accounts`, `check_group_members`, `check_secureboot`, `check_pending_reboot` and `check_hardware` use the same keywords and output, so one policy works on both platforms (#1771–#1775).
- 🎚️ **`-w`, `-c` and `show-query`.** Every filter check takes the short thresholds other plugins use (`check_cpu -w 80 -c 90`, `check_drivesize -w 20%`). `show-query` prints the query a check would run instead of running it. Units such as `500ms`, `30min` and `4GB` parse in full, and every duration keyword accepts them (#1738, #1754, #1757).
- 🚫 **Remove single checks with `disabled checks`.** Enabling a module no longer has to mean offering every check it has. Names listed under `[/settings/core] disabled checks` are gone for every caller and transport, and answer as if they never existed (#1813).
- 🔒 **Security.** SQL checks no longer send the configured login, or the machine account, to a server the request names (#1803). A filter expression that fails is now reported instead of being read as a clean result (#1721).
## ⚠️ Upgrade notes
The full list is on the [upgrading page](https://nsclient.org/docs/setup/upgrading/), and the security fixes are on the [security notices page](https://nsclient.org/docs/security/notices/).
- **SQL checks:** a request that names `server=`, `host=`, `port=`, `driver=`, `encrypt=`, `trust-cert=` or `tls=` must also name `user=` and `password=`. `connection-string=` is no longer a request option, and an empty `user=` and named-pipe servers are refused. To reach another server with the configured login, list it under `targets` and pass `target=`.
- **Client targets:** a key set on `default` now reaches every target that does not set its own. Check `allow host override`, `verify mode`, `ca` and credentials on `default`. NRPE now tries an unreachable server 4 times; set `retries = 2` to keep the old count.
- **`Filter evaluation failed:`** a check that now reports this was not evaluating the expression as written before. Fix the unit, keyword or regular expression it names. A threshold that used a unit on a millisecond, seconds or bytes keyword compared against 0 before, so it may stop firing where it always fired.
- **Web server status checks:** an unreachable status page is now UNKNOWN, not CRITICAL. Make sure UNKNOWN notifies.
- **`check_http` `json-path`:** replace `qlen < 1` used to catch a missing field with `qlen = 'missing'`.
- **Custom roles:** the counter list moved from `/api/v2/metadata/counters` (`metadata.get.counters`) to the discovery API, which needs `discovery.run`.
- **Windows MSI with an explicit feature list:** add `VCRuntime` to `ADDLOCAL=`, or the install is refused on a machine without the redistributable.
- **CheckMKServer:** move the file from `[/settings/check_mk/server/scripts]` to `script =`.
- **Linux `check_local_accounts`:** UNKNOWN under the packaged `nsclient` user until it can read `/etc/shadow` (Debian: the `shadow` group), or pass `allow-unreadable-shadow`.
**Full Changelog**: https://github.com/mickem/nscp/compare/0.27.0...0.28.0