Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 191

Advertising
background image

Network OS NETCONF Operations Guide

159

53-1003231-02

Interface monitoring

12

c. Under the <threshold> node element, include the following leaf elements:

<timebase-value> sets the allotted amount of time since the previous reading. Polling
values are taken at different intervals depending on the configured time base.

<high-threshold> specifies the high limit for the specified interface error type.

<low-threshold> specifies the low limit for the specified interface error type.

<buffer> specifies the value of an error on a configured interface that is in the buffer
range. The buffer value cannot exceed the average of the high and low threshold value.

d. The <alert> node element.

7. Under the <alert> node element, include the <above> and <below> node elements.

8. Under the <above> node, include the following leaf elements to specify the actions to be taken

when a the error count rises above each threshold.

a. In the <above-highthresh-action> element, specify “email” to generate an e-mail message

when the high threshold is breached, “raslog” to generate a RASlog message, “fence” to
disable the port, “all” to perform all three actions, or “none” to do nothing.

Refer to the Network OS Administrator’s Guide for information about port fencing.

b. In the <above-lowthresh-action> element, specify “email,” “raslog,” “all,” or “none.”

9. Under the <below> node, specify the actions to be taken when the error count drops below

each threshold in the following leaf elements.

a. In the <below-highthresh-action> element, specify “email,” “raslog,” “all,” or “none.”

b. In the <above-lowthresh-action> element, specify “email,” “raslog,” “all,” or “none.”

The following example disables a port and generates a RASlog message if IFG errors exceed 80
within a one-hour period.

<rpc message-id="1120" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<threshold-monitor-hidden

xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor">

<threshold-monitor>

<interface>

<policy>

<policy_name>custom</policy_name>

<area>

<type>Ethernet</type>

<area_value>IFG</area_value>

<threshold>

<timebase_value>hour</timebase_value>

<high-threshold>80</high-threshold>

<low-threshold>10<low-threshold>

<buffer>10</buffer>

</threshold>

<alert>

<above>

<above-highthresh-action>fence raslog

</above-highthresh-action>

</above>

Advertising