| | 25 | |
| | 26 | == Examples == |
| | 27 | === Check Users LoggedIn === |
| | 28 | This script enables you to check how many users are active (logged in via RDP) on any given server. This is especially useful for Terminal Servers to check the user load. The script also supplies performance data so you can graph the user load. |
| | 29 | |
| | 30 | Check_users_loggedin accept none OR two arguments. Specifying only one or more then two arguments will return an error.[[BR]] |
| | 31 | If no arguments are given, only the current user load is returned as an 'OK' state. Specifying a warning and critical number will return a warning or a critical state if the user load exceeds the threshold. |
| | 32 | |
| | 33 | {{{ |
| | 34 | check_users_loggedin=scripts\check_users_loggedin $ARG1$ $ARG2$ |
| | 35 | }}} |
| | 36 | |
| | 37 | [[NSClientResult(OK: Users logged in: 1|'users'=1;40;50)]] |