Automated action based on amount of free memory?

Unanswered Question
Sep 3rd, 2009

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


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 09/03/2009 - 10:34

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 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.


This Discussion