So I have NDOUtils installed and initialized successfully. Tables showing data in them. That said, when I look at the notifications for a particular service, it is still looking at /usr/local/nagios/var/nagios.log and then date labeled ones before that. How do I get the gui to start retrieving data from the database? Also is the output from a database any more robust than the log files? In other words, instead of having a bunch of archives with no data and having the click thru them all does it show all data for that service and allow you to just page thru it?
Like to make sure there is value in the DB and how it's supposed to work. This is NDOUtils 2.0 on Centos with Nagios 4.1.1.
Thanks.
JR
ndoutils still using log files
Re: ndoutils still using log files
I thought this was the case and confirmed with the devs, but Core only reads from the log files, not NDO. Nagios XI, and possibly third-party interfaces, can communicate with the NDO database, but not Core.
Former Nagios employee
Re: ndoutils still using log files
Thanks for the reply. I believe you but according to the NDOUtils website they say: "NDOUtils 2.0.0 has just been released and is available for download. This release makes NDOUtils compatible with Nagios Core 4". I'm seeing the data going in the database and the status cgi file showing that it loaded the library so confused.
Thanks.
JR
Thanks.
JR
Re: ndoutils still using log files
The compatibility is referring to the NEB (Nagios Event Broker) module that is used to take data from Core and place it into the DB.
Former Nagios employee
Re: ndoutils still using log files
thats odd. what would be the point of that if it isnt used and why am i the first one to find this out? think i wouldnt have been the first to notice this. Odd all the pseudo instructions out there for ndo and core and it doesnt do anything. things that make you go hmmm...
JR
JR
Re: ndoutils still using log files
I don't think it's entirely accurate to say "it isnt used" and "doesnt do anything".
NDO does plenty, and Core does plenty, but Core itself does not use the NDO DB for its interface. The "XI" in "Nagios XI" stands for "Extended Interface" and XI most definitely does use the NDO backend - various third-party addons that can be run on top of Core can do so as well.
NDO does plenty, and Core does plenty, but Core itself does not use the NDO DB for its interface. The "XI" in "Nagios XI" stands for "Extended Interface" and XI most definitely does use the NDO backend - various third-party addons that can be run on top of Core can do so as well.
Former Nagios employee
Re: ndoutils still using log files
Thanks. Yes accurate wording for me, perhaps not for someone else. I was just looking for a way to store the data in a place other than a bunch of log files and possibly have better display of the log data thru the GUI. Looks like neither of those will be solved in my situation by having the database back end.
Thanks.
JR
Thanks.
JR
Re: ndoutils still using log files
Guess I should ask, in case I run into a program that utilizes NDOUtils DB instance, does Nagios still log data to the separate text based log files or after you implement the database does everything go there going forward and nothing would show in the web interface anymore? Curious since I took so long to get NDOUtils working in my environment may want to just leave it running for the future.
Thanks.
JR
Thanks.
JR
Re: ndoutils still using log files
The data will be logged to both the files and the Database if you install the NDOUtils on the system.
Be sure to check out our Knowledgebase for helpful articles and solutions!