<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Robert,<br>
<br>
You like your caked and eating it too, eh?&nbsp; SNMP OID is here:<br>
<a class="moz-txt-link-freetext" href="http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.156.1.2.1.1">http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&amp;translate=Translate&amp;objectInput=1.3.6.1.4.1.9.9.156.1.2.1.1</a><br>
<br>
you can query per device.<br>
<br>
Otherwise use AXL Serviceability Interface to query specific device:<br>
<a class="moz-txt-link-freetext" href="http://www.cisco.com/en/US/customer/products/sw/voicesw/ps556/products_programming_usage_guide_chapter09186a00806ea5d1.html">http://www.cisco.com/en/US/customer/products/sw/voicesw/ps556/products_programming_usage_guide_chapter09186a00806ea5d1.html</a><br>
<br>
/Wes<br>
<br>
Robert wrote:
<blockquote cite="mid:1193849951.7955.37.camel@robert.morsco.com"
 type="cite">
  <pre wrap="">On Wed, 2007-10-31 at 11:26 -0400, Lelio Fulgenzi wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">you can also see the registration status from the callmanager web page.
but you probably already knew that.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
hehehhee Yeah... I need a non-interactive way

On Wed, 2007-10-31 at 10:26 -0500, Wes Sisk wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">That said there are a few ways to query device registration status:
1. mmfspy from the command prompt of the CM server
2. SNMP looking at the device table in the CCM mib.  It gives the
same information as mmfspy
3. <a class="moz-txt-link-freetext" href="http://">http://</a>&lt;server&gt;/ccmadmin/reports/DeviceListX.asp gives the same 
information as mmfspy
    </pre>
  </blockquote>
  <pre wrap=""><!---->
mmfspy - spiffy tool, very quick, but interactive. :/

SNMP - will have to investigate this, but at first glance, this may be a
good bet for what I'm doing here...

DeviceListX.asp - also spiffy and I can wget the info, though it does
not come back quickly since it gives me the status of not just one
device but all of them. :) Takes about 7.5 seconds for 1144 lines.

I have been moving all my command line tools to a web server so that
more than just the two admins can benefit from them. In the process, I
have combined several of them and added some functionality. Every time I
add something cool, it makes me want more and registration status and/or
the phone's IP is the next bit I'd like to see on the telephone info
page :)

Thanks, especially to Wes, for all the help!

Robert



_______________________________________________
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>
</body>
</html>