Ubuntu – Where does check_mk store configuration files

check-mknagiosUbuntu

I'm a little new to the check_mk/nagios/monitoring world. I'm experimenting with omd 1.0 as an easy way to get it all set up and working on an Ubuntu host. So far, things are great!

With all the work I'm putting in to the system though, I thought a backup would be a good idea. Traditionally, it seems that host and check configurations were saved in the main.mk file for check.mk, but mine shows:

# Put your host names here
# all_hosts = [ 'localhost' ]
all_hosts = [ ]

Well… that's not interesting! I have about 40 servers/switches added and showing in check_mk multisite.

I'm using WATO for check_mk to add hosts, and I'm guessing that's why things aren't written to that file. I would like to continue managing with WATO for simplicity.

So – where are host and check information written?

Thanks in advance!

Best Answer

For WATO, you might need to check the following directories -

/etc/check_mk/conf.d/wato/

you will find hosts.mk in the above directories.

/etc/check_mk/multisite.d/wato/
Related Topic