5.02021-11-21T22:08:12ZTemplates/ModulesModule Windows users by Zabbix agentModule Windows users by Zabbix agent## Description
Get a total of logged-in users in the system.
## Overview
**Attach** this module with your **Template OS Windows by Zabbix agent** or the **Template OS Windows by Zabbix agent active**, and start to get the number of users that are logged in your Windows Server.
This module shows the 'active users' and the 'disconnected users' (consuming system resources).
This module works great with my [Grafana Dashboard](https://grafana.com/grafana/dashboards/5363), please take a look.
Item details:
For a very long time, I tried to get this done in Windows (Linux already comes with this monitoring out of the box), the only option I know was with 'Remote Commands', which can have some security problems, or the company doesn't want to enable, so I figured out how to do this with WMI.
Please enjoy.
## Author
Paulo Paim
Templates/ModulesGeneral- Number of logged in userswmi.getall[root\cimv2,select SessionId from Win32_Process where Name like '%explorer.exe%']The number of users who are currently logged in.GeneralJSONPATH$.length()DISCARD_VALUE
Module Windows users by Zabbix agent activeModule Windows users by Zabbix agent active## Description
Get a total of logged-in users in the system.
## Overview
**Attach** this module with your **Template OS Windows by Zabbix agent** or the **Template OS Windows by Zabbix agent active**, and start to get the number of users that are logged in your Windows Server.
This module shows the 'active users' and the 'disconnected users' (consuming system resources).
This module works great with my [Grafana Dashboard](https://grafana.com/grafana/dashboards/5363), please take a look.
Item details:
For a very long time, I tried to get this done in Windows (Linux already comes with this monitoring out of the box), the only option I know was with 'Remote Commands', which can have some security problems, or the company doesn't want to enable, so I figured out how to do this with WMI.
Please enjoy.
## Author
Paulo Paim
## Description
Get a total of logged-in users in the system.
## Overview
**Attach** this module with your **Template OS Windows by Zabbix agent** or the **Template OS Windows by Zabbix agent active**, and start to get the number of users that are logged in your Windows Server.
This module shows the 'active users' and the 'disconnected users' (consuming system resources).
This module works great with my [Grafana Dashboard](https://grafana.com/grafana/dashboards/5363), please take a look.
Item details:
For a very long time, I tried to get this done in Windows (Linux already comes with this monitoring out of the box), the only option I know was with 'Remote Commands', which can have some security problems, or the company doesn't want to enable, so I figured out how to do this with WMI.
Please enjoy.
## Author
Paulo Paim
Templates/ModulesGeneral- Number of logged in usersZABBIX_ACTIVEwmi.getall[root\cimv2,select SessionId from Win32_Process where Name like '%explorer.exe%']The number of users who are currently logged in.GeneralJSONPATH$.length()DISCARD_VALUE