Allowing Capacity Planner Data Manager to collect data from Linux systems
search cancel

Allowing Capacity Planner Data Manager to collect data from Linux systems

book

Article ID: 339505

calendar_today

Updated On:

Products

VMware

Issue/Introduction

When using Capacity Planner Data Manager to collect data from Linux systems, some of the features require root access to the server. However, this may not be possible due to security restrictions, for example, when root is prohibited from direct SSH access.

This article provides information on using Sudo access to allow Capacity Planner Data Manager to collect data from Linux systems.

Environment

VMware Capacity Planner 2.8.x
VMware Capacity Planner 2.7.x

Resolution

Capacity Planner Data Manager supports Sudo, but you cannot manually enter a root password in the Data Manager interface. To work around this issue, use an existing account that can Sudo and set the NOPASSWD flag to this account in the Sudoers list. The NOPASSWD flag ensures that the account is not prompted for a password when using the Sudo feature.
For example /etc/sudoers will look like this when changed:
cpcollector ALL=(ALL) ALL, NOPASSWD: ALL
This is not VMware specific and you need to configure this individually on your Linux systems. For more information on configuring and using Sudo, see http://www.sudo.ws/sudo/sudo.html.
Note: The preceding link was correct as of November 18, 2011. If you find the link is broken, provide feedback and a VMware employee will update the link.