I am running Nagios 3.2.0 on Ubuntu 10.04. My problem is that Nagios keeps using outdated configuration information in several cases:
* I created a host and a service. Since I called the service HTTP, I got a warning but Nagios started up fine. Because of the warning I renamed the service, and now it always shows the old and the new service in the Service Detail page.
* I configured the commands notify-host-by-email and notify-service-by-email to send email to an external SMTP server. I restarted Nagios and got it to work. Then I updated the commands to format the email text more nicely. Now it looks like Nagios is still using the previous version of the command, i.e. emails are sent but not in the new format.
So I ran the following to clean up any old data:
service nagios3 stop
mv /var/log/nagios3/nagios.log /tmp
mv /var/cache/nagios3/objects.cache /tmp
mv /var/lib/nagios3/retention.dat /tmp
service nagios3 start
Now the host and service history seem to be gone, but the 2 above issues still exist. What can I do?