Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 178

146
Network OS NETCONF Operations Guide
53-1003231-02
FRU monitoring
12
To set FRU state alerts and actions, perform the following steps.
1. Issue the <edit-config> RPC to configure the <system-monitor> node in the
urn:brocade.com:mgmt:brocade-system-monitor namespace.
2. Under the <system-monitor> node, include a node element for each FRU for which you want to
configure an alert state or alert action.
Node elements that can have their alert state and action set include <cid-card>, <sfp>,
<LineCard>, <fan>, and <power>.
3. Under the node element designating the FRU, include the <alert> node element.
4. Under the <alert> node element, include the following leaf elements.
a. In the <state> element, specify the state of the FRU for which you want the system to
generate an alert.
Valid values for <cid-card>, <LineCard>, <fan>, and <power> include “removed,”
“inserted,” “on,” “faulty,” “none,” and “all.”
Valid values for <sfp> include “removed,” “inserted,” “faulty,” “none,” and “all.”
b. In the <action> element, specify the action to take place when the FRU transitions into the
state specified in the <state> element.
Valid values include “none” (take no action), “email” (send and e-mail message), “raslog”
(issue a RASlog message), and “all” (send and e-mail message and issue a RASlog
message).
The following example issues a RASlog message if a fan, or power unit, or line card is removed, or
sends an e-mail message if the CID card is faulty or inserted.
<rpc message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<system-monitor xmlns="urn:brocade.com:mgmt:brocade-system-monitor">
<fan>
<alert>
<state>removed</state>
<action>raslog</action>
</alert>
</fan>
<power>
<alert>
<state>removed</state>
<action>raslog</action>
</alert>
</power>
<cid-card>
<alert>
<state>inserted faulty</state>
<action>email</action>
</alert>
</cid-card>
<sfp>
<alert>
<state>none</state>
<action>none</action>