cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1791
Views
0
Helpful
0
Replies

CIsco UCS Disk Monitoring (SSD)

jbaduria
Level 1
Level 1

Here are the details for the CIsco UCS Disk monitoring problem.

 

Last worked in firmware version: 3.1.1e

Stopped working in firmware version: 4.0.4g

 

Using this person's check: https://github.com/hgrimm/check_cisco_ucs

To use Cisco's UCS XML API: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/2-0/b_Cisco_IMC_api_for_3x60_servers/b_Cisco_IMC_api_3x60_chapter_01010.html#reference_D926C2EEA606459B8AF1180B1CA9D8FB__section_2934FD8875CA421983953BCD71D4757B

 

The command is: ./check_cisco_ucs_test -d 3 -M 1.2 -H 10.32.160.60 -s true -t dn -q sys/rack-unit-20/board -o storageLocalDisk -a operability -e operable -u nagios -p '[filtered]'

 

This request is made to the API: configResolveDn request: <configResolveDn cookie="[filtered]" inHierarchical="true" dn="sys/rack-unit-20/board"></configResolveDn>

 

Attached is the response received.

 

As seen in the output 2 of the 14 disks operability state shows "not-supported". This is the problem. The API used to return "operable" for all 14 disks. Since the firmware upgrade the two Intel SSDs installed no longer show this information.

 

The goal is to monitor these disks with nagios.

 

-<storageLocalDisk vendor="ATA" thermal="unknown" serial="BTWA71440A31120CGN" revision="0" presence="equipped" operability="not-supported" operQualifierReason="N/A" model="INTEL SSDSC2BB120G6K" id="2" childAction="deleteNonPresent" rn="disk-2" fsmTry="0" fsmStatus="nop" fsmStamp="never" fsmStageDescr="" fsmRmtInvRslt="" fsmRmtInvErrDescr="" fsmRmtInvErrCode="none" fsmProgr="100" fsmPrev="nop" fsmDescr="" variantType="C2X0M4_PCH" lc="allocated" errDescription="" configState="not-applied" adminSecurityKey="" adminActionTrigger="idle" adminAction="unspecified" size="114473" rawSize="not-applicable" powerState="unknown" physicalBlockSize="unknown" numberOfBlocks="234441648" linkStateReason="" linkState="unknown" linkSpeed="unknown" fsmFlags="" encAssociation="unknown" driveState="" diskState="unknown" discoveredPath="default" deviceVersion="" deviceType="SSD" connectionProtocol="SATA" configCheckPoint="" bootable="unknown" blockSize="512" adminVirtualDriveId="unspecified">


-<firmwareBootDefinition childAction="deleteNonPresent" rn="fw-boot-def" type="local-disk">

<firmwareBootUnit operState="ready" childAction="deleteNonPresent" rn="bootunit-combined" type="combined" mode="install" version="CS01" invTag="" adminState="triggered" skipValidation="no" resetOnActivate="no" prevVersion="" image="running" ignoreCompCheck="no"/>

</firmwareBootDefinition>

<firmwareRunning childAction="deleteNonPresent" rn="fw-system" type="local-disk" version="CS01" packageVersion="" invTag="" deployment="system"/>

<storageLocalDiskFsm childAction="deleteNonPresent" rn="fsm" fsmStatus="nop" descr="" rmtRslt="" rmtErrDescr="" rmtErrCode="none" progress="100" instanceId="0" currentFsm="nop" completionTime=""/>

</storageLocalDisk>

0 Replies 0