SNMP poll for free memory as a percentage

Unanswered Question

I'm trying to poll a device for the amount of free memory as a percentage of total memory. I am able to poll the device for the amount of free memory in bits currently. Is there a different OID that can be retrieved to report free memory as a percentage of total memory? Ideally, I'd like to set a threshold percentage to have the router/switch trap to my management station if memory usage goes above a certain percentage for a certain interval. Much like the

"process cpu threshold" configuration, but for memory as opposed to cpu utilization. Any help would be appreciated.

Thanks in advance.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Joe Clarke Fri, 02/23/2007 - 08:18

The best way of doing this is to use the CISCO-MEMORY-POOL-MIB to poll the ciscoMemoryPoolUsed + ciscoMemoryPoolFree to get total, then divide that into ciscoMemoryPoolFree and multiply by 100.

However, if you're trying to setup notifications on free memory, have a look at the "memory" commands (see http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a0080455977.html) as well as the Embedded Resource Manager (see http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_chapter09186a00804559ae.html).

There is also the EXPRESSION-MIB and EVENT-MIB that allow you to setup customized events, even using calculations, via SNMP (see http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a008023267a.shtml).

Actions

This Discussion