Hi everyone,
I am try monitoring a windows memory usage with the check_nt command.
I am using the below command
/usr/local/nagios/libexec/check_nt -H hostname -s "" -p 12489 -v MEMUSE -w 80 -c 90 ShowAll type=physical
But i recive a reponse with full memory Physical+Pagefile.
OUTPUT: Memory usage: total:12285.86 MB - used: 8473.68 MB (69%) - free: 3812.19 MB (31%) | 'Memory usage'=8473.68MB;9828.69;11057.28;0.00;12285.86
Windows memory usage only physical
-
jonathan.cruz
- Posts: 42
- Joined: Tue Jul 28, 2015 3:06 pm
Windows memory usage only physical
You do not have the required permissions to view the files attached to this post.
Re: Windows memory usage only physical
This is expected - I don't think check_nt has an option to change how the MEMUSE functions. You may be able to use check_nrpe though, and alter the alias it uses. See this post - https://support.nagios.com/forum/viewto ... 091#p23800
Can you post your NSClient++ configuration?
Can you post your NSClient++ configuration?
Former Nagios Employee
-
jonathan.cruz
- Posts: 42
- Joined: Tue Jul 28, 2015 3:06 pm
Re: Windows memory usage only physical
Follow my nsc config
You do not have the required permissions to view the files attached to this post.
Re: Windows memory usage only physical
As I stated, this will not work with check_nt. After reviewing your config, you will need to enable NRPE to accomplish this. You will also need to change this line to make it physical memory only.
Change this -
to -
Change this -
Code: Select all
alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll=long type=physical type=virtual type=paged type=page
Code: Select all
alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
Former Nagios Employee