Windows
banshee/windows-collection/windows/snmp/
users
The number of users logged on to a Windows, by SNMP
by banshee1 installation2 versions
v2Latest
Published on October 28, 2026. One naming convention across collections; documentation completed.
// The number of open sessions on a Windows, by SNMP, from hrSystemNumUsers (HOST-RESOURCES-MIB):
// the sessions open at the console as well as remote.
need('protocol:snmp');
output('sessions', 'number', array('label' => 'Open sessions'));
// No threshold by default: what is normal depends on the server, a jump host or a server without sessions.
watch.above('too-many', 'Too many open sessions', 'sessions', array('enabled' => false));
value('sessions', snmp.get('1.3.6.1.2.1.25.1.5.0'));