We have servers where profiles are active but there are no cdm CPU and/or Memory metrics. Also robot and source display different values in the S_QOS_DATA table.
In this particular application environment, most of the Unix servers have different hostnames configured for applications and different hostnames configured for UIM monitoring.
When we checked the DNS entry, it showed the current IP and host name which matches the robot.cfg but in the robot hosts file in /etc/hosts, the host name for the application is being used.
UIM reads the host file and sends data to the application hostname. That information was not seen on the console (OC Inventory), but we saw this info in the database. There were more than 100 servers having this issue and which was causing problems with CDM QOS metric collection.
Result: Robot and Source was stored differently in the database
Out of the box, we do not prevent/ignore UIM reading the host file, hence the changes listed below must be implemented.
For MCS
Note that to do a bulk change for cdm to enable "Allow QoS Source as Target" on all of the application servers, you will have to change the setting in the MCS 'Setup_cdm" profile for the related group/groups
If you only use raw configure to change it in the cdm.cfx package and distribute it, it will most likely be overwritten by MCS in 4-5 minutes.
This was an environment-specific issue but this can apply to any environment whether using MCS or Non-MCS for configuration.
Potential Symptoms:
a) robot and source is stored as different values in the database
b) CPU and Memory QOS are not being collected
In this one customer's UNIX team’s environment, instead of using the source host name for monitoring, their /etc/hosts file references the target application, which is where the monitored application is running, so it represents the hostname where the application sits. (Hence robot and source values were stored as different values in the S_QOS_DATA table.)
To workaround this issue:
If any of the settings listed above are not enabled, cdm QOS collection may not work as expected.
Essentially, these settings can be used to force the robot to be the same as the source and vice versa if they end up being different in the database table due to how the robot hostname is resolving, versus how the target application location is being referenced.
This may happen to other customers' internal teams/depts, in general if the source and robot ends up being stored differently in the DB. If that happens, you may find that the QOS metrics are not being collected.
These changes will ensure that all CPU and Memory metrics—will be collected and visible in the OC Metric View.
These settings and results were confirmed in a large customer environment.