Giter VIP home page Giter VIP logo

Comments (2)

slauger avatar slauger commented on July 23, 2024

Hi Marco,

to be honest, I never noticed that there exists a v2 version of the NITRO API. That's new to me. On a VPX with the latest 12.0 firmware it throws me the following error when I try to logon with v2.

NetScaler UNKNOWN - {"errorcode":-1,"message":"Version not supported","severity":"ERROR"}

Could It be that the v2 API is only available on SDX? Adding another switch for selecting the version of the API shouldn't be that problem. This was planed for a future release anyways, when a new API version becomes available.

It seems that the content type between an SDX and API v2 and other appliances differ (see https://docs.citrix.com/en-us/sdx/12/nitro-api-doc/nitro-rest-api.html). Do you see any other differences? What exactly did you changed to get it running?

# SDX
Content-Type:application/vnd.com.citrix.sdx.login+json

# VPX (and the current implementation of t he API)
Content-Type:application/vnd.com.citrix.netscaler.login+json

from check_netscaler.

slauger avatar slauger commented on July 23, 2024

I've added a new switch --api which allows you to select a specific version of the API, e.g. --api='v2'. I don't know if that works. Maybe you could test this with your SDX appliance.

from check_netscaler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.