Cisco IOS-XE Memory
This worked great for our ISR4431 routers we have installed. Checked through the shell using sh platform software status control-processor brief, and found that it matched the used memory and processor perfectly. Thanks!
In case anyone else has need of this...
I had to manually import through the Manage Pollers (Settings | All Settings) due to not knowing the file extension, testing ".undp" didn't work, and didn't have access to the web server.
Duplicated the original CPU & Memory poller and updated the OID settings from the downloaded file.
Formulas Used
---- Used Memory Formula (Committed) ----
NONE: Only needs [cpmCPUMemoryCommitted]
---- Free Memory Formula ----
[cpmCPUMemoryFree]+[cpmCPUMemoryUsed]-[cpmCPUMemoryCommitted]
If you want to use these for some other resource/SQL ability, and want it reported in percentage output (i.e. 65, 83, etc.) then use these formulas:
Truncate([cpmCPUMemoryCommitted]/([cpmCPUMemoryFree]+[cpmCPUMemoryUsed])*100)
Truncate(([cpmCPUMemoryFree]+[cpmCPUMemoryUsed]-[cpmCPUMemoryCommitted])/([cpmCPUMemoryFree]+[cpmCPUMemoryUsed])*100)
NOTE: If you use the second set of formulas, when the node's Poller is switched over from the standard "CPU & Memory" to the new one, the "Average CPU Load & Memory Utilization" resource on Node Details page disappears on when loading the Node Details page. You must either use a different resource for Node Details, or use the first set of formulas above.