Salesforce

Install the usage reporting script

« Go Back
Information
Install the usage reporting script
000004276
Public
Product Selection
aiWare - aiWare
Article Details

To install the script that reports system usage to Veritone, use the command lines for the aiware-usage.sh.

Before you begin

  • If /usr/local/bin is not in your $PATH, you can add it for convenience. That is where aiWARE downloads and installs the usage-monitoring script.
  • In order to collect usage information, you must run the script as the root user on the aiWARE node that runs the database (the nodes with AIWARE_MODE=db).
[Tip] You only need to run the installation command once.

Steps

  1. Install the reporting script by running the following command:

    aiware-usage.sh install

  2. Verify that everything is set up correctly for the script.

    aiware-usage.sh check

    If the current host is able to run the usage script, you see this output:

    [INFO] This host can be used to report aiWARE usage.

    If the current environment isn't appropriate for collecting usage statistics, you see an error explaining why.

Results

aiware-usage.sh sets up a cron job to run every 4 hours and collect usage statistics from aiWARE. If the current environment is not appropriate to run the script, an error is reported.

Additional Technical Documentation Information
Properties
2/16/2024 4:34 PM
2/16/2024 4:35 PM
2/16/2024 4:35 PM
Documentation
Documentation
000004276
Translation Information
English

Powered by