<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Inline,<br>
ws.<br>
<br>
On Tuesday, March 30, 2010 7:09:58 PM, Patrick Humpal
<a class="moz-txt-link-rfc2396E" href="mailto:phumpal@execinc.com"><phumpal@execinc.com></a> wrote:<br>
<blockquote
cite="mid:6F47F1EB1ED8AA48881DCAC8F09DB93E070ED364@INBOX.edi.execinc.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Hello,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">We're currently running
Call Manager 4.1(3)sr8a and I've been
asked to provide alerts when the number of Attendant Console users
falls below
0. Initially, this seemed like an easy task: enable RTMT Alerts for
“Cisco
Call Manager Attendant Console ClientsOnline” (TcdSrv.ClientsOnline)
and
send notification to the appropriate users. However, RTMT does not
allow
you to filter by date (only start and stop times; nor does it consider
time of
day routing) so it would generate alerts on the weekends or holidays
when AC
users would never be online.<br>
</span></font></p>
</div>
</blockquote>
ws: RTMT with CM 7.x and later allows time based alarms I believe.<br>
<blockquote
cite="mid:6F47F1EB1ED8AA48881DCAC8F09DB93E070ED364@INBOX.edi.execinc.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> <br>
My next step was to look into AXL. I created a simple PHP script to
query
the AXL service, but again, there is no TcdSrv.ClientsOnline available
so
it’s kind of pointless to use SOAP.<br>
</span></font></p>
</div>
</blockquote>
ws: The counter is just a perfmon counter. It should be available by
normal windows perfmon poll or by AXL Serviceability API. Not sure if
AXL serviceability included perfmons in 4.x, it certainly does in 5.x
and later.<br>
<blockquote
cite="mid:6F47F1EB1ED8AA48881DCAC8F09DB93E070ED364@INBOX.edi.execinc.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> <br>
Instead I took a different approach creating a performance counter to
run every
minute and log the number of clients online. The log file is mapped to
a
CIFS share where I have a cron job that greps the last line looking for
an
instance of 0 users:<br>
<br>
"03/30/2010 15:35:07.546","1"<br>
<font color="red"><span style="color: red;"><span
mce_style="color: #ff0000;">"03/30/2010
15:36:07.547","0"</span></span></font><br>
"03/30/2010 15:37:07.547","1"<br>
<br>
While this works and will send an alert out during business hours I
wanted to
extend this a bit to provide more useful information. For example it
would
be nice if you could see which users were currently online and who the
last
user was to go offline. Looking over the “Performance Objects and
Counters”
documentation it doesn’t look like you can query for specific
ClientsOnline:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><a moz-do-not-send="true"
href="http://www.ciscosystems.biz/en/US/docs/voice_ip_comm/cucm/service/4_1_3/ccmsrvs/ssappdxc.html">http://www.ciscosystems.biz/en/US/docs/voice_ip_comm/cucm/service/4_1_3/ccmsrvs/ssappdxc.html</a><o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Is there an easier way to
do this short of writing a log
parser to collect/grep the AC logs from each AC user's PC? <br>
</span></font></p>
</div>
</blockquote>
ws: Client information is not readily available. You can parse the
serverside AC logs to get the information but that is about it. <br>
<blockquote
cite="mid:6F47F1EB1ED8AA48881DCAC8F09DB93E070ED364@INBOX.edi.execinc.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><br>
If I missed something in the Developer docs please don't hesitate to
point it
out. Thanks!</span></font></p>
</div>
</blockquote>
ws: Nope, this is a hole in AC. What you are looking for is more
advanced user reporting which is a feature of IPCC.<br>
<blockquote
cite="mid:6F47F1EB1ED8AA48881DCAC8F09DB93E070ED364@INBOX.edi.execinc.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Patrick Humpal<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Systems Administrator<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Executive Director, Inc.<o:p></o:p></span></font></p>
<p class="MsoNormal"><st1:Street w:st="on"><st1:address w:st="on"><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">555 E. Wells St Suite 1100</span></font></st1:address></st1:Street><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><st1:place w:st="on"><st1:City w:st="on"><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Milwaukee</span></font></st1:City><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">, <st1:State w:st="on">WI</st1:State>
<st1:PostalCode w:st="on">53202</st1:PostalCode></span></font></st1:place><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(o) 414.276.6445<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(d) 414.918.3165<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</pre>
</blockquote>
<br>
</body>
</html>