Share This:

When a Command Line or Nagios Plugin Monitor requires an additional file, such as a script file for example, you can embed it into your monitoring Template to make sure it will be distributed along with the Template configuration (through TrueSight CMA, or just with a classic configuration export).

Embedded files are text files that are saved in the Template configuration itself as a PATROL configuration variable and executed by the Monitor.

To embed a file into a Monitoring Studio X Template:

  1. Access an existing Template or create one
  2. Scroll down to the Embedded File section
  3. Click Upload File
  4. Locate and select the file to be embedded




When the Template is used to monitor a Host, its embedded file is stored in a temporary directory. When the Monitor is run, the %{FILE:<filename>} macro is replaced with the path to the corresponding temporary file.