Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nrpe can't read files on Remote hosts (Permission is correct) #811

Closed
rathodloki opened this issue Jan 12, 2021 · 1 comment
Closed

Nrpe can't read files on Remote hosts (Permission is correct) #811

rathodloki opened this issue Jan 12, 2021 · 1 comment

Comments

@rathodloki
Copy link

These are the two commands I have tried which will access files on remote files

 $ ./check_nrpe -H 172.31.35.55 -c check_logs
 $ ./check_nrpe -H 172.31.35.55 -c check_file_age

config on remote server-> /etc/nrpe.cfg


1. command[check_log]=/usr/lib64/nagios/plugins/check_log -F /home/ec2-user/shaft2/logs/access.log -O /tmp/access.log -q '404'
2. command[check_file_age]=/usr/lib64/nagios/plugins/check_file_age -f "/home/ec2-user/shaft2/logs/access.log"

Yet I have also tried changing permission on files but still not get solved.
Can anyone please help me on that.

@sawolf
Copy link
Member

sawolf commented Apr 6, 2022

Honestly, if you're setting up new monitoring, I would try to install NCPA rather than NRPE. It has far fewer footguns and it's not deprecated. That said, this issue list is for Nagios Core, so I'm closing this issue.

@sawolf sawolf closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants