With the last blog on NITRO (/blogs/2011/07/30/shifting-focus-soap-to-nitro/), I am sure that you would be excited to get started on this cool framework. Practically the best way to kick start your NITRO journey is using a regular web browser and see quick results without having to write any script or use any programming tool.

Here is a quick walk through on how you can see various configuration entities on your browser client using simple HTTP based access. With every successful response you will see following return values for sure along with requested entity specific data.

“errorcode”: 0

“message”: Done

You need to ensure valid authenticated session with the NetScaler before trying to access any of these NITRO resources over HTTP. If session is not established then on first request to the system you will be asked to authenticate before running actual API. Following are examples of viewing the configured resources on NetScaler:

  • List of all possible configuration resources

–        http://<nsip>/nitro/v1/config

  • NetScaler Interface details

–        http://<nsip>/nitro/v1/config/Interface

  • All configured LB vservers

–        http:// <nsip>/nitro/v1/config/lbvserver/

  • Details of a particular LB vserver “vs1”

–        http:// <nsip>/nitro/v1/config/lbvserver/vs1

  • LB vserver binding details for “vs1”

–        http:// <nsip>/nitro/v1/config/lbvserver_binding/vs1

  • AppFlow policies bound to LB vserver “vs1”

–        http:// <nsip>/nitro/v1/config/lbvserver_appflowpolicy_binding/vs1

  • Rewrite policies bound to LB vserver “vs1”

–        http://<nsip>/nitro/v1/config/lbvserver_rewritepolicy_binding/vs1

  • Services bound to LB vserver “vs1”

–        http://<nsip>/nitro/v1/config/lbvserver_service_binding/vs1

  • Policy expressions configured

–        http://<nsip>/nitro/v1/config/policyexpression

  • HTTP Callout entities configured

–        http://<nsip>/nitro/v1/config/policyhttpcallout

  • Rewrite policies configured

–        http://<nsip>/nitro/v1/config/rewritepolicy

  • Static routes configured

–        http://<nsip>/nitro/v1/config/route

  • SSL certkey configured

–        http://<nsip>/nitro/v1/config/sslcertkey

  • Caching policies configured

–        http://<nsip>/nitro/v1/config/cachepolicy

  • All System users

–        http://<nsip>/nitro/v1/config/systemuser

  • VLANs configured

–        http://<nsip>/nitro/v1/config/vlan

  • Generating Tech Support

–        http://<nsip>/nitro/v1/config/techsupport

Similarly you can see statistics of configured resources:

  • List of all possible Stat resources

–        http://<nsip>/nitro/v1/stat

  • Global AAA stats

–        http://<nsip>/nitro/v1/stat/aaa

  • Global LB vserver stats

–        http://<nsip>/nitro/v1/stat/lbvserver

  • LB vserver stats for “vs1”

–        http://<nsip>/nitro/v1/stat/lbvserver/v1

  • Global SSL stats

–        http://<nsip>/nitro/v1/stat/ssl

  • Global Rewrite policy stats

–        http://<nsip>/nitro/v1/stat/rewritepolicy

  • Overall System stats

–        http://<nsip>/nitro/v1/stat/system

  • System CPU stats

–        http://<nsip>/nitro/v1/stat/systemcpu

  • System Memory stats

–        http://<nsip>/nitro/v1/stat/systemmemory

Above are just few examples of how you can see various system entities configured and their statistics. These will give up a good start and then you can figure out everything else on NetScaler through similar HTTP requests. More to come in next blog 🙂