How many time the script specified in the queries is called. ? 1 times per objects per attributes ?
Let s says : i have : 3 objects ( A,B,C,D,E) , for each i get 5 attributes values ( 1,2,3,4,5) All are specidied in Xml queries script.
My understanding of documentation and example ( is that the script will run 3 times to reply something like that :
A:value_of_1
B:value_of_1
C:value_of_1
example :
Code: Select all
[boby@libox scripts]$ perl query_unix_partitions.pl query used
/dev/mapper/main-root:103208372
/dev/md0:181284320
/dev/md1:12478
I query a distant source so, when i retreive a file of one object, with all attribute on it. I want to avoid to make several times a query for a same object.
Is Cacti can process a query like that
Code: Select all
[boby@libox scripts]$ perl query_unix_partitions.pl query used available
/dev/mapper/main-root: used: 103208372 available:54458
/dev/md0: used:181284320 available:456886
/dev/md1: used:12478 available:5454