Enhancement Request: Only graph swap Mempools if there is actual swap space

So I have a humble enhancement request. On many systems, SNMP reports a swap Mempool even if the swap size is 0. I don’t have swap on any system, yet I have graphs for it on both my Linux machines and Edgerouters. What I’d like to suggest is to add a check if the swap Mempool is 0 during discovery and if so, don’t poll / graph it. Or alternatively if there is a desire to keep polling it in case swap appears or is added, then I was hoping it was possible to not graph it if there was none available. I wasn’t able to figure out how the discovery code worked exactly to add this check myself.

It’s absolutely not a big deal. It’s just … clutter on my dashboards.

1 Like