

Not much :richard.scott wrote:Is there anything in the logs on the remote host?
I had something from nrpe in there when I had this problem.

Yes, they are there in /usr/lib/nagios/plugins, the other directory is just a symlinkrichard.scott wrote:Not if its a recent install on Gentoo.kolcon wrote:libexec -> /usr/lib/nagios/plugins
it is the same thing....
on a recent install of nagios-plugins they all go in /usr/lib/nagios/plugins
I'd double check to make sure.
Rich.

How did you get the symlink then?kolcon wrote:Yes, they are there in /usr/lib/nagios/plugins, the other directory is just a symlink
Code: Select all
# equery list nagios
[ Searching for package 'nagios' in all categories among: ]
* installed packages
[I--] [ ] net-analyzer/nagios-nrpe-2.12-r102 (0)
[I--] [ ] net-analyzer/nagios-plugins-1.4.13-r1 (0)Code: Select all
# cd /usr/nagios/libexec
-su: cd: /usr/nagios/libexec: No such file or directoryCode: Select all
# equery files nagios-plugins | grep disk
/usr/lib/nagios/plugins/check_disk
Can be, however when I change it to:richard.scott wrote:Perhaps NRPE doesn't like symlinks?

Code: Select all
# cat /etc/nagios/nrpe.cfg | grep "^command"# cat /etc/nagios/nrpe.cfg | grep "^command"richard.scott wrote:what does this show on the remote host:
Code: Select all
# cat /etc/nagios/nrpe.cfg | grep "^command"


I changed that in the nrpe.cfg based on your hint to possible symlink problem...richard.scott wrote:why does that log extract from earlier show this:
/usr/nagios/libexec/check_disk
and your nrpe.cfg has this:
/usr/lib/nagios/plugins/check_disk
Rich

Code: Select all
-p "$ARG3$"Thanks, good hint, however did not helprichard.scott wrote:try this in nrpe.cfg
I think the "" marks helped me?Code: Select all
-p "$ARG3$"

Code: Select all
ssh remote_ip /usr/lib/nagios/plugins/check_disk -w 10 -c 5 -p "/"# ssh remote_ip /usr/lib/nagios/plugins/check_disk -w 10 -c 5 -p "/"richard.scott wrote:ok, what about this:
Code: Select all
ssh remote_ip /usr/lib/nagios/plugins/check_disk -w 10 -c 5 -p "/"

