Hi,
We are using CheckMEM to monitor Physical memory on Windows servers.
Below is command which we are using
COMMAND: /usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c CheckMEM -a ShowAll type=physical MaxWarn=80% MaxCrit=90%
OUTPUT: physical: Total: 7.707GB - Used: 2.625GB (34%) - Free: 5.082GB (65%)|'physical'=2.62491GB;6.1653;6.93596;0;7.70663 'physical %'=34%;80;90;0;100
We would like to display performance data which is on GB but not the data in % in Capacity Planning Report.
Is it possible to remove performance data which is displaying in % to avoid extra report in Capacity Planning Report?
Kindly advice.
Query regarding CheckMEM performance data
Query regarding CheckMEM performance data
You do not have the required permissions to view the files attached to this post.
Re: Query regarding CheckMEM performance data
If you use the check_memory style command and add this option to it
Like the example below
It will filter out the percentage output from the performance data.
Try that to see if it works for you.
Code: Select all
"perf-config=%(ignored:true)"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -t 30 -c check_memory -a type=physical "perf-config=%(ignored:true)"Code: Select all
WARNING: physical = 25.708GB|'physical'=25.70807GB;25.5259;28.71663;0;31.90737Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Query regarding CheckMEM performance data
We would like to use CheckMEM command as shown below
/usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c CheckMEM -a ShowAll type=physical MaxWarn=80% MaxCrit=90%
With this option is it possible to exclude % data in performance output ?
/usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c CheckMEM -a ShowAll type=physical MaxWarn=80% MaxCrit=90%
With this option is it possible to exclude % data in performance output ?
Re: Query regarding CheckMEM performance data
It seems like the "perf-config" option is not available in checkmem (legacy version of check_mem). I don't see any option with this particular plugin that would help you accomplish your goal - see the usage here:
https://docs.nsclient.org/reference/win ... /#checkmem
You may need to change your command to check_memory as tgriep suggested.
https://docs.nsclient.org/reference/win ... /#checkmem
You may need to change your command to check_memory as tgriep suggested.
Be sure to check out our Knowledgebase for helpful articles and solutions!