Datastore
The vmware probe is successfully submitting QoS messages (for example as observed via Dr Nimbus) for QOS_DS_DISK_FREE monitor but the data is not persisting in the SLM database.
In addition, the data_engine log entries indicate that the message was rejected due to a conflict in the samplemax missing for the qos_definition (at loglevel 3).
Example as seen in data_engine logs provided
Line 74082: Oct 17 11:25:10:912 [47800] de: HandleMessage: Insert Data - nimid: MJ13532687-55913 (2017-10-17 11:25:05) table_id: 0 value= 99.28 time: 2017-10-17 11:25:04 qos=QOS_DS_DISK_FREE source=xxxxx target=xxxxxxx_LOCAL/Free (in % of Capacity)
Line 74175: Oct 17 11:25:10:917 [47800] de: QoSInsert::CheckDataIntegrity - message dropped; samplemax is missing. qos=QOS_DS_DISK_FREE source=xxxxx target=xxxxxxx/Free (in % of Capacity)
To avoid running into this problem with future deployments of the vmware probe remove “hasmax / samplemax” from definition table, raw data table and historical data table in the backend database.
Steps to remove "hasmax / samplemax" from the tables in the backend database:
Please take a backup of the concerned tables before the change
1. Update the S_QOS_DEFINITION so that the data_engine will accept the correct formats:
UPDATE S_QOS_DEFINITION SET hasmax = 0 WHERE name = 'QOS_DS_DISK_FREE';
2. Delete the “samplemax” column from the RN_QOS_DATA_xxxx , HN_QOS_DATA_xxxx and DN_QOS_DATA_xxxx associated with the QOS_DS_DISK_FREE QoS metrics.
For raw data:
ALTER TABLE RN_QOS_DATA_xxxx DROP COLUMN "samplemax";
For historical data:
ALTER TABLE HN_QOS_DATA_xxxx DROP COLUMN "samplemax";
For daily data:
ALTER TABLE DN_QOS_DATA_xxxx DROP COLUMN "samplemax";
For example, if in your environment the QOS_DS_DISK_FREE is stored in RN_QOS_DATA_0500 /HN_QOS_DATA_0500/DN_QOS_DATA_0500 tables you can use the queries shown below:
ALTER TABLE RN_QOS_DATA_0600 DROP COLUMN "samplemax";
ALTER TABLE HN_QOS_DATA_0600 DROP COLUMN "samplemax";
ALTER TABLE DN_QOS_DATA_0600 DROP COLUMN "samplemax";
3. Restart the data_engine so the change to the QOS definition is recognized.