Hi everyone !
I just have installed NDOUtils, and I wonder how it's works. I know that the ndomod is forwarding Nagios Data to ndo2db and ndo2db writes it to mySQL database. This scenario is quite good explained in NDO documentation. But I can't find any information about reading data from database. I.e. if I want to generate Nagios Availability Report, from where Nagios reads data? From archived logs or from database? Should I backup my archived logs or is it enough if I backup only database?
I can understand the reason of using database to store nagios data but where's the sense when I can't use it?
Am I miss something in NDO documentation?
Regards,
HanzKlotz
How NDOUtils work
Re: How NDOUtils work
Nagios core will only read data from the local logs, so if you want to backup that data then backup the archived logs.
Usually you only use ndo2db if you have a plugin that requires it (i.e. Nagvis), but if you want to create your own plugins you can find the database schema information here: http://nagios.sourceforge.net/docs/ndou ... _Model.pdf, the document is a little bit old but still accurate to the best of my knowledge.
The ndo2db database is fairly straight forward and when I created a plugin using it years ago I just poked around the database a bit until I found the fields I needed.
Usually you only use ndo2db if you have a plugin that requires it (i.e. Nagvis), but if you want to create your own plugins you can find the database schema information here: http://nagios.sourceforge.net/docs/ndou ... _Model.pdf, the document is a little bit old but still accurate to the best of my knowledge.
The ndo2db database is fairly straight forward and when I created a plugin using it years ago I just poked around the database a bit until I found the fields I needed.
Re: How NDOUtils work
Thanks for your response. Now I get it.
I thought that Nagios can read data from DB and NDO completely replace config files. Me stupid. Now I understand. thanks a lot.
I thought that Nagios can read data from DB and NDO completely replace config files. Me stupid. Now I understand. thanks a lot.