Use > Server Automation > Run SA extensions > Add scripts to extensible discovery > Output from extensible discovery scripts

Output from extensible discovery scripts

Each script being used by Extensible Discovery provides output that is placed either in a custom attribute or a custom field. The maximum size of this output is 1000 bytes. To save more than 1000 bytes, perform the following steps.

  1. Follow step 1 through Make sure your script file has execute permissions. For example, for UNIX scripts use the chmod command. under Add your own scripts to extensible discovery.
  2. Create a configuration file the same name as your script except ending with “.cfg”. For example, if your script is named get_mysysdata.sh, create the file get_mysysdata.cfg.
  3. Enter the following line in your configuration file.

    MAXBYTESTOCAPTURE=<number of bytes>
    where <number of bytes> is the maximum number of bytes your script will produce.
  4. Wrap your script file and the configuration file into a .zip file.
  5. Follow the remaining steps under Add your own scripts to extensible discovery.