This documentation supports the 20.08 (12.1) version of BMC Discovery.

To view an earlier version of the product, select the version from the Product version menu.

Troubleshooting missing data due to lack of privileges

If you observe missing data for the discovered hosts due to a lack of privileges, use this section to either resolve the issue or create a BMC Support case.

Issue symptoms

Some data for the discovered hosts is missing. For example, data items such as the serial number, UUID, vendor, or physical RAM are missing.

Scope

The discovery of a device is successful but some details on the node are missing.

Resolution

When scanning servers, BMC Discovery runs various commands through the login session to obtain information from the host systems. The commands are run either by using the platform scripts or the TKU patterns. BMC Discovery, by default, is shipped without any commands that use privileged execution.
In many cases, these commands need additional privileges to run. If these commands are not configured with the additional privileges, it often results in missing data of host systems.

Perform the following steps to troubleshoot the missing data issue.

Step 1: Identify the command responsible for the missing data

To know the commands that need privileges and which are listed by platform, see Privileged commands. For example, the discovered data may not contain the UUID or serial number for Linux servers. The Linux platform script attempts to use lshal, dmidecode, and hwinfo to read data from the system BIOS. In most cases, not all of these commands will be present on the target server. For Linux servers, dmidecode is usually present.

Step 2: Confirm the root cause

  1. Log in to the target server as a BMC Discovery user.
  2. Run the command that fetches the missing data. For example:

    sudo /usr/bin/dmidecode | grep “UUID”

    If it fails to get the data, it is confirmed that this command needs additional privileges. In this example, the dmidecode and hwinfo commands require superuser privileges.

Step 3: Add privileges

    1. To add privileged execution to the commands in the BMC Discovery UI, see Adding privileged execution to commands
  1. Contact the device administrator and request to add the permission to run the commands for the BMC Discovery user.


For more information, see this video (06:26), which explains how to troubleshoot missing attributes for a Linux host in BMC Discovery. 

https://youtu.be/m6q0rNhms8U

Was this page helpful? Yes No Submitting... Thank you

Comments