I am continuously getting MEMPOOL_HEAPCACHE_0_1 usage alert from cisco devices which are monitored using check_nwc_health. As per the Cisco team, the Heapcache memory does not make any impact in device performance. Only system memory need to be monitored and MEMPOOL_HEAPCACHE_0_1 can be suppressed from monitoring. How should I suppress that?
I would start by looking at the check’s options – call the check command on the CLI, see if it has any filtering options (among threshold options too, if you wish).
Sometimes the commands need a -h or --help argument do display the options.
it would be easier for us to know how you call the check (e.g. service definition) This check in particular is very powerful and has innumerable options for checking network devices
In other cases only the tip from @steaksauce is possible.
I can’t catch similar performance counters from our cisco devices with the mentioned check mode.
And it looks like there is no supress function, if I read the docs again.
It looks like you have two options:
you use the parameter criticalx and warningx like @log1c mentioned. And you set threshold values with which this one value is always ok.
you write a wrapper script for such devices. With this script you pass the output for example to sed or awk. With same regex you could filter the output.