<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Collecting diagnostics: scrutinize command</title>
    <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/</link>
    <description>Recent content in Collecting diagnostics: scrutinize command on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Running scrutinize</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/running-scrutinize/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/running-scrutinize/</guid>
      <description>
        
        
        &lt;p&gt;You can run &lt;code&gt;scrutinize&lt;/code&gt; with the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ /opt/vertica/bin/scrutinize
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Unqualified, &lt;code&gt;scrutinize&lt;/code&gt; collects a wide range of information from all cluster nodes. It stores the results in a &lt;code&gt;.tar&lt;/code&gt; file (&lt;code&gt;VerticaScrutinize.&lt;/code&gt;&lt;em&gt;&lt;code&gt;NumericID&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.tar&lt;/code&gt;), with minimal effect on database performance. &lt;code&gt;scrutinize&lt;/code&gt; output can help diagnose most issues and yet reduces upload size by omitting fine-grained profiling data.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;code&gt;scrutinize&lt;/code&gt; is designed to collect information for troubleshooting your database and cluster. Depending on your system configuration, logs generated from running &lt;code&gt;scrutinize&lt;/code&gt; might contain proprietary information. If you are concerned with sharing proprietary information, please remove it from the &lt;code&gt;.tar&lt;/code&gt; file before you send it to Vertica Customer Support for assistance.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;command-options&#34;&gt;Command options&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; options support the following tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/informational-options/&#34;&gt;Obtain version information&lt;/a&gt; about &lt;code&gt;scrutinize&lt;/code&gt; and Vertica, and online help.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/redirecting-scrutinize-output/&#34;&gt;Redirect output&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/scrutinize-security/&#34;&gt;Access a password-protected database&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/data-collection-scope/&#34;&gt;Control the scope of data collection&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/uploading-scrutinize-results/&#34;&gt;Upload results&lt;/a&gt; to Vertica Customer Support.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;In order for &lt;code&gt;scrutinize&lt;/code&gt; to collect data from all system tables, you must have &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/superuser-privileges/&#34;&gt;superuser&lt;/a&gt; or &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/sysmonitor/&#34;&gt;SYSMONITOR&lt;/a&gt; privileges; otherwise, &lt;code&gt;scrutinize&lt;/code&gt; collects data only from the system tables that you have privileges to access. If you run &lt;code&gt;scrutinize&lt;/code&gt; as root when the dbadmin user exists, Vertica returns an error.&lt;/p&gt;
&lt;h2 id=&#34;disk-space-requirements&#34;&gt;Disk space requirements&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; requires temporary disk space where it can collect data before posting the final compressed (&lt;code&gt;.tar&lt;/code&gt;) output. How much space depends on variables such as the size of the Vertica log and extracted system tables, as well as user-specified options that limit the scope of information collected. Before &lt;code&gt;scrutinize&lt;/code&gt; runs, it verifies that the temporary directory contains at least 1 GB of space; however, the actual amount needed can be much higher.&lt;/p&gt;
&lt;p&gt;You can redirect &lt;code&gt;scrutinize&lt;/code&gt; output to another directory. For details, see &lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/redirecting-scrutinize-output/&#34;&gt;Redirecting scrutinize output&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;database-specification&#34;&gt;Database specification&lt;/h2&gt;
&lt;p&gt;If multiple databases are defined on the cluster and more than one is active, or none is active, you must run &lt;code&gt;scrutinize&lt;/code&gt; with one of the following options:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ /opt/vertica/bin/scrutinize {--database=`*`database `*`| -d `*`database`*`}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If you omit this option when these conditions are true, &lt;code&gt;scrutinize&lt;/code&gt; returns with an error.&lt;br /&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Informational options</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/informational-options/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/informational-options/</guid>
      <description>
        
        
        &lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; supports two informational options that cannot be combined with any other options:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑version&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Obtains the version number of the Vertica server and the scrutinize version number, and then exits. For example:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize --version
Scrutinize Version 12.0.2-20221107
  
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑help&lt;/code&gt; &lt;code&gt;‑h&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Lists all scrutinize options to the console, and then exits:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize -h
Usage: scrutinize [options]
  
