cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
372
Views
0
Helpful
1
Replies

Automated action based on amount of free memory?

js88888888
Level 1
Level 1

Has anyone used an AA in RME to say, reboot a device if mem gets too low? How did you go about doing this?

thanks!

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

I would rather use Embedded Event Manager on the device for this. I have a simple EEM applet I give to customers for just this thing:

event manager applet low-mem

event snmp oid 1.3.6.1.4.1.9.9.48.1.1.1.6.1 get-type exact entry-op lt entry-val 4194304 poll-interval 10

action 1.0 syslog msg "Rebooting as free memory is currently at $_snmp_oid_val"

action 2.0 reload

This will get triggered if free memory drops below 4 MB. You may want to adjust the target. This applet will work with any device that supports EEM 1.0 or higher.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: