" /> Logged in CC Pulse users ? - Genesys CTI User Forum

Author Topic: Logged in CC Pulse users ?  (Read 10788 times)

Offline blacklord

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Logged in CC Pulse users ?
« on: June 16, 2008, 03:09:45 AM »
Advertisement
Guys,

How can I monitor (in real time) which users have CC Pulse running ?

Lance

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Logged in CC Pulse users ?
« Reply #1 on: June 16, 2008, 03:49:39 AM »
I don't think that is possible...not even tracking SCI messages as you won't get the close message never.
Why do you need such option??

tony

  • Guest
Re: Logged in CC Pulse users ?
« Reply #2 on: June 16, 2008, 07:58:15 AM »
blacklord...

I think you might be looking at something on the Windows Operating System, rather than anything that Genesys Framework might be able to provide you with.  CCPulse, as an Application, [i]can [/i] be monitoried but no via any Genesys methods...

With a bit of [i]jiggery-pokery [/i] (<technical term) you could conceivably run a Windows batch file to start CCPulse and push a message from the Desktop to a central point.  However, the session ending would not produce the same results...

You might also consider another scripting language (java?) to start up CCPulse, along the same lines as above - that should be able to capture the start-up and shut-down of the Application on the desktop and send the results to a central point.

I'm also intrigued why you might want to do this?  If it is to ensure that certain staff have CCPulse running, you could put the ccpulse executable in the StartUp folder of the PC, to ensure it runs on boot up...?

Tony

[quote author=blacklord link=topic=3067.msg12430#msg12430 date=1213585785]
Guys,

How can I monitor (in real time) which users have CC Pulse running ?

Lance
[/quote]

Offline AndyB

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Logged in CC Pulse users ?
« Reply #3 on: June 18, 2008, 08:34:07 AM »
As Tony pointed out, this would need to be done outside of the Genesys framework.  You could try creating a batch file (assuming a Wintel architecture) that runs on the CCPulse StatServer host.  If you run the “netstat” command and then do some post-processing to search for (and count lines containing) the StatServer port number you should be able to get a list / count of clients that have open connections to StatServer.  You will need to exclude server side applications (e.g. URS), which could be done by excluding all Foreign Addresses that are part of your server architecture; this would leave you with a count of client connections.

When a client (CCPulse) disconnects the TCP/IP connection will go into t a CLOSE_WAIT state until the connection times out (usually a few minutes), so you may want to also check that the connection has a state of ESTABLISHED.



Offline blakemas

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Logged in CC Pulse users ?
« Reply #4 on: June 19, 2008, 08:11:36 PM »
I would probably write a little taskbar widget that looks at the process list looking for the ccpulse process currently "CallCenter.exe" and messages another applet with the windows username of the current user on the ccpulse pc.

There are a couple of ways you could setup the messaging to the server applet depending ont he level of complexity you want.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Logged in CC Pulse users ?
« Reply #5 on: June 20, 2008, 05:18:38 AM »
Uhm, guy, guys, why not just look into config server?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Logged in CC Pulse users ?
« Reply #6 on: June 20, 2008, 05:44:25 AM »
Uh? How so? How to know with config server when the application is still open??

AsT

  • Guest
Re: Logged in CC Pulse users ?
« Reply #7 on: June 23, 2008, 03:23:59 PM »
If you know any VBScript you could do the equivilant of a NetStat and then just count the number of connections that do NOT belong to other Genesys Processes.

I wrote something to track my Network connections to an Avaya switch MAPD cards so I hacked it up for you.  It looks on the Server 311Gen01 which is my primary StatServer and tells me who is connected to StatServer on Port 7400.  The other Genesys servers are filtered out by IP address.

All it does is print out the PC's attached to that port but it should be a good start for you.

NOTE: You do have to have the Windos OS SNMP component installed under Managment and Monitoring Tools in Windows components.

Let me know if it helps.

Thanks,
Taliaferro


'----------------------------------------------------------
'
' I have 311Gen01 as my Primary Genesys Server so I set it for the strTargetSnmpDevice
' ...(This is really just the hostname of My StatServer used by CCPulse)
'
strTargetSnmpDevice = "311gen01"

Set objWmiLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWmiServices = objWmiLocator.ConnectServer("", "root\snmp\localhost")

Set objWmiNamedValueSet = CreateObject("WbemScripting.SWbemNamedValueSet")
objWmiNamedValueSet.Add "AgentAddress", strTargetSnmpDevice
objWmiNamedValueSet.Add "AgentReadCommunityName", "public"

Set colTcpConnTable = _
    objWmiServices.InstancesOf("SNMP_RFC1213_MIB_tcpConnTable", , _
        objWmiNamedValueSet)

Set colUdpTable = _
    objWmiServices.InstancesOf("SNMP_RFC1213_MIB_udpTable", , _
        objWmiNamedValueSet)

For Each objTcpConn In colTcpConnTable

'
' All of My CCPulse Users connect to Port 7400 on my StatServer Server
'
  if objTcpConn.tcpConnLocalPort = "7400" then

'
' Now I need to filter out the vald connections by IP Address from my other Genesys
' ...applications like Backup Tserver, Symon GIS and other junk
'
    Select Case objTcpConn.tcpConnRemAddress
          Case "0.0.0.0"
          Case "10.50.16.51"
          Case "10.50.16.52"
          Case "10.50.16.53"
          Case "10.50.16.54"
          Case "10.50.16.55"
          Case "10.50.16.56"
          Case "10.50.16.57"
          Case Else
            WScript.Echo objTcpConn.tcpConnLocalAddress & ":"    & _
                          objTcpConn.tcpConnLocalPort    & " => " & _
                          objTcpConn.tcpConnRemAddress  & ":"    & _
                          objTcpConn.tcpConnRemPort      & " "    & _
                          "[State: " & objTcpConn.tcpConnState & "]"
    End Select
  End if
Next
'----------------------------------------------------------

Mat

  • Guest
Re: Logged in CC Pulse users ?
« Reply #8 on: September 01, 2008, 08:28:39 AM »
Hi
I´m begining to worck with theese tool

Have you any manual about ccpulse.

thanck you very much.

tony

  • Guest
Re: Logged in CC Pulse users ?
« Reply #9 on: September 01, 2008, 10:00:18 AM »
Ahh... I see now... Mat, this is the second post I have replied to, today...

I would suggest that you review pretty much all of the documents in my Thread, here;

http://www.sggu.com/smf/index.php/topic,2532.0.html

- Start with 001 and work your way through them... :)

Welcome to the weird and wonderful world of Genesys Solutions!

Tony

Offline S

  • Full Member
  • ***
  • Posts: 135
  • Karma: 1
Re: Logged in CC Pulse users ?
« Reply #10 on: September 12, 2008, 05:50:21 PM »
did you try looking into the config server logs - it logs the users using genesys apps including ccpulse...
may be someone can up with tracing those logs every 5 minutes and log into separate file the users logged in and out of ccpulse...