Closed madhuioe closed 7 years ago
Hello,
I am not sure if I understand correctly.
With your current configuration, aixhost1 to aixhost4 will have region set to NA.
If you would like to have them in different regions, you could do something like that:
[[input]]
Measurement="CPU_ALL"
Name="host"
Match="^aixhost1|aixhost2|aixhost3|aixhost4$"
[[input.tag]]
Name="BUSINESSCLASS"
Value="GOLD"
[[input.tag]]
Name="HOSTTYPE"
Value="PHYSICAL"
[[input.tag]]
Name="OSTYPE"
Value="AIX"
[[input]]
Measurement="CPU_ALL"
Name="host"
Match="^aixhost1|aixhost2$"
[[input.tag]]
Name="REGION"
Value="EMEA"
[[input]]
Measurement="CPU_ALL"
Name="host"
Match="^aixhost4$"
[[input.tag]]
Name="REGION"
Value="APAC"
Is it what you means?
Thanks,
Alain
Thanks Alain for the prompt solution.
This is what I am looking for. I have only AIX test server, and prompt you later if there will be any deviation. Please close this issue for now. Thanks again!!!
Thanks, Madhu
Hello Madhu,
Happy to hear that :)
For your testing if you have only one AIX system you can clone your nmon files. If you replace the name of your partition in the nmon file itself you will be able to test multiple different partitions. All with the same stats but it's better than nothing ;)
Closing the issue.
Thanks,
Alain
Hi Adejoux,
Cloned nmon files and tested as mentioned, tags are successfully customized for individual servers. Only the thing is config file seems bigger while customizing for multiple servers/measurements/tags. I am trying to sort out important measurements to reduce config file size. Thanks a lot for the solution.
Thanks, Madhu
Hello Alain, I have issue on tagging. Below is the part of my configuration file: In our case, there are number of servers on different locations belongs to "REGION" (NA, EMEA, APAC). Hostnames are held on "Match" section (aixhost1|aixhost2|aixhost3|aixhost4.......and so on). Is there any possibility that any host (aixhost1|aixhost2|aixhost3|aixhost4....) could pick any values (NA|AMEA|APAC) based on their location? [[input]] Measurement="CPU_ALL" Name="host" Match="^aixhost1|aixhost2|aixhost3|aixhost4$" [[input.tag]] Name="BUSINESSCLASS" Value="GOLD" [[input.tag]] Name="HOSTTYPE" Value="PHYSICAL" [[input.tag]] Name="OSTYPE" Value="AIX" [[input.tag]] Name="REGION" Value="NA"
Thanks, Madhu