setting up 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: setting up nrdp

Post by scottwilkerson »

This could be permissions on the directory tree too, lets run

Code: Select all

ls -ld /usr/local/nagios4/var/rw
ls -ld /usr/local/nagios4/var
ls -ld /usr/local/nagios4
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: setting up nrdp

Post by jssingh »

To make this easier to read, let's pretend the user we use for nagios is "nagiosuser", the group is "nagiosgroup" and the group I created for nrdp is "nrdpgroup". I've changed the actual user/group names below instead of just redacting them.

Code: Select all

-bash-4.1$ ls -ld /usr/local/nagios4/var/rw
drwxrwsr-x 2 nagiosuser nrdpgroup 4096 Jan 16 08:43 /usr/local/nagios4/var/rw
-bash-4.1$ ls -ld /usr/local/nagios4/var
drwxrwxr-x 6 nagiosuser nrdpgroup 4096 Feb 13 08:13 /usr/local/nagios4/var
-bash-4.1$ ls -ld /usr/local/nagios4
drwxr-xr-x 9 nagiosuser nagiosgroup 4096 Dec  9 15:26 /usr/local/nagios4
-bash-4.1$ 
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: setting up nrdp

Post by jssingh »

It's working now! I didn't change anything. Maybe a new day was what it needed? :)

thanks for all the help!
Locked