08-10-2022 08:47 AM
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
08-10-2022 09:49 AM
Bro, just CLI the query.
go on your pub CLI and run this: show risdb query phone
08-10-2022 10:29 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide