NRDP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

NRDP

Post by peter19x »

Hello,

I installed the NRDP plugin on my nagios core and I get the following error from web when I access it http://"nagiosIP"/nrdp :

Forbidden
You don't have permission to access /nrdp on this server.

my getenforce and nrdp.cong output below

Code: Select all

[root@GSIP_MGNT_B nrdp]# getenforce
Permissive
[root@GSIP_MGNT_B nrdp]# cat /etc/httpd/conf.d/nrdp.conf
<Directory "/usr/local/nrdp">
#  SSLRequireSSL
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
#   AuthName "NRDP"
#   AuthType Basic
#   AuthUserFile /usr/local/nrdp/htpasswd.users
#  Require valid-user
</Directory>

Alias /nrdp "/usr/local/nrdp/server"
I have read on one old topic to change

Code: Select all

Order allow,deny
   Allow from all
to

Code: Select all

Require all granted
but that did not fix the issue.

Please Advise,
Thanks,
Peter
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NRDP

Post by hsmith »

What's the output of this command?

Code: Select all

ls -l /usr/local/nrdp
Former Nagios Employee.
me.
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP

Post by peter19x »

Hello,

Thank you for the reply.
Output below:

[

Code: Select all

root@GSIP_MGNT_B admin]# ls /usr/local/nrdp/
CHANGES.TXT  clients  install-html  INSTALL.TXT  LICENSE.TXT  nrdp.conf  server
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP

Post by peter19x »

Hello,

I found the problem, Since I was root when installing NRDP all files and directories created had 711 permission so changed all to 755 and it worked.

Thanks for the help.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: NRDP

Post by mcapra »

Thanks for sharing your solution! Closing this up
Former Nagios employee
https://www.mcapra.com/
Locked