Obtaining the switch health status, Obtaining the system monitoring configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 179

Network OS NETCONF Operations Guide
147
53-1003231-02
FRU monitoring
12
</alert>
</sfp>
<LineCard>
<alert>
<state>removed</state>
<action>raslog</action>
</alert>
</LineCard>
</system-monitor>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Obtaining the switch health status
To obtain the switch health status, issue the <show-system-monitor> custom RPC located in the
urn:brocade.com:mgmt:brocade-system-monitor-ext namespace. To restrict the output to a specific
switch, provide the RBridge ID as an input parameter, otherwise the health status of all
components on all switches in the Brocade VCS Fabric is returned along with the status of each
port.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1102">
<show-system-monitor
xmlns="urn:brocade.com:mgmt:brocade-system-monitor-ext">
<rbridge-id>101</rbridge-id>
</show-system-monitor>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1102">
<switch-status xmlns="urn:brocade.com:mgmt:brocade-system-monitor-ext">
<rbridge-id-out>101</rbridge-id-out>
<switch-name>prodSwitchB</switch-name>
<switch-ip>154.56.1.0</switch-ip>
<report-time></report-time>
<switch-state>state-healthy</switch-state>
<switch-state-reason></switch-state-reason>
<component-status>
<component-name>fan</component-name>
<component-state>state-marginal</component-state>
</component-status>
<component-status>
(output truncated)
Obtaining the system monitoring configuration
To retrieve the system monitor configuration, issue the <get-config> RPC with a subtree filter to
retrieve only the information under the <system-monitor> node in the
urn:brocade.com:mgmt:brocade-system-monitor namespace. To limit the output to a specific
component type, under the <system-monitor> node, include the <fan>, <power>, <temp>,
<cid-card>, <compact-flash>, <MM>, or <sfp> node.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1103" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">