Page 1 of 1

Nagios core and NDOUTILS partial-data issue (TCP connection)

Posted: Wed Apr 08, 2026 3:08 am
by cruze
I am currently trying to deploy Nagios, NDOUtils, and MariaDB using Docker containers. I have successfully set up all three as separate containers, and each container is running without issues.

In my architecture, Nagios and NDOUtils are on the same Docker network and communicate via a TCP connection. Nagios is able to send data to NDO, and ndo2db is able to write data to the MariaDB database.

However, I am facing an issue where the database is only being partially populated. The NDO database contains a total of 61 tables, but only around 13 tables are being updated. For example, tables such as:

nagios_hostchecks
nagios_instances
nagios_logentries
nagios_objects

are receiving data, while the remaining tables stay empty.

Has anyone encountered a similar issue or can suggest what might be causing only partial data to be written?

Re: Nagios core and NDOUTILS partial-data issue (TCP connection)

Posted: Fri Apr 10, 2026 2:48 pm
by kfanselow
Hi Cruze

That sounds like an interesting project. So ndoutils is officially community supported and we use a new version of Nagios Database Output (NDO) in our products, version 3. It has a different architecture so you will want to cross check my response with the available documentation and source code. For convenience here are the direct links to the PDF documentation on the github site:

The DB Model:
https://github.com/NagiosEnterprises/nd ... 0Model.pdf

and

The official NDOUTILS Documentation:
https://github.com/NagiosEnterprises/nd ... tation.pdf

The first thing to probably check is what's defined in your ndomod.cfg file. Specifically what you have defined under:

# DATA PROCESSING OPTIONS

Check to see if you have data_processing_options set or if you are using individual options. If you're using individual options make sure you have data_processing_options commented out. Here's an old KB article on the subject:

https://support.nagios.com/kb/article/n ... g-113.html

Also under:

# CONFIG OUTPUT OPTION

You may want to look at what you have set for config_output_options and maybe experiment to see how that effects which tables are receiving data with your configuration.

Failing that - one of the nice things about open source is you can review and alter the code for troubleshooting:

https://github.com/NagiosEnterprises/ndoutils


Good Luck with your project !!!