Monitoring Cisco UCS Servers Running Linux
KB1056 - Dec 09, 2010 - Last reviewed on Jul 11, 2013
Type: Best Practice
Description: How to monitor a Cisco UCS server running Linux with Hardware Sentry.
Additional Keywords: Cisco, Cisco UCS
Cisco UCS servers are instrumented with a baseboard management controller (BMC) following Intel’s IPMI standard.
On Linux systems, Hardware Sentry KM leverages the Linux built-in OpenIPMI driver and the ipmitool utility the hardware components of the server and check their status. It also uses the ethtool utility do monitor the traffic on the network cards.
For the remote monitoring of a Linux system, Hardware Sentry KM uses the SSH protocol
- Hardware Sentry KM 1.7
- The Cisco UCS server can run any popular distribution of Linux, given that:
- The OpenIPMI driver is installed and properly loaded
- ipmitool is properly installed and accessible from the $PATH variable
/sbin/chkconfig ipmi on
/sbin/service ipmi start
The ipmitool packages can be found at this address: sourceforge.net/projects/ipmitool/, or with the vendor of your Linux distribution.
By default, both the ipmitool and ethtool utilities require root privilege. It is possible to configure Hardware Sentry KM with the root password or to use the sudo utility to execute the commands that require root privilege. If the sudo option is preferred, the sudo utility must have been properly configured to allow the PATROL Agent’s default account to execute the ipmitool and ethtool commands as root. This can be done by an authorized administrator only in the /etc/sudoers file by adding the following line:
Local Monitoring with a PATROL Agent installed the monitored system
Nothing needs to be specifically configured at the level of Hardware Sentry KM: it automatically discovers all the hardware elements of the server and monitors them.
Remote Monitoring from a remote system
- In the PATROL Console, [right-click] on the hardware icon › [KM Commands] › [Add a Remote System or an External Device]
- Accept the End User License Agreement
- Enter the System Name. Select System or Device Type “Linux”. [Next]
- Choose the option “Manually choose which connectors to use”. [Next]
- Select the IPMI and Linux-Network Connectors. [Next]
- If the Hardware KM is unable to find Java on your system, the Hardware KM will prompt you for the path of the java executable. See the Hardware KM’s documentation for more information about Java Settings.
- Enter valid SSH Credentials for the remote server. For information about using sudo, please see the Hardware KM’s documentation. [Next]
- Click on [Finish]
- Monitoring Cisco MDS 9000 Series FC Switches with Hardware Sentry
- Monitoring Cisco MDS 9020 Fabric Switches with Hardware Sentry
- Monitoring Cisco UCS Servers Running ESXi
- Monitoring Cisco UCS Servers Running Windows
- Monitoring Cisco UCS Servers Through Their IMC
- Monitoring a Cisco UCS B-Series Blade Chassis