I manually installed the latest nagios version on my ubuntu server lts (14.04) 64b instead of using the "repo" one.
Really happy, doing a bunch of host and services checking.
I have email notifications on, and the only issue I encontered was duplicate emails per contact. Checked my contacts.cfg and everything seemed fine.... after digging deeper into your forum i found that this could actually be an issue with 2 nagios.cfg main PIDs running. After checking my server processes.... there it was 2 main pids running.
I'm using the default 4.0.8 nagios_init file on /etc/init.d/nagios. Service starts, stops and restarts fine manually.... but the pid does not auto-start on server reboot.
Reading more about I found that if a symlink from /etc/init.d/nagios to /etc/rcS.d/S99nagios, the service should start on server reboots. And it does, but it seems to be creating the 2 main nagios.cfg pids.
So, I'm faced:
1. unlink and the service won't auto start on server reboot, process manually needs to be started
or
2. link but it creates 2 main pid processes and 1 needs to be manually killed
Bith involve user interaction, kinda sucks