I would like to see only the physical memory
How can I make this?
Yours
Ulrich
_________________________________________
Nagios Core 4.2.1 - NRPE - NSClient++
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c '$ARG1$'Code: Select all
define service{
use generic-service
host_name 700-0840
service_description 11_Test-Speicher
check_command check_nrpe!check_memory -a warn 90 crit 95 type=physical
}
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.47.8 -c 'check_memory -a warn 90 crit 95 type=physical'
Unknown command(s): check_memory -a warn 90 crit 95 type=physical
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.47.8 -c check_memory -a 'type=physical'
OK: physical = 701.828MB|'physical'=0.68537GB;3.19965;3.5996;0;3.99956 'physical %'=17%;79;89;0;100
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.47.8 -c checkmem -a 'type=physical'
OK: physical: Total: 4GB - Used: 695.453MB (16%) - Free: 3.32GB (83%)|'physical'=0.67915GB;3.19965;3.5996;0;3.99956 'physical %'=16%;79;89;0;100
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.47.8
I (0.4.3.143 2015-04-29) seem to be doing fine...