Hardware Monitoring: Monitoring Linux Servers in TrueSight

How to monitor a Linux server in TrueSight Operations Management using Hardware Sentry and the IPMI connector.

Related Topics


By default, Hardware Sentry automatically selects the connectors that are most relevant to collect hardware information about your servers. If for some reasons, no connectors are available, you must specify in Central Monitoring Administration the connector(s) to be used.

In this article, you will learn how to configure the IPMI connector in Central Monitoring Administration to monitor local Linux Servers.


The IPMI connector leverages the IPMItool to access IPMI and collect hardware information such as temperatures, voltages, fan speeds, etc. Before configuring this connector in Central Monitoring Administration, please make sure:

  • Hardware Sentry and the PATROL Agent are installed on the Linux server to be monitored.
  • the Sudo utility is configured to execute the IPMI commands as root. If you wish to grant sudo privileges to the PATROL’s Agent default account, run the visudo utility and add the following line in the sudoers file usually located in /etc/:
patrol  ALL=NOPASSWD: /usr/bin/ipmitool


  1. Create a new policy or edit an existing one
  2. Under the Device Information section:
    • In the Device Name field, enter localhost
    • From the Device Type drop-down list, select Linux (RedHat, SuSe, ESX)
      Configuring the server to be monitored

      Configuring the server to be monitored

  3. Under the SSH/Telnet section:
    • From the Authentication Mode drop-down list, select SSH
    • In the Username and Password fields, specify the user account for which sudo privileges have been granted
    • Check the Use When root Privileges are Needed option to use the "sudo" utility and be able to execute external commands as "root"
      Configuring the SSH protocol to monitor Linux platforms

      Configuring the SSH protocol to monitor Linux platforms

  4. Under the Device Advanced Settings section:
    • From the Connector Selection drop-down list, select Use Specified Connectors.
    • In the Connector File Names field, enter MS_HW_IpmiTool.hdf. You can add other connectors if required. Connector names must be delimited by a comma. Refer to the Connector Index to know the connector to be used.
      Specifying the connector(s) to be use.

      Specifying the connector(s) to be used

  5. Under the Additional Variables section, click the inline button:
    • In the Name field, enter useSudoCommandList
    • In the Value field, enter ipmitool
      Configuring the useSudoCommandList variable

      Configuring the useSudoCommandList variable

  6. Click OK to add the useSudoCommandList configuration variable and save your policy.
  7. Verify that the IPMI connector has been successfully configured:
    • Log on to BMC TrueSight Infrastructure Management
    • In the Navigation frame, click Devices
    • Click the Linux Server previously configured for monitoring
    • Verify that the IPMI connector appears under the Selected Connectors section, as shown below:

      IPMI Connector Successfully Configured