This article was written for version 6.1.2 of Monitor, it could work on both lower and higher version if nothing else is stated. check_ucs is not a official supported plugin from op5.
This how-to describes how to monitor a Cisco UCS Blade chassi.
There is no plugin for UCS monitoring included in the product, so this has to be downloaded and installed as a custom plugin.
This plugin can monitor
- Chassi Temperature
- Chassi Fans Status
- Chassi Power Supplies Status
- IO Card Status
- Fault summary from UCS Manager
- Shell access to the host running op5 Monitor
- A read-only SNMP community configured in the UCS manager
Download this file to the "/opt/plugins/custom" directory:
Make the file executable:
If you don't wish to configure the commands manually, you can use the community contributed management pack
Go to op5 Monitor Configuration | Commands
Create 5 check commands:
Name Command check_ucs_temp $USER1$/custom/check_ucs -H $HOSTADDRESS$ -C $ARG1$ -T ct -N $ARG2$ check_ucs_fan_status $USER1$/custom/check_ucs -H $HOSTADDRESS$ -C $ARG1$ -T f -N $ARG2$ check_ucs_iocard_status $USER1$/custom/check_ucs -H $HOSTADDRESS$ -C $ARG1$ -T ci -N $ARG2$ check_ucs_PSU_status $USER1$/custom/check_ucs -H $HOSTADDRESS$ -C $ARG1$ -T po -N $ARG2$ check_ucs_fault_summary $USER1$/custom/check_ucs -H $HOSTADDRESS$ -C $ARG1$ -T fs
Add these 5 check commands as services to the UCS chassi host with the check command arguments below.
We assume that the SNMP community name is 'public' and the chassis name is 'chassis-1', check you names in the UCS Manager:
Service Description Check command Check command Arguments Chassi Temperature check_ucs_temp public!chassis-1 Fan Status check_ucs_fan_status public!chassis-1 IO Card Status check_ucs_iocard_status public!chassis-1 Power Supply Status check_ucs_PSU_status public!chassis-1 Fault Summary check_ucs_fault_summary public
- Save your configuration