Core 4.0.8 / NDO2DB v2.0.0

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by abrist »

What user are you running as above?
Is selinux enable?

Code: Select all

getenforce
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
emislivec
Posts: 52
Joined: Tue Feb 25, 2014 10:06 am

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by emislivec »

mrmister wrote:That appears to have flagged to permission issues and some missing libraries

If you could verify that for me it would be appreciated - i'll be looking at this in detail again soon
You need to run the commands sreinhardt posted as root

Code: Select all

su
cd /tmp
strace -o ndo2db_dump -ff /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
tar czf ndo2db.tar.gz ./ndo2db_dump.*
exit
SELinux messages normally go into to the audit log, unless that changed in CentOS 7. Take a look in /var/log/audit/

The ndomod configuration you had before was correct. ndo2db does not connect to the DB until a data source client connects (ndomod, log2ndo, etc.),
Locked