On Mon, Jun 6, 2011 at 7:36 AM, Rukshan <[email protected]> wrote:
> This is the version of client: NSClientpp (Nagios) 0.3.8.76 2010-05-27 x64
>
> Still opsview server shows output as follows,
> #root@sysmon:/usr/local/nagios/libexec# ./check_nrpe -H 203.143.20.27 -c
> check_memload -a '95 98'
> Mem: 3654 MB (89%) / 4095 MB (10%) Paged Mem: 0 MB (0%) / 4095 MB (100%)"

I guess something is wrong with the settings of your nsclientpp:

nagios:/usr/local/nagios/libexec$ ./check_nrpe -H win2008host
I (0.3.5.1 2008-09-24) seem to be doing fine...

quite an old version of the nsclientpp software, but it returns the
correct value:

nagios:/usr/local/nagios/libexec$ ./check_nrpe -H win2008host -c nrpe_checkphys
WARNING: physical memory: Total: 8G - Used: 7.02G (87%) - Free: 0.977G
(13%) > warning|'physical memory'=87%;80;90;

show the definition of check_memload in nsc.ini

I use this for nrpe_checkphys:
nrpe_checkphys=inject CheckMem MaxWarn=80% MaxCrit=90% ShowAll type=physical

-- 
natxo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to