Windows
banshee/windows-collection/windows/snmp/
users
The number of users logged on to a Windows, by SNMP
by banshee1 installation2 versions
// 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'));