Monitoring TS session on Windows 2003 server with SP1
Moderators: Developers, Moderators
Monitoring TS session on Windows 2003 server with SP1
Hi,
I had configured cacti to monitoring the Terminal Server session on Windows 2003, it was working very fine. Recently passed monday, i install the service pack 1 of windows 2003 on the terminal server and the monitoring is not working: the number of terminal server session represented on graphic cacti is not the real number of terminal server session on the terminal server.
Regards
Jose
I had configured cacti to monitoring the Terminal Server session on Windows 2003, it was working very fine. Recently passed monday, i install the service pack 1 of windows 2003 on the terminal server and the monitoring is not working: the number of terminal server session represented on graphic cacti is not the real number of terminal server session on the terminal server.
Regards
Jose
- Attachments
-
- This graphic show a good information before of install service pack 1 on terminal server
- good graphics.JPG (37.52 KiB) Viewed 10850 times
-
- This graphic show a bad information when i install service pack 1 on terminal server
- bad graphics.JPG (35.1 KiB) Viewed 10850 times
Looks like the SNMP type changed for that OID from guage to counter.
Change the TS rrd file DS type to a guage. What is it currently using (use rrdtool info to find out)?
Change the TS rrd file DS type to a guage. What is it currently using (use rrdtool info to find out)?
| 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 |
Re: OID
I ran the snmpget command and got the following resultcotelis wrote:this is a OID that i using:
.1.3.6.1.2.1.25.1.5.0
Q:\>snmpget -c sccgc -v 2c 192.168.103.1 .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 3
Q:\>snmpget -c sccgc -v 2c 192.168.100.64 .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 466
I wonder if the oid .1.3.6.1.2.1.25.1.5.0 represent the windows Terminal service's Session?
-
- Posts: 2
- Joined: Fri Sep 25, 2009 3:23 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Anyone know why MS have not fixed this? Do any of you have access to MS's official bug system?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Same reason Cacti hasn't fixed the supplied load average template - change is bad for existing installs. MS has had borken snmp uptime for years too, but since someone somewhere will be relying on it now, they don't fix it.TheWitness wrote:Anyone know why MS have not fixed this? Do any of you have access to MS's official bug system?
TheWitness
Several vendors do that with MIBs - once you have published the OID, you can't really change the type without breaking things for other people, so they just create a new table that does the right thing, instead.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Ya'll need to read the MIB file
hrSystemNumUsers OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"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."
::= { hrSystem 5 }
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I see says the blind man. So, it has nothing to do with the number of Logins, but only what is being managed by the host? I don't know. It sounds like current login sessions as well.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Alright, so conversely, does a Linux system correctly report the hrSystemNumUsers OID?
| 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 |
-
- Posts: 2
- Joined: Fri Sep 25, 2009 3:23 am
Who is online
Users browsing this forum: No registered users and 0 guests