alert for Windows server using less than 20% of RAM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

alert for Windows server using less than 20% of RAM

Post by gornm565 »

We are currently using the check_xi_service_nsclient command to monitor and alert us if a Windows server is using more than 80% of memory. How do I set it up to also alert me if it's using less than 15% of memory?
Thanks.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: alert for Windows server using less than 20% of RAM

Post by npolovenko »

Hello, @gornm565. So far I found a solution which includes the use of the negate plugin. Here're the steps to implement this:
1. You'd go to Core configurations Manager, then commands and clone the check_xi_service_nsclient command. You'd rename it and add the negate command to it.
screenshot-192.168.4.172-2018-01-05-09-16-06-421.png
2. Then you'd clone the memory usage check and make it use the new command:
screen.png
3. Put 15 or 20 next to -c.

This should give you a critical state when memory usage goes down below 20.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked