Monitoring TS session on Windows 2003 server with SP1

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cotelis
Posts: 3
Joined: Thu Jun 02, 2005 4:32 pm

Monitoring TS session on Windows 2003 server with SP1

Post by cotelis »

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
Attachments
This graphic show a good information before of install service pack 1 on terminal server
This graphic show a good information before of install service pack 1 on terminal server
good graphics.JPG (37.52 KiB) Viewed 10859 times
This graphic show a bad information when i install service pack 1 on terminal server
This graphic show a bad information when i install service pack 1 on terminal server
bad graphics.JPG (35.1 KiB) Viewed 10859 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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)?
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

What OID are you using to provide you the TS session information?
cotelis
Posts: 3
Joined: Thu Jun 02, 2005 4:32 pm

OID

Post by cotelis »

this is a OID that i using:

.1.3.6.1.2.1.25.1.5.0
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

Just curious, I've never been able to get many of the Host mib counters to work. We had to get SNMPInformant Advanced to let us get to what we wanted.

Did BSOD's recommendation fix your issue?
ioiioi
Cacti User
Posts: 52
Joined: Mon Mar 28, 2005 8:57 am

Re: OID

Post by ioiioi »

cotelis wrote:this is a OID that i using:

.1.3.6.1.2.1.25.1.5.0
I ran the snmpget command and got the following result
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?
thedude666
Posts: 2
Joined: Fri Sep 25, 2009 3:23 am

Post by thedude666 »

Sorry to dig this topic up again :)

But at the moment I have the same issue.
I am not sure how I can solve this.
I want to get the current number of logged in users.

The data source type is "Gauge".

Has anyone able to solve this or a workaround?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

It may be more accurate to get this value via WMI. I think there is a template somewhere on the forums that does this.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Anyone know why MS have not fixed this? Do any of you have access to MS's official bug system?

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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:Anyone know why MS have not fixed this? Do any of you have access to MS's official bug system?

TheWitness
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.

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!)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Ya'll need to read the MIB file :P
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 }
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, so conversely, does a Linux system correctly report the hrSystemNumUsers OID?
thedude666
Posts: 2
Joined: Fri Sep 25, 2009 3:23 am

Post by thedude666 »

I don't know.

Does anyone knows a OID that does return the number of users? :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests