Page 2 of 2

Re: NRDP Issue

Posted: Wed Feb 27, 2013 9:46 pm
by BanditBBS
scottwilkerson wrote:Hmm, something doesn't seem right, these are just the .ok files, can you run

Code: Select all

ls -ld /usr/local/nagios/var/spool/checkresults

Code: Select all

drwxrwxr-x. 2 nagios nagios 4096 Feb 27 17:20 /usr/local/nagios/var/spool/checkresults

Re: NRDP Issue

Posted: Thu Feb 28, 2013 10:28 am
by mguthrie
Just a thought on this, these are notes from the NRDP config.inc.php file.
// the name of the system group that has write permissions to the external command file
// this group is also used to set file permissions when writing bulk commands or passive check results
// NOTE: both the Apache and Nagios users must be a member of this group
$cfg["nagios_command_group"]="nagcmd";
I'm noticing that the files are all owned apache:apache.

Re: NRDP Issue

Posted: Thu Feb 28, 2013 12:58 pm
by BanditBBS
mguthrie wrote:Just a thought on this, these are notes from the NRDP config.inc.php file.
// the name of the system group that has write permissions to the external command file
// this group is also used to set file permissions when writing bulk commands or passive check results
// NOTE: both the Apache and Nagios users must be a member of this group
$cfg["nagios_command_group"]="nagcmd";
I'm noticing that the files are all owned apache:apache.
So what do you suggest Mike? nagcmd is what that is set too in my config file.

Re: NRDP Issue

Posted: Thu Feb 28, 2013 1:55 pm
by scottwilkerson
BanditBBS,

I think we may need to see the whole picture, can you send me your latest snapshot as well as your /usr/local/nrdp/server/config.inc.php to [email protected]

Please reference this thread

thanks.

Re: NRDP Issue

Posted: Thu Feb 28, 2013 2:07 pm
by BanditBBS
Email sent

Re: NRDP Issue

Posted: Thu Feb 28, 2013 4:29 pm
by scottwilkerson
I am going to lock this as it will be completed via email.

Re: NRDP Issue

Posted: Fri Mar 01, 2013 1:36 pm
by scottwilkerson
Final update on this, it was resolved after finding that the nagios user was not part of the nagcmd group

Code: Select all

usermod -a -G nagcmd nagios