Mark Payne created NIFI-6658:
--------------------------------

             Summary: Provide capability for obtaining diagnostic information 
for admins
                 Key: NIFI-6658
                 URL: https://issues.apache.org/jira/browse/NIFI-6658
             Project: Apache NiFi
          Issue Type: New Feature
            Reporter: Mark Payne
            Assignee: Mark Payne


When users run into issues, there are several different questions that we end 
up asking very often:
 * What version of NiFi?
 * What does thread dump look like?
 * What version of Java?
 * Operating system info
 * Disk space usage
 * Cluster information
 * How many open file handles are used / allowed?

And several others that are along those same lines.

We already have the ability for an admin to run `bin/nifi.sh dump <filename>` 
to gather the thread dump. We should expand this capability to provide more 
than just a thread dump and to provide the answers to these common questions, 
so that a user can easily just obtain the diagnostic information easily with a 
single command.

It probably makes more sense to introduce a new command, `bin/nifi.sh 
diagnostics <filename>` rather than just adding this to the `dump` command 
because there are times that we need to gather several thread dumps, and we 
don't need to gather all of this information each time. Some may already have 
scripts, etc. that are setup to parse the thread dumps, as well.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to