Resource monitoring, Configuring memory monitoring – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 184

Advertising
background image

152

Network OS NETCONF Operations Guide

53-1003231-02

Resource monitoring

12

Resource monitoring

For a conceptual overview of resource monitoring, refer to the Network OS Administrator’s Guide.

Configuring memory monitoring

NOTE

E-mail is not a supported action for threshold monitoring.

To configure memory monitoring, 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 namespace.

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

hierarchy of node elements.

3. Under the <memory> node, include the following leaf elements to configure memory

monitoring.

a. In the <poll> element, specify the time in seconds after which the system monitor will poll

the resource usage. Range is 10 through 3600. Default is 120.

b. In the <retry> element, specify the number of retries that the system monitor takes before

triggering an action. Range is 1 through 100. Default is 3.

c. In the <limit> element, specify the usage limit as a percentage of available resources.

Range is 0 through 80. Default is 60.

d. In the <high-limit> element, specify the upper usage limit for memory as a percentage of

available memory. Range is 0 through 80. Default is 70.

e. In the <low-limit> element, specify the lower usage limit for memory as a percentage of

available memory. Range is 0 through 80. Default is 40.

f.

In the <actions> element, specify the action the system monitor triggers when a threshold
is crossed. Specify “raslog” to send a RASlog message, “snmp” to issue an SNMP trap,
“all” to send a RASlog message and issue an SNMP trap, or “none” to do nothing. Default
is none.

The following example configures memory monitoring.

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

<memory>

<poll>30</poll>

<retry>3</retry>

<limit>75<limit>

<high-limit>80</high-limit>

<low-limit>50</high-limit>

<actions>raslog</actions>

Advertising