This article was written for version 6.1.2 of OP5 Monitor, it could work on both lower and higher versions if nothing else is stated. check_ucs is not an officially supported plugin from ITRS Group.
This how-to article 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:
# wget -O /opt/plugins/custom/check_ucs https://itrs.zendesk.com/hc/article_attachments/360030418973/check_ucs
Make the file executable:
# chmod 755 /opt/plugins/custom/check_ucs
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