Options:
  --version             show program&amp;#39;s version number and exit
  -h, --help            show this help message and exit
  -X LIST, --exclude-tasks=LIST
                        Skip tasks of a particular type. Provide a comma-
                        separated lists of types to skip. Types are case-
                        sensitive. Possible types are: Command, File,
                        VerticaLog, DC, SystemTable, CatalogObject, Query,
                        UdxLog, KafkaLog, MemoryReportLog, all.
  -v, --vsql-off        Does -X Query,SystemTable and skips vsql checks.
                        Useful if vertica is running, but slow to respond.
  -s, --local_diags     Gather diagnostics for local machine only
  -d DB, --database=DB  Only report on database &amp;lt;DB&amp;gt;
  -n HOST_LIST, --hosts=HOST_LIST
                        Gather diagnostics for these hosts only. Host list
                        must be a comma-separated list. Ex. host1,host2,host3
                        or &amp;#39;host1, host2, host3&amp;#39;
  -m MESSAGE, --message=MESSAGE
                        Reason for gathering diagnostics
  -o OUTPUT_DIR, --output_dir=OUTPUT_DIR
                        redirect output to somewhere other than the current
                        directory
  -U USERNAME, --user=USERNAME
                        Specify DB user
  -P PASSWORD, --password=PASSWORD
                        Specify DB user password
  -W, --prompt-password
                        Force Scrutinize to prompt for DB user password
  ...
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;/dl&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Redirecting scrutinize output</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/redirecting-scrutinize-output/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/redirecting-scrutinize-output/</guid>
      <description>
        
        
        &lt;p&gt;By default, &lt;code&gt;scrutinize&lt;/code&gt; uses the temporary directory &lt;code&gt;/opt/vertica/tmp&lt;/code&gt; execution to compile output while it executes. On completing its collection, it saves the collection to a tar file to the current directory. You can redirect &lt;code&gt;scrutinize&lt;/code&gt; output with two options:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑tmpdir=&lt;/code&gt;&lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Directs temporary output to the specified path, where the following requirements apply to &lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The directory must have at least 1 GB of free space.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You must have write permission to it.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑output_dir=&lt;/code&gt;&lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑o &lt;/code&gt;&lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Saves &lt;code&gt;scrutinize&lt;/code&gt; results to a tar file in &lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;. For example:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize ‑‑output_dir=&amp;#34;/my_diagnostics/&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;/dl&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Scrutinize security</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/scrutinize-security/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/scrutinize-security/</guid>
      <description>
        
        
        &lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; can specify user names and passwords as follows:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑user=&lt;/code&gt;&lt;em&gt;&lt;code&gt;username&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑U &lt;/code&gt;&lt;em&gt;&lt;code&gt;username&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the dbadmin user name. By default, &lt;code&gt;scrutinize&lt;/code&gt; uses the user name of the invoking user.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑password=&lt;span class=&#34;code-variable&#34;&gt;password&lt;/span&gt;&lt;/code&gt; &lt;code&gt;‑P &lt;/code&gt;&lt;em&gt;&lt;code&gt;password&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Sets the database password as an argument to the &lt;code&gt;scrutinize&lt;/code&gt; command. Use this option if the administrator account (default dbadmin) has password authentication. If you omit this option on a password-protected database, &lt;code&gt;scrutinize&lt;/code&gt; returns a warning, unless the environment variable 
&lt;code&gt;&lt;a href=&#34;../../../../en/connecting-to/using-vsql/vsql-environment-variables/&#34;&gt;VSQL_PASSWORD&lt;/a&gt;&lt;/code&gt; is set.
&lt;p&gt;Passwords with special characters must be enclosed with single quotes. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize -P &amp;#39;@passWord**&amp;#39;
$ scrutinize --password=&amp;#39;$password1*&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`‑prompt‑password` `‑W`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies to prompt users for their database password before scrutinize begins to collect data.&lt;/dd&gt;
&lt;/dl&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Data collection scope</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/data-collection-scope/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/data-collection-scope/</guid>
      <description>
        
        
        &lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; options let you control the scope of the data collection. You can specify the scope of the data collection according to the following criteria:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Amount&#34;&gt;Amount of data&lt;/a&gt;, including its level of granularity&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Node-Spe&#34;&gt;Specific nodes&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Types of data to &lt;a href=&#34;#Type&#34;&gt;include&lt;/a&gt; and &lt;a href=&#34;#Excluded&#34;&gt;exclude&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use these options singly or in combination, to achieve the desired level of granularity.
