This content has been marked as final. Show 1 reply
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.
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.