ndoutils or other problems
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ndoutils or other problems
Can you attach a copy of your /etc/init.d/nagios and your /usr/local/nagios/etc/nagios.cfg
Re: ndoutils or other problems
Ok, 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?
Re: ndoutils or other problems
Scottwilkerson: check the attached files as requested (had to change extension to .txt because of the forum restrictions)
Mguthrie: I posted an "LS" on one of the previous posts which indeed shows ownership as apache for those files
Mguthrie: I posted an "LS" on one of the previous posts which indeed shows ownership as apache for those files
You do not have the required permissions to view the files attached to this post.
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ndoutils or other problems
can you run the following
Code: Select all
ps aux|grep perfdataprocRe: ndoutils or other problems
Code: 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
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ndoutils or other problems
One more thing, can you run the following
Code: Select all
cat /etc/group|grep nagRe: ndoutils or other problems
Code: Select all
# cat /etc/group|grep nag
nagcmd:x:702:apache,nagios
nagiocmd:x:703:
nagios:x:704:nagios,apacheNagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: ndoutils or other problems
Ok, 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
/usr/local/nrdp/server
and run:
Code: Select all
chown -R nagios.nagios /usr/local/nrdp/server/* Re: ndoutils or other problems
Those are all owned by nagios:
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 nagioscorepassivecheckNagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ndoutils or other problems
We are likely going to need to setup a remote session so we can take a look at what is going on. I'm not positive, but I have an idea it could be related to whatever happened that caused you to have a group named...
If you send a support request to [email protected] we can schedule a remote session.
Code: Select all
nagiocmd