Configuring rmon alarm settings – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 200

168
Network OS NETCONF Operations Guide
53-1003231-02
RMON configuration and management
14
Configuring RMON alarm settings
To configure RMON alarms and events, perform the following steps.
1. Issue the <edit-config> RPC to configure the <rmon> node in the
urn:brocade.com:mgmt:brocade-rmon workspace.
2. Under the <rmon> node, include the <alarm-entry> node element.
3. Under the <alarm-entry> node, include the following leaf elements to configure the RMON
alarm.
a. In the <alarm-index> element, set the unique index number for the alarm in the range 1
through 65535.
b. In the <snmp-oid> element, specify a description of the event as a string of up to 35
characters.
c. In the <alarm-interval> element, specify the RMON alarm sample interval in seconds. The
range of valid values is from 1 through 2,147,483,648.
d. In the <alarm-sample> field, specify “absolute” or “delta”, depending on the sample type.
Optionally, if you are monitoring a rising threshold:
e. In the <alarm-rising-threshold> element, specify a number in the range 1 through
2,147,483,648.
f.
In the <alarm-rising-event-index> element, specify the event by its index number in the
range 1 through 65535.
When monitoring a falling threshold:
g. In the <alarm-falling-threshold> element, specify a number in the range 1 through
2,147,483,648.
h. In the <alarm-falling-event-index> element, specify the event by its index number in the
range 1 through 65535.
4. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.
The following example shows an alarm that tests every sample for a rising threshold.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2800" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<rmon xmlns="urn:brocade.com:mgmt:brocade-rmon">
<alarm-entry>
<alarm-index>5</alarm-index>
<snmp-oid>1.3.6.1.2.1.16.1.1.1.5.65535</snmp-oid>
<alarm-interval>30</alarm-interval>
<alarm-sample>absolute</alarm-sample>
<alarm-rising-threshold>95</alarm-rising-threshold>
<alarm-rising-event-index>27</alarm-rising-event-index>
<alarm-owner>john_smith</alarm-owner>
</alarm-entry>
</rmon>
</config>
</edit-config>