On a lot of my W2K Advanced Server servers, I've noticed that the Host MIB - Logged in users reports upwards of what is true...
For example, the cacti server itself... no-one is logged in at the console.. and I'm logged in via Terminal Services... so that should make "1" right? But I get 2-4 reported back to Cacti.
Or have I missed what this OID actually counts ?
Actually - does anyone know a good www page/document that tells you what MIBS the Microsoft SNMP agent supports ? I found http://www.microsoft.com/technet/itsolu ... /snmp.mspx which lists them briefly , but not in any great detail of interpretation
What counts as a logged in user?
Moderators: Developers, Moderators
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Per logged on users, I have a hunch it also is counting those logged on via a RPC session
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
The definition I have for .iso.org.dod.internet.mgmt.mib-2.host.hrSystem.hrSystemNumUsers is, "The number of user sessions for which this host is storing state information. A session is a collection of processes requiring a single act of user authentication and possibly subject to collective job control."
Maybe snmp informant will provide what you're after, otherwise it's time for a simple script.
Maybe snmp informant will provide what you're after, otherwise it's time for a simple script.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
What about trying my simple script, It work fine on my production environment.The value is exactly as the TerminalService Mgmt shows.
- Attachments
-
- w32_TS_LogonUsers.zip
- (5.18 KiB) Downloaded 237 times
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Thanks for the responses guys. I've had some very weird results today. I had to increase the memory on the server as it was quite low. After the restart, I now get the below graph for # of users... weird. Think I'll try ioiioi' script.
- Attachments
-
- Weird graph.
- untitled.jpg (23.58 KiB) Viewed 1902 times
Who is online
Users browsing this forum: No registered users and 1 guest