NRPE: Command 'check_mem" not defined
-
bolson
Re: NRPE: Command 'check_mem" not defined
Please run the commands exactly as shown, including the closing bracket.
Re: NRPE: Command 'check_mem" not defined
This command find a few things but of what you are concerned about, see below:
In /etc
command[check_mem_foo]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
in cd ../usr
lib64/nagios/plugins/check_mem.pl
In /etc
command[check_mem_foo]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
in cd ../usr
lib64/nagios/plugins/check_mem.pl
-
bolson
Re: NRPE: Command 'check_mem" not defined
Please tell me the name of the file that the line
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
appears in. Also, look for a directive "include_dir" in your nrpe.cfg file and tell me what that entire line says.
Thank you.
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
appears in. Also, look for a directive "include_dir" in your nrpe.cfg file and tell me what that entire line says.
Thank you.
Re: NRPE: Command 'check_mem" not defined
The output for both
command[check_mem_foo]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
was found in /etc/nagios/nrpe.cfg
There is no "include_dir" in the nrpe.cfg file
command[check_mem_foo]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w 12 -c 10
was found in /etc/nagios/nrpe.cfg
There is no "include_dir" in the nrpe.cfg file
-
bolson
Re: NRPE: Command 'check_mem" not defined
Please post the output of
Code: Select all
ls -l /usr/lib64/nagios/plugins/check_memRe: NRPE: Command 'check_mem" not defined
-rwxr-xr-x. 1 nagios nagios 15154 Mar 9 14:32 /usr/lib64/nagios/plugins/check_mem
-
bolson
Re: NRPE: Command 'check_mem" not defined
At this point, I think re-installing nrpe on the affected hosts will probably be much less time consuming than continuing to try an troubleshoot your issue. Particularly if you are unable to send a profile or tar up your directory stricture.
Re: NRPE: Command 'check_mem" not defined
I will recommend doing so to my customer.
-
bolson
Re: NRPE: Command 'check_mem" not defined
Thank you. Sorry I couldn't be of more help. Yours is a very bizarre issue. May I close the topic?
Re: NRPE: Command 'check_mem" not defined
You have 2 guys working on this who are well versed in Nagios and couldnt figure this out. We were trying not to reinstall but it seems that is the only choice. Thank you for you help. Yes please close this out.
Thx
Thx