ns_filediff

Configuration for monitoring file list diff present in nsconfig folder of NetScaler instances resource.

Read/write properties

diff_summary<String>

diff summary.

previous_filelist_details<String>

Comma separated list of files under nsconfig folder found in previous poll.

host_name<String>

host name.

diff_exists<String>

Diff exists. Possible values No Diff,NA,Diff Exists.

id<String>

Id is system generated key.

latest_filelist_details<String>

Comma separated list of files under nsconfig folder found in latest poll.

display_name<String>

display name .

total_count<Integer>

Total count available .

file_name<String>

file name.

filediff_na_count<Integer>

Total file diff not applicable count .

filediff_count<Integer>

Total file diff count .

last_modified<Double>

last modified timestamp of the file.

diff_status<String>

diff status of the file. Possible values: added,modified,deleted.

Read only properties

previous_polled_timestamp<Double>

Previous polled timestamp.

latest_polled_timestamp<Double>

Latest polled timestamp.

ip_address<String>

IP Address of NetScaler device.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/ns_filediff

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/ns_filediff?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of ns_filediff resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/ns_filediff?pagesize=#no&pageno=#no

Use this query-parameter to get the ns_filediff resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/ns_filediff?count=yes

Use this query-parameter to get the count of ns_filediff resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_filediff":[{
      "diff_summary":<String_value>,
      "previous_filelist_details":<String_value>,
      "host_name":<String_value>,
      "diff_exists":<String_value>,
      "id":<String_value>,
      "latest_filelist_details":<String_value>,
      "previous_polled_timestamp":<Double_value>,
      "display_name":<String_value>,
      "latest_polled_timestamp":<Double_value>,
      "ip_address":<String_value>,
      "total_count":<Integer_value>,
      "file_name":<String_value>,
      "filediff_na_count":<Integer_value>,
      "filediff_count":<Integer_value>,
      "last_modified":<Double_value>,
      "diff_status":<String_value>}]}