cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3456
Views
4
Helpful
1
Replies

SNMP poll for free memory as a percentage

hegleran
Level 1
Level 1

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.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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