NoMachine Support

Your questions answered

Knowledge Base

Searching in: Feature Requests
Filter the search results
Target version:
Products:
Status:
Last update:
Searching in: Feature Requests
ID: FR03R03957
Added on:  2020-03-25
Last update: 2021-01-13
Priority: Configuration
Products: NoMachine Server
Target: 7
Status:  Approved
Printing information in server logs when session/user limits are going to be exceeded

The following server configuration keys will allow administrators to set a threshold for printing an alert in server logs when the number of allowed sessions or users is going to be exceeded:

#
# Specify the threshold for printing an alert into server log when
# the number of concurrent connections reaches that value. This key
# must be used in conjunction with the ConnectionsLimit key.
#
#ConnectionsLimitAlert

#
# Specify the threshold for printing an alert into server log when
# the number of concurrent users reaches that value. This key
# must be used in conjunction with the ConnectionsUserLimit key.
#
ConnectionsUserLimitAlert

#
# Specify the threshold for printing an alert into server log when
# the number of concurrent users reaches that value. This key
# must be used in conjunction with the VirtualDesktopsLimit key.
# The alert threshold should not be higher than the number of virtual
# desktops allowed by the license.
#
VirtualDesktopsLimitAlert

#
# Specify the threshold for printing an alert into server log when
# the number of concurrent users reaches that value. This key
# must be used in conjunction with the VirtualDesktopsUserLimit key.
#
VirtualDesktopsUserLimitAlert

 

A further key in server.cfg will allow administrators to run a custom script for performing actions when any of the alert threshold is reached:

#
# Specify absolute path of the custom script to be executed when any
# of the threshold alarms set for users or connections limits is
# reached. The script can accept username, client IP, type of alarm
# (for connections, users connections, virtual desktops and users
# virtual desktops limit) as its input.
#
#UserScriptAfterLimitAlarm ""

 


Notify me when the FR is implemented.