Memory Utilization plugin for windows server
Memory Utilization plugin for windows server
Hi Team ,
Currently we are monitoring the memory utilization of windows server using check_nrpe as shown in the below screenshot . The alerting threshold is setup as MaxWarn=90% MaxCrit=95% . I wanted a warning / critical alert when there is only 2 GB space available . So is there a way to give the alerting threshold value in GB .
Currently we are monitoring the memory utilization of windows server using check_nrpe as shown in the below screenshot . The alerting threshold is setup as MaxWarn=90% MaxCrit=95% . I wanted a warning / critical alert when there is only 2 GB space available . So is there a way to give the alerting threshold value in GB .
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Utilization plugin for windows server
Hi Deek,
We have a check the library on our knowledgebase with some example, NSClient checks that are pretty useful.
https://support.nagios.com/kb/article/m ... free_value
In this case, the example arguments would be (critical if less than 2GB):
Let me know if that's going to work for you. Also, some more details on the NSClient check_memory query available at:
https://docs.nsclient.org/reference/win ... eck_memory
--Benjamin
We have a check the library on our knowledgebase with some example, NSClient checks that are pretty useful.
https://support.nagios.com/kb/article/m ... free_value
In this case, the example arguments would be (critical if less than 2GB):
Code: Select all
./check_nrpe -H 10.25.14.10 -c check_memory -a type=physical 'warn=free<4G' 'crit=free<2G'
https://docs.nsclient.org/reference/win ... eck_memory
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Utilization plugin for windows server
This is really good . Thank you so much
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Utilization plugin for windows server
Hi @deek,
Let us know if you have any other questions or if we may close this topic.
Regards,
Benjamin
Glad that helped!This is really good . Thank you so much
Let us know if you have any other questions or if we may close this topic.
Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Utilization plugin for windows server
Hi ,
I have one more question . This plugin is really good but it displays only the used GB . Is there a way it can display the available / Free GB as well.
I have one more question . This plugin is really good but it displays only the used GB . Is there a way it can display the available / Free GB as well.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Utilization plugin for windows server
HI deek,
After reviewing the doc on this one, I don't see an option to change that behavior. Here's a link to all the available options for check_memory.
https://docs.nsclient.org/reference/win ... ory_filter
Let us know if you have further questions.
--Benjamin
After reviewing the doc on this one, I don't see an option to change that behavior. Here's a link to all the available options for check_memory.
https://docs.nsclient.org/reference/win ... ory_filter
Let us know if you have further questions.
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Utilization plugin for windows server
So is there a way by using the plugin checkMem we can set the warning and critical thresholds in GB ?
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Utilization plugin for windows server
Hi Deek,
You can set the free memory to use any of the following metrics, that part can be adjusted
Or used memory:
You can set the free memory to use any of the following metrics, that part can be adjusted
https://docs.nsclient.org/reference/win ... ory_filterFree memory in bytes (g,m,k,b) or percentages %
Or used memory:
used Used memory in bytes (g,m,k,b) or percentages %
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Utilization plugin for windows server
Thanks for that .
And is there a way to only alert when the "available memory is less than 1 GB and less than 5% memory consumed" . I know its complicated .
And is there a way to only alert when the "available memory is less than 1 GB and less than 5% memory consumed" . I know its complicated .
Re: Memory Utilization plugin for windows server
I think this should do it:
Or:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -2 -H X.X.X.X -c check_memory -a type=physical 'crit=free<1G or used<5%'
Code: Select all
/usr/local/nagios/libexec/check_nrpe -2 -H X.X.X.X -c check_memory -a type=physical 'warn=used<5%' 'crit=free<1G'