check_netscaler icon indicating copy to clipboard operation
check_netscaler copied to clipboard

SDX Support

Open emilbasv3 opened this issue 3 years ago • 1 comments

Hi, we are trying to use check_netscaler against a SDX appliance but we got errors.

System: Netscaler SDX 8015 ver 11.1
Hypervisor: Citrix XenServer ver 6.5

Outputs:

# ./check_netscaler.pl -H <IPADDR> -s -C hwinfo -u <USER> -p <PASSWD> -v
debug: target url is https://<IPADDR>/nitro/v1/config/nshardware
NetScaler UNKNOWN

# ./check_netscaler.pl -H <IPADDR> -s -C interfaces -u <USER> -p <PASSWD> -v
debug: target url is https://<IPADDR>/nitro/v1/config/interface
NetScaler UNKNOWN

Poking the API via curl produce the following output, that endpoint is missing indeed:

# curl -k -u '<USER>:<PASSWD>' -XGET "https://<IPADDR>/nitro/v1/config/nshardware"
{ "errorcode": 10005, "message": "Invalid Resource", "severity": "ERROR" }

# curl -k -u '<USER>:<PASSWD>' -XGET "https://<IPADDR>/nitro/v1/config/interface"
{ "errorcode": 10005, "message": "Invalid Resource", "severity": "ERROR" }

Please let me know if this can be integrated with any details.

emilbasv3 avatar Jan 25 '22 14:01 emilbasv3

Hi,

the SDX API is a bit different than the API for the VPX and MPX. Some APIs and checks should work, but not all.

What exactly do you want to monitor?The main issue is that i do not have a SDX development environment or a customer with a SDX, where i can develop/test against the SDX API.

slauger avatar Jan 25 '22 14:01 slauger