Administration XML Developer Forums

« Back to Administration XML Questions

Get Number of registered devices

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello all,
 
I have a simple question, but i don't think the answer is as simple as it seems (although i hope it is):
What would be the recommended way to get the total number of registered devices ... preferably per server or CallManager Group?
 
I'm using php, got quite the hang of the AXL stuff now. but for 'status' i'm looking at the risPort service now, but this far i can only seem to pull a full dump of all registered devices which seems quite heavy on the server to me ...
 
Best regards,
Jan.

on the risport request you can specify the phonenames that you want the status of returned,
so if you first find out which phones are in a group, you can then request them via risport

I would just need a global number of connected devices, so sorting on the names is not really an option.
I can filter on the 'status' in SelectCmDevice, but that would still give me a full dump of all devices that are connected, while i actually only need the number ...

You might want to look into perfmon

Sent from my iPhone4

On 26/04/2012, at 18:24, Cisco Developer Community Forums <cdicuser@developer.cisco.com> wrote:

> Jan Seynaeve has created a new message in the forum "Administration XML Questions":
>
> --------------------------------------------------------------
> I would just need a global number of connected devices, so sorting on the names is not really an option.
> I can filter on the 'status' in SelectCmDevice, but that would still give me a full dump of all devices that are connected, while i actually only need the number ...
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/5523413>
>
> or simply reply to this email.

Jan,
Why do you not use RTMT to see this info?
 
Geert

Jan,
Why do you not use RTMT to see this info?
 
Geert

 
Haha, good question, but i'm going over a number of different clusters and would like to have an overview of all of them with things like number of nodes, number of registered phones, gateways, ... 

You might want to look into perfmon


 
arr, looks like it indeed. Would there be any reference list of all those counters?



You might want to look into perfmon




 
arr, looks like it indeed. Would there be any reference list of all those counters?

 
Aha, found it, it seems there's a seperate forum for Serviceability XML ;-)
So for the counters, looks like just using RTMT Performance as a reference and take that directory structure. For registered phones (per server) it should look like this:
/<server>/Cisco CallManager/RegisteredHardwarePhones
 
Anyways, gonna try it out, all tips and tricks still welcome of course...