With last blog (/blogs/2011/08/17/nitro-programmatic-foundation-for-sdx-monitoring-and-management/) we saw how NITRO can be effectively used with SDX appliances for various functions. Command Center has been the product for centralized monitoring and management of NetScaler, Access Gateway and Branch Repeater product lines from several years. It provides excellent UI for administrator to work on and manage all the products and resources. With the UI support we had good experience overall and customers were happy but as the number of devices to manage grow and you want certain automated changes to take place based on generated events then we all come back to same requirement of programmatic support J

NITRO support has been extended to Command Center and we support API driven management and monitoring for all resources from Command Center release 4.1. For Command Center as well we support the Java and .NET programmatic SDKs. Command Center does support the API framework which is accessible over HTTP or HTTPS and you can play around with the APIs using a regular browser. You can securely login to Command Center using NITRO APIs and play around with the session parameters as well. Here is the output of base URI:

https://CCIP:8443/ccapi/v1/

{“ccdetails” :

{

“hostName”:”CmdCtr”,

“hostAddress”:”CCIP”,

“serverStartTime”:”Aug 23, 2011 12:55:29 PM GMT+05:30″,

“osName”:”Windows 2003″,

“databaseName”:”MYSQL”,

“totalMemory”:”248 MB”,

“freeMemory”:”205 MB”,

“webServerPort”:”8443″,

“TCPPorts”:”9094,1099,6010,2014″,

“SNMPPorts”:”8161,162″

}

}

Like NetScaler and SDX appliances, Command Center also supports different modular APIs through NITRO interface.

  • Authentication
  • Configuration
  • Monitoring
  • Performance
  • Discovery
  • Administration
  • Security
  • Syslog
  • AppFw
  • SSL Certificate
  • SSLVPN Report
  • Fault Handling
  • Error and Exception

Following are some of the sample APIs which would guide you towards API usage and their efficiency.

Details on SSL certificates present in Command Center

  • https://CCIP:8443/ccapi/v1/certificate

Details of certificate severity

  • https://CCIP:8443/ccapi/v1/certificateseverity

Syslog details

  • https://CCIP:8443/ccapi/v1/syslog

Application Firewall logs

  • https://CCIP:8443/ccapi/v1/appfw

All the events generated

  • https://CCIP:8443/ccapi/v1/fault/ccevent

Filters the event details for given event id

  • https://CCIP:8443/ccapi/v1/fault/ccevent/461

Details on alarms generated by monitored devices

  • https://CCIP:8443/ccapi/v1/fault/ccalarm

Alarm specific to the given NetScaler entity

  • https://CCIP:8443/ccapi/v1/fault/ccalarm/netScalerConfigChange10.102.42.4

Details on various triggers set for events

  • https://CCIP:8443/ccapi/v1/fault/eventtrigger

Details on various alarm trigger set

  • https://CCIP:8443/ccapi/v1/fault/alarmtrigger

Summary of alarms which have triggered

  • https://CCIP:8443/ccapi/v1/fault/alarmsummary

Details on polling interval configured in seconds

  • https://CCIP:8443/ccapi/v1/monitoring/pollinginterval

Details on virtual servers being monitored on various NetScalers

  • https://CCIP:8443/ccapi/v1/monitoring/virtualserver

Details on services being monitored on various NetScalers

  • https://CCIP:8443/ccapi/v1/monitoring/service

Provides task scheduling information

  • https://CCIP:8443/ccapi/v1/config/scheduleinfo

Shows the audit reports generated

  • https://CCIP:8443/ccapi/v1/config/changemgmt/auditreport

Shows change management template

  • https://CCIP:8443/ccapi/v1/config/changemgmt/template

Displays the audit policies configured

  • https://CCIP:8443/ccapi/v1/config/changemgmt/auditpolicy

Shows details of device profile like device family and other details

  • https://CCIP:8443/ccapi/v1/discovery/deviceprofile

Shows administrator profiles for configured Command Center admins

  • https://CCIP:8443/ccapi/v1/admin/security/useradmin

I am sure by now you are convinced that there is more than enough available in hand with Command Center APIs which can make your life much simpler 🙂

This blog is specific to Command Center 4.1 and 5.0 release only.