That's fine!
I added new code and gave this result.

root@sysmon:/usr/local/nagios/libexec# ./check_nrpe -H 203.143.20.27 -c nrpe_checkphys OK: physical memory: 7.48G|'physical memory %'=94%;95;98; 'physical memory'=7.48G;7.50;7.74;0;7.90;

But the actual memory consumption is not equal to this value.

Thanks
Rukshan






On 2011-06-06 09:53, Natxo Asenjo wrote:
> On Mon, Jun 6, 2011 at 7:36 AM, Rukshan <rukshankb@???> 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
>
>

--
Rukshan Kothwala
Network Planning
LankaCom

T: +94 11 2437545
M: +94 722244929
F: +94 11 2437547

E: [email protected]
W: www.lankacom.net

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

Reply via email to