banshee is under active development: collectors will keep changing, and a version you publish will likely need adjustments. For stable use, wait for version 1.0.0.

Windows

banshee/windows-collection/windows/snmp/

users

The number of users logged on to a Windows, by SNMP

  • windows
  • snmp
  • users

by banshee1 installation2 versions

Keen 1.0.0 · 10 lines
// The number of users logged on to a Windows, by SNMP, from hrSystemNumUsers (HOST-RESOURCES-MIB):
// the open sessions, at the console as well as remote.
need('protocol:snmp');

output('users', 'number', array('label' => 'Users logged on'));

// 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 users logged on', 'users', array('enabled' => false));

value('users', snmp.get('1.3.6.1.2.1.25.1.5.0'));