&lt;a name=&#34;NarrowTimeSpan&#34;&gt;&lt;/a&gt;
&lt;a name=&#34;Amount&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;amount-of-collected-data&#34;&gt;Amount of collected data&lt;/h2&gt;
&lt;p&gt;Several options let you limit how much data &lt;code&gt;scrutinize&lt;/code&gt; collects:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑by‑second&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Collect data every second. This is the highest level of granularity when collecting from Data Collector tables.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑by‑minute=&lt;/code&gt;&lt;em&gt;&lt;code&gt;boolean‑value&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Collect data every minute (if the value is true) or every hour (if the value is false).&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑get‑files &lt;/code&gt;&lt;em&gt;&lt;code&gt;file‑list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Collect the specified additional files, including globs, where &lt;em&gt;&lt;code&gt;file‑list&lt;/code&gt;&lt;/em&gt; is a semicolon‑delimited list of files.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑include_gzlogs=&lt;/code&gt;&lt;em&gt;&lt;code&gt;num‑files&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑z &lt;/code&gt;&lt;em&gt;&lt;code&gt;num‑files&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Include &lt;em&gt;&lt;code&gt;num‑files&lt;/code&gt;&lt;/em&gt; rotated log files (&lt;code&gt;vertica.log*.gz&lt;/code&gt;) in the &lt;code&gt;scrutinize&lt;/code&gt; output, where &lt;em&gt;&lt;code&gt;num‑files&lt;/code&gt;&lt;/em&gt; can be one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;An integer specifies the number of rotated log files to collect.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;all&lt;/code&gt; specifies to collect all rotated log files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default, &lt;code&gt;scrutinize&lt;/code&gt; includes three rotated log files.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑log-limit=&lt;/code&gt;&lt;em&gt;&lt;code&gt;limit&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑l &lt;/code&gt;&lt;em&gt;&lt;code&gt;limit&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;How much data to collect from Vertica logs, in gigabytes, starting from the most recent log entry. By default, &lt;code&gt;scrutinize&lt;/code&gt; collects 1 GB of log data.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;&lt;a name=&#34;LimitSpecificNodes&#34;&gt;&lt;/a&gt;
&lt;a name=&#34;Node-Spe&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;node-specific-collection&#34;&gt;Node-specific collection&lt;/h2&gt;
&lt;p&gt;By default, &lt;code&gt;scrutinize&lt;/code&gt; collects data from all cluster nodes. You can specify that &lt;code&gt;scrutinize&lt;/code&gt; collect from individual nodes in two ways:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑local_diags ‑s&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Collect diagnostics only from the host on which &lt;code&gt;scrutinize&lt;/code&gt; was invoked. To collect data from multiple nodes in the cluster, use the &lt;code&gt;‑‑hosts&lt;/code&gt; option.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑hosts=&lt;span class=&#34;code-variable&#34;&gt;host‑list&lt;/span&gt; ‑n &lt;span class=&#34;code-variable&#34;&gt;host‑list&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Collect diagnostics only from the hosts specified in &lt;em&gt;&lt;code&gt;host-list&lt;/code&gt;&lt;/em&gt;, a comma-separated list of IP addresses or host names.
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize --hosts=127.0.0.1,host_3,host_1
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;&lt;a name=&#34;LimitTypeOfContent&#34;&gt;&lt;/a&gt;
&lt;a name=&#34;Type&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;types-of-data-to-include&#34;&gt;Types of data to include&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; provides several options that let you specify the type of data to collect:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑debug&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Collects debug information for the log.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑diag‑dump&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Limits the collection to database design, system tables, and Data Collector tables. Use this option to collect data to analyze system performance.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑diagnostics&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Limits the collection to log file data and output from commands that are run against Vertica and its host system. Use this option to collect data to evaluate unexpected behavior in your Vertica system.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑include‑ros‑info&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Includes ROS related information from system tables.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑no‑active‑queries `‑‑with‑active‑queries`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Excludes diagnostic information from system tables and Data Collector tables about currently running queries. By default, &lt;code&gt;scrutinize&lt;/code&gt; collects this information (&lt;code&gt;‑‑with‑active‑queries&lt;/code&gt;).&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑tasks=&lt;span class=&#34;code-variable&#34;&gt;tasks&lt;/span&gt; -T &lt;span class=&#34;code-variable&#34;&gt;tasks&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Gathers diagnostics on one or more tasks, as specified in a file or JSON list. This option is typically used together with &lt;code&gt;‑‑exclude&lt;/code&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Use this option only in consultation with Vertica Customer Support

