Applying interface monitoring policies, Pausing interface monitoring – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 192

Advertising
background image

160

Network OS NETCONF Operations Guide

53-1003231-02

Interface monitoring

12

</alert>

</area>

</policy>

</interface>

</threshold-monitor>

</threshold-monitor-hidden>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Applying interface monitoring policies

This procedure allows you to toggle between default settings and saved custom configuration
settings and to apply actions and thresholds separately. For example, you can choose to use
default threshold settings with a customized subset of available actions, or you can modify some of
the threshold settings and use the default action settings.

To apply a custom interface monitoring policy, perform the following steps.

1. Issue the <edit-config> RPC to configure the <threshold-monitor-hidden> node in the

urn:brocade.com:mgmt:brocade-threshold-monitor workspace.

2. Under the <threshold-monitor-hidden> node, include the <threshold-monitor>/<interface>

hierarchy of node elements.

3. Under the <interface> node, include the <apply> leaf element, and specify the custom policy.

<rpc message-id="1121" 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>

<apply>custom</apply>

</interface>

</threshold-monitor>

</threshold-monitor-hidden>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Pausing interface monitoring

To pause the monitoring of all ports and retain the ability to resume port monitoring at a later time,
perform the following steps.

Advertising