Skip to content

PresidioCode/ciscoucserviceability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python SDK for Cisco CUCM Servicability API

Servicability API Documentation

Use Cases

  • Retrieve status of services
  • Start/Stop/Restart a service
  • Activate/Deactivate a service

Notes

  • The API relies on Cisco Tomcat, so this is reset via SSH and requires osadmin privileges
  • SDK needs to be instanciated per CUCM node
  • ciscoaxl SDK can be used to list the process nodes

Instructions

  • git clone this repository
  • pip install -r requirements.txt

Examples

(ciscoservicability) jlevensailor in ~/Dev/ciscoservicability on master 🌮 python test.py

+----------------------------+--------------+---------+---------+
| Host                       | Service      | Status  | Uptime  |
+----------------------------+--------------+---------+---------+
| ccm-pub-srvr-01.cdpneighbors.com  | Cisco Tomcat | Started | 3:31:04 |
| ccm-sub-srvr-01.cdpneighbors.com  | Cisco Tomcat | Started | 3:40:13 |
| ccm-sub-srvr-02.cdpneighbors.com  | Cisco Tomcat | Started | 3:39:16 |
| ccm-sub-srvr-03.cdpneighbors.com  | Cisco Tomcat | Started | 3:36:11 |
| ccm-sub-srvr-04.cdpneighbors.com  | Cisco Tomcat | Started | 3:33:07 |
| ccm-tftp-srvr-01.cdpneighbors.com | Cisco Tomcat | Started | 3:38:16 |
| ccm-tftp-srvr-02.cdpneighbors.com | Cisco Tomcat | Started | 3:35:10 |
| ccm-tftp-srvr-03.cdpneighbors.com | Cisco Tomcat | Started | 0:36:54 |
+----------------------------+--------------+---------+---------+

For a complete list of examples, see examples.py

Releases

No releases published

Packages

No packages published

Languages