Nutanix Audit/Information Dashboard is an Ansible-based project aimed at providing a comprehensive dashboard for auditing and monitoring Nutanix clusters. The project is currently being migrated to Golang for improved concurrency and logging capabilities. Prometheus exporter will be integrated for further monitoring.
Please Read Carefully: This project utilizes internal APIs that are not publicly supported by Nutanix. Use caution when deploying this project and ensure that you have thoroughly reviewed all APIs before running it in a production environment. Nutanix will not be responsible for any issues arising from the use of this project and will not provide support for its implementation.
Tested on:
- Nutanix AOS 6.x till 6.5.5.1
- PC: 2022.9 - 2023.4
Note: Some fields may contain negative value, which could be due to licensing violations or API issues.
To get started with this project, follow these steps:
-
Ensure Ansible is installed on your system.
-
Make the necessary configuration changes in
vars/main.yml
to include your Nutanix PC information. -
Create or update the
.vault_pass
file with the appropriate credentials:echo "nutanix/4u" > .vault_pass
-
Update the vault_user and pc_password in
vault.yml
and rekey the vault if required:ansible-vault edit group_vars/all/vault.yml
-
Execute the playbook:
ansible-playbook main.yml --vault-password-file=.vault_pass
Jinja templates are available under roles/nutanix_generate_report
role, allowing you to customize the generated reports. Sample reports can be found under the output
folder. You can add additional fields as needed.
Cron Job can be set to schedule running this playbook.
*/10 * * * * cd /path/to/folder/nutanix_audits && ~/.local/bin/ansible-playbook main.yml > logfile.log 2>&1
The following data is currently generated for the Nutanix cluster can be found under output/json_output.html
:
If you encounter any issues or need assistance, please raise an issue.