Monitor mem usage without pagefile
Posted: Thu Nov 01, 2012 4:21 pm
Hello everyone,
I install nagios core 3.2.1 with the recents plugins on Ubuntu Server 10.04 LTS. All goes normal. But when i add a windows server to monitoring... in the services page it shows
Memory usage: total:4330.61 Mb - used: 1776.48 Mb (41%) - free: 2554.14 Mb (59%)
But my server only have 2 GB (It shows page file and system mem).
service is configure as
define service{
use generic-service
host_name serverad
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
}
How change this command or use other check, i mean check_nrpe
define service{
use generic-service
host_name serverad
service_description Memory Usage
check_command check_nrpe ???????????? what command go here
}
This command runs in command line, but in the check_command do not work
/usr/local/nagios/libexec$ sudo ./check_nrpe -H '192.168.1.11' -t 30 -c CheckMem -a MaxCrit=100% ShowAll type=physical
OK: physical memory: 1.61G|'physical memory %'=80%;822083633;100 'physical memory'=1.61G;16430728.01;1.99;0;1.99
Any have ideas
Thanks
I install nagios core 3.2.1 with the recents plugins on Ubuntu Server 10.04 LTS. All goes normal. But when i add a windows server to monitoring... in the services page it shows
Memory usage: total:4330.61 Mb - used: 1776.48 Mb (41%) - free: 2554.14 Mb (59%)
But my server only have 2 GB (It shows page file and system mem).
service is configure as
define service{
use generic-service
host_name serverad
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
}
How change this command or use other check, i mean check_nrpe
define service{
use generic-service
host_name serverad
service_description Memory Usage
check_command check_nrpe ???????????? what command go here
}
This command runs in command line, but in the check_command do not work
/usr/local/nagios/libexec$ sudo ./check_nrpe -H '192.168.1.11' -t 30 -c CheckMem -a MaxCrit=100% ShowAll type=physical
OK: physical memory: 1.61G|'physical memory %'=80%;822083633;100 'physical memory'=1.61G;16430728.01;1.99;0;1.99
Any have ideas
Thanks