check_nt!MEMUSE showing wrong info
-
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: check_nt!MEMUSE showing wrong info
Attaching, screenshot of CCM.
Pls. help me out with arguments... what & where, I have to pass the arguments. So that, using Test check command, I should see actual Memory.
Pls. help me out with arguments... what & where, I have to pass the arguments. So that, using Test check command, I should see actual Memory.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_nt!MEMUSE showing wrong info
Do you have a host selected for this check already? You need to define your config name as well.. For the ARG's fill them in as shown previously. Also, I see you are using XI, we thought you were using core this whole time due to you posting in the core forums. Please post in the XI forums next time. Moving..
-
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: check_nt!MEMUSE showing wrong info
Thanks...
Now, I can see correct Memory as below :-
Physical Memory Critical 5h 36m 26s 5/5 19/02/2013 05:06:48 CRITICAL: physical memory: Total: 2G - Used: 698M (34%) - Free: 1.32G (66%) > critical
But it shows, Critical. However, Total RAM :2G Used: 698M (34%) - Free: 1.32G (66%)
Tried Threshold, -w 80 -c 90.
Still showing critical.
Now, I can see correct Memory as below :-
Physical Memory Critical 5h 36m 26s 5/5 19/02/2013 05:06:48 CRITICAL: physical memory: Total: 2G - Used: 698M (34%) - Free: 1.32G (66%) > critical
But it shows, Critical. However, Total RAM :2G Used: 698M (34%) - Free: 1.32G (66%)
Tried Threshold, -w 80 -c 90.
Still showing critical.
Re: check_nt!MEMUSE showing wrong info
Hey.
I would like to know what is your version of NSClient for a 2008 server ?
Thank you.
Baptiste
I would like to know what is your version of NSClient for a 2008 server ?
Thank you.
Baptiste
Re: check_nt!MEMUSE showing wrong info
lafargeuser,
can you show the check command your using that's giving the wrong warning and critical?
are you using check_nrpe or check_nt?
-Yancy
can you show the check command your using that's giving the wrong warning and critical?
are you using check_nrpe or check_nt?
-Yancy
-
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: check_nt!MEMUSE showing wrong info
Hartly,
I am using NSClient++-0.3.9-x64.msi
Yancy,
I am using check_nrpe
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAll type=physical
I am using NSClient++-0.3.9-x64.msi
Yancy,
I am using check_nrpe
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAll type=physical
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_nt!MEMUSE showing wrong info
What do you receive when you use the following from the Nagios command line?:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=5% MaxCrit=60% ShowAll type=physical
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll type=physical
-
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: check_nt!MEMUSE showing wrong info
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=5% MaxCrit=60% ShowAll type=physical
Connection refused or timed out
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll type=physical
OK: physical memory: 687M|'physical memory %'=33%;80;90 'physical memory'=686.68MB;1638.04;1842.8;0;2047.55
However, RAM is 2 GB on the server.
I think its showing used memory. Along with, it should display actual RAM.
Connection refused or timed out
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll type=physical
OK: physical memory: 687M|'physical memory %'=33%;80;90 'physical memory'=686.68MB;1638.04;1842.8;0;2047.55
However, RAM is 2 GB on the server.
I think its showing used memory. Along with, it should display actual RAM.
Re: check_nt!MEMUSE showing wrong info
after running this command, is there any error in nsclient.log?/usr/local/nagios/libexec/check_nrpe -H 192.168.5.63 -c CheckMEM -a MaxWarn=5% MaxCrit=60% ShowAll type=physical
Connection refused or timed out
Code: Select all
type c:\program files\nsclient++\nsclient.log
-Yancy
-
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: check_nt!MEMUSE showing wrong info
Nope. I didn't see any error in nsclient.log , after running that command.