CPULOAD,MEMUSE,Check_mem
Posted: Tue Sep 03, 2019 6:52 am
Hi Team,
I have small doubt on check_nt and check_nrpe. First i will discuss on check_nt
root@ip-XXXX:/usr/local/nagios/libexec# ./check_nt -H XXXX -s 'Password@123' -p 12489 -v MEMUSE -w 80 -c 90
Memory usage: total:9215.69 MB - used: 1055.69 MB (11%) - free: 8160.00 MB (89%) | 'Memory usage'=1055.69MB;7372.55;8294.12;0.00;9215.69
Nsclient is agent for windows which works on port 12489 till i am fine
I understand that check_nt is calling the remote XXXX host to get the Memory utilization. But what is this MEMUSE.
MEMUSE is an plugin ? If plugin where is stored in windows server ? what is path for that MEMUSE and also(USEDDISKSPACE,CPULOAD)
Why we use check_nrpe plugin in windows again as i know that its an linux agent. How it will help us in windows??
check_nrpe is an linux agent which calls to get the details of usage/cpu/memory etc
in the below check_mem is what, I understand the command -c then check_mem
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
[nagios@ip XXXX ~]$ /usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c check_mem -a '-w 20 -c 10'
OK - 894 / 992 MB (90%) Free Memory, Used: 543 MB, Shared: 0 MB, Buffers: 21 MB, Cached: 445 MB | total=992MB free=894MB used=543MB shared=0MB buffers=21MB cached=445MB
Again check_nrpe using -c check_mem (The plugin is not having in linux agent and nagios server but i am getting the memory output) I am attaching the screenshot of libexec folder for server and client.
Does Agent should have all plugins ??
why all these MEMUSE and check_mem (Are these separate plugin but i have not seen these plugin any path like in /usr/local/nagios/libexec folder)
in linux agent i am able to see check_load. And few like check_open_files.pl is monitoring open files. Again -c check_open_file.py plugin is in linux agent server
For this check_open_files check_nrpe calling the remote plugin which is stored in libexe
-c means what Does it calling the remote the plugin ?
/usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c check_open_files -a '-w 30 -c 50'
OK: 512 open files (0% of max 99764)|opened_files=512;29929;49882
Excuse me, if i ask more but i need some clarification on variable names after -c and -v , what are those ? Does those plugins (if plugins not seen check_mem in libexe folder)
I have small doubt on check_nt and check_nrpe. First i will discuss on check_nt
root@ip-XXXX:/usr/local/nagios/libexec# ./check_nt -H XXXX -s 'Password@123' -p 12489 -v MEMUSE -w 80 -c 90
Memory usage: total:9215.69 MB - used: 1055.69 MB (11%) - free: 8160.00 MB (89%) | 'Memory usage'=1055.69MB;7372.55;8294.12;0.00;9215.69
Nsclient is agent for windows which works on port 12489 till i am fine
I understand that check_nt is calling the remote XXXX host to get the Memory utilization. But what is this MEMUSE.
MEMUSE is an plugin ? If plugin where is stored in windows server ? what is path for that MEMUSE and also(USEDDISKSPACE,CPULOAD)
Why we use check_nrpe plugin in windows again as i know that its an linux agent. How it will help us in windows??
check_nrpe is an linux agent which calls to get the details of usage/cpu/memory etc
in the below check_mem is what, I understand the command -c then check_mem
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
[nagios@ip XXXX ~]$ /usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c check_mem -a '-w 20 -c 10'
OK - 894 / 992 MB (90%) Free Memory, Used: 543 MB, Shared: 0 MB, Buffers: 21 MB, Cached: 445 MB | total=992MB free=894MB used=543MB shared=0MB buffers=21MB cached=445MB
Again check_nrpe using -c check_mem (The plugin is not having in linux agent and nagios server but i am getting the memory output) I am attaching the screenshot of libexec folder for server and client.
Does Agent should have all plugins ??
why all these MEMUSE and check_mem (Are these separate plugin but i have not seen these plugin any path like in /usr/local/nagios/libexec folder)
in linux agent i am able to see check_load. And few like check_open_files.pl is monitoring open files. Again -c check_open_file.py plugin is in linux agent server
For this check_open_files check_nrpe calling the remote plugin which is stored in libexe
-c means what Does it calling the remote the plugin ?
/usr/local/nagios/libexec/check_nrpe -H XXXX -t 30 -c check_open_files -a '-w 30 -c 50'
OK: 512 open files (0% of max 99764)|opened_files=512;29929;49882
Excuse me, if i ask more but i need some clarification on variable names after -c and -v , what are those ? Does those plugins (if plugins not seen check_mem in libexe folder)