check_nt!MEMUSE showing wrong info

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: check_nt!MEMUSE showing wrong info

Post by lmiltchev »

Can you telnet into port 5666 on the windows machine from your nagios server?

Code: Select all

telnet 192.168.5.63 5666
You can also use nc (if you have it installed):

Code: Select all

nc -zv 192.168.5.63 5666
Be sure to check out our Knowledgebase for helpful articles and solutions!
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: check_nt!MEMUSE showing wrong info

Post by lafargeuser »

However, telnet is not installed on Nagios. Perhaps, I should be able to telnet.
Pls. let me know how should I get rid of this. I have to do this for more than 200 Windows servers.


My concern is, If I am monitoring Using SNMP, it shows correct Memory Utilization.
So is it Good Idea to monitor servers using SNMP.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_nt!MEMUSE showing wrong info

Post by scottwilkerson »

You could install telnet with

Code: Select all

yum install telnet -y
However I would guess that you havent enabled NRPE in the NSC.ini
http://library.nagios.com/library/produ ... h-nsclient
lafargeuser wrote:If I am monitoring Using SNMP, it shows correct Memory Utilization.
So is it Good Idea to monitor servers using SNMP.
This is just a matter of preference, there is nothing wrong with monitoring with SNMP
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: check_nt!MEMUSE showing wrong info

Post by lafargeuser »

After changes still it shows used memory.
Physical Memory Ok 5d 6h 48m 16s 1/5 26/02/2013 06:26:48 OK: physical memory: 755M

I should see Memory information in below format.

Memory usage: total:8096.25 Mb - used: 1248.49 Mb (8%) - free: 15185.76 Mb (92%)
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: check_nt!MEMUSE showing wrong info

Post by lmiltchev »

Plugins return different info, other words, the format could be different. If you like better the SNMP check format, you should use this one, instead of check_nrpe.
Be sure to check out our Knowledgebase for helpful articles and solutions!
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: check_nt!MEMUSE showing wrong info

Post by lafargeuser »

It was just an example.
There should be solution of it. Because I am able to detect used memory, only I should see physical memory. thats it.
Do i need to do some changes in core config.

Also let me know if I would opt for SNMP monitoring, there are more than 200 windows server. On which I have to do the changes.
So is there any automation can I use , without downtime.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_nt!MEMUSE showing wrong info

Post by slansing »

How have you defined the command on your nagios server when you run it? The plugin will only return the metrics it was written to return, this by no means is a limit however because you can monitor metrics such as these with more detail or in different fashions with SNMP, custom plugins, or performance counters.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: check_nt!MEMUSE showing wrong info

Post by lafargeuser »

CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll type=physical

Can you Pls. elaborate more on this.
you can monitor metrics such as these with more detail or in different fashions with SNMP,custom plugins, or performance counters.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_nt!MEMUSE showing wrong info

Post by slansing »

You can monitor system memory usage through a wide variety of check mechanisms, basic standard nrpe or check_nt checks are only the ground level of systems monitoring. You could find the performance counter you want to monitor within windows and then use a custom NRPE check to return the data to you. Are you looking for an example of this?
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: check_nt!MEMUSE showing wrong info

Post by lafargeuser »

Yes. Pls. share one,That will be really helpful.
Locked