This article contains information about logging and monitoring of the vCloud Director (NSX-T) processing module. Basic metrics of statistics available from the module are listed.
vCloud Director log file
vCloud Director (NSX-T) processing module log file — /usr/local/mgr5/var/pmvclouddirector.log . The log contains detailed information about requests sent to vCloud Director (NSX-T) and the system's responses to those requests.
Information about the running task in the log is represented as XML:
<Task ... operation="Stopped Virtual Application qwe1(58b81329-ea2a-4f94-b999-1c36923a0340)" operationName="vappUndeployPowerOff" status="running">
...
</Task>
- operation — operation name;
- status — task status:
- success — completed successfully;
- error — failed in the end;
- canceled — cancelled by the owner or administrator;
- aborted — interrupted by the administrator;
- running — is in progress.
XML may include child nodes:
- Error — provides error information in case the task failed;
- Progress — shows the task status as a percentage from 0 to 100.
Getting statistics
For each VDC, current statistics on the following metrics are available from vCloud Director:
cpu_used
— total number of processors in use for all VMs;cpu_in_mhz_used
— total frequency (in MHz) of used processors for all VMs;ram_in_mb_used
— total amount of memory used (in MB) for all VMs;disk_in_mb_used
— total amount of discs used;disk_<Имя политики>
— sum of used discs by policies;gateway_count
— the number of Edge Gateway at VDC;vdc_network_count
— the number of VDC Network on the VDC;vapp_network_count
— the number of vApp Networks on the VDC;vm_count
— number of VMs per VDC.