Hello Guys,
We are on vcops 5.7 and i have configured the repository adapter for the 5.7. It is up and running and collecting the data from the vcops. The problem is it is collecting the repeated data for all the machines present. The CSV file is of 2GB size just for 150 VM's. The following are the metrics that are defined in conf.properties file.
insertCommand = INSERT INTO TestTable (RID1; RNAME1; MID1; MNAME1; RKNAME1; MKNAME1; AKNAME1; timestamp1; min_threshold1; value1; max_threshold1) values(alive.RID; alive.RNAME; alive.MID; alive.MNAME; alive.RKNAME; alive.MKNAME; alive.AKNAME; fsdb.timestamp; fsdb.min_threshold; fsdb.value; fsdb.max_threshold)
In the conditions.properties i have defined these metrics.
RKNAME1='HostSystem'
MNAME1=<>'cpu*';'datastore*';Disk*';'mem*'
RID1 | RNAME1 | MID1 | MNAME1 | RKNAME1 | MKNAME1 | timestamp1 | min_threshold1 | value1 | max_threshold1 |
Host 1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 0 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 0 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 0 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 4.666666667 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 0 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 4.666666667 | 14.0020256 | |
Host1 | 1252 | storageAdapter:vmhba0|read_average | HostSystem | read_average | 1.36656E+12 | 0 | 0 | 14.0020256 |
The above pasted is a sample excel file with few columns. For the host 1 itself i got 104746 colums of data with related to cpu, datastore disk and memory. In that all the data is mostly repeated. i am unable to figure out how to filter the data and get the sharp values for all the hosts. say for example i have 10 hosts so 10*4(cpu,datastore,disk,mem) = 40 columns. how can i reduce that data??
Also any ideas how your using it in ur environment.
Any help is appreciated.
Thanks
VK