Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Automated action based on amount of free memory?

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
Cisco Employee

Re: Automated action based on amount of free memory?

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.

120
Views
0
Helpful
1
Replies
CreatePlease to create content