termuser
Author | Galen Johnson |
---|---|
Compatibility | Xymon 4.2 |
Requirements | Perl, Windows |
Download | None |
Last Update | 2007-06-30 |
Description
termusers.pl is an external script that is run by the Big Brother client on a Windows Terminal Servers. It counts the number of users and determines how many are active or disconnected users. It can be used to track multiple customers on a shared terminal server with minor modification.
Installation
Client side
- Add to BBWin.cfg in externals
<load value="C:\perl\bin\perl 'C:\Program Files\BBWin\ext\termusers.pl'" />
This may work as well
<load value="C:\perl\bin\perl ..\ext\termusers.pl" />
Server side
- Add 'termusers=ncv' to TEST2RRD in hobbitserver.cfg
- Add
NCV_termusers="ActiveSessions:GAUGE,DisconnectedSessions:GAUGE,*:NONE"
to hobbitserver.cfg.
- Add 'termusers' to the GRAPHS definitions in hobbitserver.cfg.
- Update hobbitgraph.cfg with:
[termusers] TITLE Terminal Server Users YAXIS # DEF:active=termusers.rrd:ActiveSessions:AVERAGE DEF:disc=termusers.rrd:DisconnectedSessions:AVERAGE LINE1:active#00CCCC:Active Users LINE2:disc#FF0000:Disconnected Users COMMENT:\n GPRINT:active:LAST:Active Users \: %5.1lf%s (cur) GPRINT:active:MAX: \: %5.1lf%s (max) GPRINT:active:MIN: \: %5.1lf%s (min) GPRINT:active:AVERAGE: \: %5.1lf%s (avg)\n GPRINT:disc:LAST:Disconnected Users \: %5.1lf%s (cur) GPRINT:disc:MAX: \: %5.1lf%s (max) GPRINT:disc:MIN: \: %5.1lf%s (min) GPRINT:disc:AVERAGE: \: %5.1lf%s (avg)\n
Source
termusers.pl
Known Bugs and Issues
- No known bugs.
To Do
- Provide instructions for tracking disparate customers.
Credits
- Brandon Kitchen - I took it over because I know he isn't going to want to support it.
Changelog
- 2007-06-30
- Initial release