Re: ndoutils or other problems
Posted: Tue Aug 28, 2012 9:31 am
Can you attach a copy of your /etc/init.d/nagios and your /usr/local/nagios/etc/nagios.cfg
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
ps aux|grep perfdataprocCode: Select all
# ps aux|grep perfdataproc
nagios 25442 0.0 0.0 8700 980 ? Ss 16:04 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 25445 1.2 0.2 205488 20924 ? S 16:04 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
Code: Select all
cat /etc/group|grep nagCode: Select all
# cat /etc/group|grep nag
nagcmd:x:702:apache,nagios
nagiocmd:x:703:
nagios:x:704:nagios,apacheOk, then NRDP is the one dropping those results in with apache ownership. I checked on our XI test boxes and all of the NRDP files were owned by Nagios, I'm betting yours are all currently owned by apache?
Sorry I wasn't more clear, I meant the php files for NRDP. Can check the permissions on the files under:Mguthrie: I posted an "LS" on one of the previous posts which indeed shows ownership as apache for those files
Code: Select all
chown -R nagios.nagios /usr/local/nrdp/server/* Code: Select all
# ls -lha /usr/local/nrdp/server/*
-rwxrwxr-x 1 nagios nagios 2.0K Aug 27 14:47 /usr/local/nrdp/server/config.inc.php
-rwxr-xr-x 1 nagios nagios 6.9K Nov 4 2011 /usr/local/nrdp/server/index.php
/usr/local/nrdp/server/includes:
total 20K
drwxr-xr-x 2 nagios nagios 4.0K Oct 24 2011 .
drwxr-xr-x 4 nagios nagios 4.0K Oct 24 2011 ..
-rwxr-xr-x 1 nagios nagios 1.6K Nov 4 2011 constants.inc.php
-rwxr-xr-x 1 nagios nagios 7.3K Nov 4 2011 utils.inc.php
/usr/local/nrdp/server/plugins:
total 16K
drwxr-xr-x 4 nagios nagios 4.0K Oct 24 2011 .
drwxr-xr-x 4 nagios nagios 4.0K Oct 24 2011 ..
drwxr-xr-x 2 nagios nagios 4.0K Oct 24 2011 nagioscorecmd
drwxr-xr-x 2 nagios nagios 4.0K Oct 24 2011 nagioscorepassivecheckCode: Select all
nagiocmd