No hosts file


Hi, I have a debian box running Nagios 3.02. I’ve just relocated the server, and need to change some config, and the hosts.cfg and hostgroup.cfg files seem to have disappeared!

They were there recently as I added a server.

I’ve recreated them and restarted Nagios, but the old servers (no longer with us, nor in the new hosts file) are still displayed on the webpage.

What’s gone wrong?



try running

locate hosts.cfg

did you install from RPM or from source.