SNClient 0.43 was released

A new version of SNClient was released.

Breaking Changes

  • DEPRECATION NOTICE linux agent runs now as unprivileged snclient user.

Read more below.

Features

  • add /api/v1/admin/log/level rest endpoint to change log level
  • add /api/v1/admin/log/file rest endpoint to retrieve log file
  • add check_ssh to test ssh server

Changed

  • update node exporter to 1.11.1
  • update windows exporter to 0.31.6
  • use linux capabilities for check_omd
  • update golang build chain to 1.26.3
  • make listener errors fatal during startup
  • check_tcp: make hostname mandatory
  • check_tcp: critical defaults to 10s
  • check_tcp: add time performance data
  • check_http: add certificate checks and redirect support

Bugfixes

  • check_process: fix command detection when args contain colons

Download

https://github.com/consol-monitoring/snclient/releases/tag/v0.43

Linux Dropped Privileges

Since the version v0.43 the default Linux installation will run the snclient as user snclient with dropped privileges.

However, in order to perform certain checks, the snclient binary will make use of capabilities to start some sub processes as root user. For example the omd check requires root permissions.

Run as root again

In case you need to run snclient as root user again, you can change the user name in an systemd override setting:

Edit the snclient service by running this command:

sudo systemctl edit snclient.service

and add the override:

[Service]
User=root