&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑type=&lt;span class=&#34;code-variable&#34;&gt;type&lt;/span&gt; -t &lt;span class=&#34;code-variable&#34;&gt;type&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Type of diagnostics collection to perform, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;profiling&lt;/code&gt;: Gather profiling data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;context&lt;/code&gt;: Gather summary information.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑with‑active‑queries&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The default setting, includes diagnostic information from system tables and Data Collector tables about currently running queries. To omit this data, use &lt;code&gt;‑‑no‑active‑queries&lt;/code&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;&lt;a name=&#34;Excluded&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;types-of-data-to-exclude&#34;&gt;Types of data to exclude&lt;/h2&gt;
&lt;p&gt;&lt;a name=&#34;ExcludeContentTypes&#34;&gt;&lt;/a&gt;&lt;code&gt;scrutinize&lt;/code&gt; options also let you specify the types of data to exclude from its collection:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;‑‑exclude=&lt;span class=&#34;code-variable&#34;&gt;tasks&lt;/span&gt; ‑X &lt;span class=&#34;code-variable&#34;&gt;tasks&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Excludes one or more types of tasks from the diagnostics collection, where &lt;em&gt;&lt;code&gt;tasks&lt;/code&gt;&lt;/em&gt; is a comma-separated list of the tasks to exclude:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;all&lt;/code&gt;: All default tasks&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DC&lt;/code&gt;: Data Collector tables&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;File&lt;/code&gt;: Log files from the installation process, the database, and Administration Tools, such as vertica&lt;code&gt;.log&lt;/code&gt;, &lt;code&gt;dbLog&lt;/code&gt;, and &lt;code&gt;adminTools.log&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;VerticaLog&lt;/code&gt;: Vertica logs&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CatalogObject&lt;/code&gt;: Vertica catalog metadata, such as system configuration parameters&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SystemTable&lt;/code&gt;: Vertica system tables that contain information about system, resources, workload, and performance&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;Query&lt;/code&gt;: Vertica meta-functions that use vsql to connect to the database, such as &lt;code&gt;EXPORT_CATALOG()&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;Command&lt;/code&gt;: Operating system information, such as the length of time that a node has been up&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

This option is typically used only in consultation with your Vertica Customer Support contact.

&lt;/div&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑no‑active‑queries&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Omits diagnostic information from system tables and Data Collector tables about currently running queries. By default, &lt;code&gt;scrutinize&lt;/code&gt; always collects active query information (&lt;code&gt;‑‑with‑active‑queries&lt;/code&gt;).&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;‑‑vsql-off ‑v&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Excludes &lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;SystemTable&lt;/code&gt; tasks, which are used to connect to the database. This option can help you deal with problems that occur during an upgrade, and is typically used in the following cases:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Vertica is running but is slow to respond.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You haven&#39;t yet created a database but need help troubleshooting other cluster issues.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Uploading scrutinize results</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/uploading-scrutinize-results/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/uploading-scrutinize-results/</guid>
      <description>
        
        
        &lt;p&gt;&lt;code&gt;scrutinize&lt;/code&gt; provides several options for uploading data to Vertica customer support.&lt;/p&gt;
&lt;h2 id=&#34;upload-packaging&#34;&gt;Upload packaging&lt;/h2&gt;
&lt;p&gt;When you use an upload option, &lt;code&gt;scrutinize&lt;/code&gt; does not bundle all output in a single tar file. Instead, each node posts its output directly to the specified URL as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Uploads a smaller, context file, enabling Customer Support to review high-level information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On completion of &lt;code&gt;scrutinize&lt;/code&gt; execution, uploads the complete diagnostics collection.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;upload-prerequisites&#34;&gt;Upload prerequisites&lt;/h2&gt;
&lt;p&gt;Before you run &lt;code&gt;scrutinize&lt;/code&gt; with an upload option:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Install the &lt;a href=&#34;http://curl.haxx.se/&#34;&gt;cURL&lt;/a&gt; program in the path for the database administrator user who is running &lt;code&gt;scrutinize&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify each node in the cluster can make an HTTP or FTP connection directly to the Internet.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Authenti&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;upload-options&#34;&gt;Upload options&lt;/h2&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Two options upload &lt;code&gt;scrutinize&lt;/code&gt; output to a Vertica support‑provided URL or FTP address: &lt;code&gt;‑‑auth-upload&lt;/code&gt; and &lt;code&gt;‑‑url&lt;/code&gt;. Each option authenticates the upload differently, as noted below.

