Page 1 of 1

Problem with custom_check_mem

Posted: Thu Nov 06, 2014 7:29 am
by WillemDH
hello,

I'm having issues monitoring memory on an OpenSuse (VMware Management Appliance) server that I need in order to use the box293_vmware_plugin.

it seems the % is not calculated resulting in a critcal result all of the time.

This is the command and result:

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nrpe -H vmaserver -t 120 -c check_mem -a '-w 10 -c 5 -nocache'
OUTPUT: CRITICAL - 3795 / 3962 MB (%) Free Memory, Used: 360 MB, Shared: 0 MB, Buffers: 37 MB, Cached: 193 MB | total=3962MB free=3795MB used=360MB shared=0 buffers=37MB cached=193MB
A bug?

Grtz

WIllem

Re: Problem with custom_check_mem

Posted: Thu Nov 06, 2014 11:02 am
by lmiltchev
Most probably you are missing the "bc" package. Try running:

Code: Select all

zypper install bc
Let me know if this helped.

Re: Problem with custom_check_mem

Posted: Fri Nov 07, 2014 3:22 am
by WillemDH
It worked Ludmill. Cheerz. Thread can be closed.