1 Reply Latest reply on Jan 21, 2020 2:23 AM by Andrew Waters

    Creating custom TPL patterns for modeling an application.

    Martin T
      Share This:

      Creating custom TPL patterns for modeling an application.

       

      1. When creating a TPL, it is defined by queries in ADDM that are related to a software instance.

      Example in the imagen:

      level0 := search(SoftwareInstance where nodecount(traverse RunningSoftware:HostedSoftware:Host:Host where name has substring 'Servidor1' or name has substring 'Servidor2' or name has substring 'Servidor3' or name has substring 'Servidor4' or name has substring 'Servidor5' or name has substring 'Servidor6' or name has substring 'Servidor7') and name has subword 'Endpoint Manager Agent');

      It is possible to define a query that takes a text file where related hosts are entered.

      For example:

      level0 := search(SoftwareInstance where (LEER_ARCHIVO ('OUT_SALDSV', 'test.txt'));

      $file = fopen("archivo.txt", "a");

       

      What I need is for the pattern to read an external source as an example a text file hosted on the same ADDM server.