NRDP Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDP Issue

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NRDP Issue

Post 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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDP Issue

Post 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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP Issue

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDP Issue

Post by BanditBBS »

Email sent
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP Issue

Post by scottwilkerson »

I am going to lock this as it will be completed via email.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP Issue

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked