Memory Utilization plugin for windows server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: Memory Utilization plugin for windows server

Post by deek »

Is there a way to give 'and ' instead of ' or ' in the command line . Because I want the alert to be triggered only when the " available is less than 1GB and used is less than 5% " .

/usr/local/nagios/libexec/check_nrpe -2 -H X.X.X.X -c check_memory -a type=physical 'crit=free<1G or used<5%'

Is there any other way to do this like service dependency .
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Memory Utilization plugin for windows server

Post by benjaminsmith »

Hi,
Because I want the alert to be triggered only when the " available is less than 1GB and used is less than 5% " .
One option would be to create a BPI group for these two checks, and if they both fail, then send a notification.

See: Using BPI In Nagios XI

Let us know if that would work out.
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!
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: Memory Utilization plugin for windows server

Post by deek »

Thanks
That worked . You can close this ticket .
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Memory Utilization plugin for windows server

Post by benjaminsmith »

That worked . You can close this ticket .
Great! Thanks for the update.
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!
Locked