RDSH User

RDSH User

Description

This plugin checks RD sessions on a Remote Desktop Session Host (RDSH).
You can define some users usernames that must be online (e.g., system users for
running specific scripts or executing specific tasks ....). You can find the regarding
rule under Setup=>Service monitoring rules=>RDSH active user. In this rule, you can define
the usernames of one or more users! If one of the users defined in this rule is offline, the
check status will switch to critical. If no rule is specified, this check
status will always be OK!

The service contains also a perf-o-meter which shows the count of active and disconnected users.
The count of active and disconnected users are also available via a service graph.

Important: The Windows agent plugin needs the PowerShell module "PSTerminalServices" to
be installed on the monitored machine -> see https://www.powershellgallery.com/packages/PSTerminalServices/1.0
Please adjust the path to the "PSTerminalServices" PowerShell module inside the Windows agent plugin!

Latest Version

Version: 1.2
Packaged at: 14 Apr 2022
Created on Checkmk version: 2.0.0p18
Minimum Checkmk version required: 2.0.0p18
MKP MD5 hash: 9dc63c0da2cf0cb0b146ceeb2df3cc5e
This version requires Checkmk version 2.0.0 or higher
Agent Based
  • spit_rdsh_user.py
Agents
  • windows/plugins/spit_rdsh_users.ps1
Check Manuals
  • spit_rdsh_user
GUI Extensions
  • plugins/metrics/spit_rdsh_user_metrics.py
  • plugins/wato/spit_rdsh_user_parameters.py
  • Swoop 17-03-2022
    Nice package but the service crashes if a hostname contains spaces.

    Exception: ValueError (too many values to unpack (expected 5))

    Fix the powershell-script, line 50:
    $clientName = $tsSession.ClientName.replace(" ","-")

By downloading packages from the Checkmk Exchange you agree to our Terms of Use.