&lt;/div&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;‑‑auth‑upload=&lt;/code&gt;&lt;em&gt;&lt;code&gt;url&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑A &lt;/code&gt;&lt;em&gt;&lt;code&gt;url&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Uses your Vertica license to authenticate with the Vertica server, by uploading your customer name. Customer Support uses this information to verify your identity on receiving your uploaded file. This option requires a valid Vertica license.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑url&lt;/code&gt;&lt;em&gt;&lt;code&gt;=url&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑u &lt;/code&gt;&lt;em&gt;&lt;code&gt;url&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Requires &lt;em&gt;&lt;code&gt;url&lt;/code&gt;&lt;/em&gt; to include a user name and password that is supplied by Vertica Customer Support.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;‑‑message=&lt;/code&gt;&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;&lt;br /&gt;&lt;code&gt;‑m &lt;/code&gt;&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Includes a message with the &lt;code&gt;scrutinize&lt;/code&gt; output, where &lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt; is a text string, a path to a text file, or &lt;code&gt;PROMPT&lt;/code&gt; to open an input stream in which to compose a message. &lt;code&gt;scrutinize&lt;/code&gt; reads input until you type a period (.) on a new line. This closes the input stream, and &lt;span class=&#34;code-input&#34;&gt;scrutinize&lt;/span&gt; writes the message to the collected output.
&lt;p&gt;The message is written in the output directory in &lt;code&gt;reason.txt&lt;/code&gt;. If no message is specified, &lt;code&gt;scrutinize&lt;/code&gt; generates the default message &lt;code&gt;Unknown reason for collection&lt;/code&gt;. Messages typically include the following information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Reason for gathering/submitting diagnostics.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Support-supplied case number and other issue-specific information, to help Vertica Customer Support identify your case and analyze the problem.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;‑‑auth‑upload&lt;/code&gt; option uses your Vertica to identify yourself:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize -U &lt;span class=&#34;code-variable&#34;&gt;username&lt;/span&gt; -P &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;password&lt;/span&gt;&amp;#39; --auth-upload=&amp;#34;&lt;span class=&#34;code-variable&#34;&gt;support-provided-url&lt;/span&gt;&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The &lt;code&gt;‑‑url&lt;/code&gt; option includes the FTP username and password, supplied by support, in the URL:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize -U &lt;span class=&#34;code-variable&#34;&gt;username&lt;/span&gt; -P &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;password&lt;/span&gt;&amp;#39; --url=&amp;#39;ftp://username/&lt;span class=&#34;code-variable&#34;&gt;password&lt;/span&gt;@customers.vertica.com/&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can supply a message as a text string or in a text file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize --message=&amp;#34;re: case number #ABC-12345&amp;#34;
$ scrutinize --message=&amp;#34;/path/to/msg.txt&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Alternatively, you can open an input stream and type a message:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize --message=PROMPT
Enter reason for collecting diagnostics; end with &amp;#39;.&amp;#39; on a line by itself:
Query performance degradation noticed around 9AM EST on Saturday
.
Vertica Scrutinize Report
-----------------------------
Result Dir:              /home/dbadmin/VerticaScrutinize.20131126083311
...
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Admin: Troubleshooting scrutinize</title>
      <link>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/troubleshooting-scrutinize/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/troubleshooting-scrutinize/</guid>
      <description>
        
        
        &lt;p&gt;The troubleshooting advice in this section can help you resolve common issues that you might encounter when using &lt;code&gt;scrutinize&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;collection-time-is-too-slow&#34;&gt;Collection time is too slow&lt;/h2&gt;
&lt;p&gt;To speed up collection time, omit system tables when running an instance of &lt;code&gt;scrutinize&lt;/code&gt;. Be aware that collecting from fewer nodes does not necessarily speed up the collection process.&lt;/p&gt;
&lt;h2 id=&#34;output-size-is-too-large&#34;&gt;Output size is too large&lt;/h2&gt;
&lt;p&gt;Output size depends on system table size and vertica log size.&lt;/p&gt;
&lt;p&gt;To create a smaller &lt;code&gt;scrutinize&lt;/code&gt; output, omit some system tables or truncate the vertica log. For more information, see &lt;a href=&#34;../../../../en/admin/using-diagnostic-tools/collecting-diagnostics-scrutinize-command/data-collection-scope/&#34;&gt;Narrowing the Scope of scrutinize Data Collection.&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;system-tables-not-collected-on-databases-with-password&#34;&gt;System tables not collected on databases with password&lt;/h2&gt;
&lt;p&gt;Running &lt;code&gt;scrutinize&lt;/code&gt; on a password-protected database might require you to supply a user name and password:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ scrutinize -U username -P &amp;#39;password&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
