swagger_client.SystemdiagnosticsApi

All URIs are relative to http://localhost/nifi-api

Method HTTP request Description
get_system_diagnostics GET /system-diagnostics Gets the diagnostics for the system NiFi is running on

get_system_diagnostics

SystemDiagnosticsEntity get_system_diagnostics(nodewise=nodewise, cluster_node_id=cluster_node_id)

Gets the diagnostics for the system NiFi is running on

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemdiagnosticsApi()
nodewise = false # bool | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
cluster_node_id = 'cluster_node_id_example' # str | The id of the node where to get the status. (optional)

try: 
    # Gets the diagnostics for the system NiFi is running on
    api_response = api_instance.get_system_diagnostics(nodewise=nodewise, cluster_node_id=cluster_node_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemdiagnosticsApi->get_system_diagnostics: %s\n" % e)

Parameters

Name Type Description Notes
nodewise bool Whether or not to include the breakdown per node. Optional, defaults to false [optional] [default to false]
cluster_node_id str The id of the node where to get the status. [optional]

Return type

SystemDiagnosticsEntity

Authorization

No authorization required

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]