cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
564
Views
5
Helpful
2
Replies

Help!! Pyton script to get the number of registered phones in a cluste

Hi guys,

It is possible you can help me to get a python script that would allow me to get the number of registered phones in a cluster? I usually spend a lot of time looking at RTMT and registered devices, but that does not scale very well because we have a lot of clusters.

 

And seems there is no AXL SOAP payload to get the registered phones (I looked in SOAPUI), it is possible you can help me with this?

Thank you very much for your help!!

Juan

2 Replies 2

IP_Cartel
Level 1
Level 1

Bro, just CLI the query.

go on your pub CLI and run this: show risdb query phone

dstaudt
Cisco Employee
Cisco Employee

To get just the count of registered phones, you can use the Serviceability PerfMon API: https://developer.cisco.com/docs/sxml/#!perfmon-api-reference
Sample Python script in this project: https://github.com/CiscoDevNet/serviceability-python-zeep-samples/blob/master/perfmonPort_collect_counter_data.py