Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
...
# NOTIFICATIONS OPTION
# This determines whether or not Nagios will sent out any host or
# service notifications when it is initially (re)started.
# Values: 1 = enable notifications, 0 = disable notifications
enable_notifications=0
...
Ok. That worked perfectly for me. But in nagios.cfg i had already disabled the global notification settings and still nagios was sent mails. Why was that happening?
orani wrote:Ok. That worked perfectly for me. But in nagios.cfg i had already disabled the global notification settings and still nagios was sent mails. Why was that happening?
there is also a runtime level that overrides the configuration.
If someone enabled then through the GUI it would override the config value
system -> Process Info -> Enable notifications (will show as "Disable notifications" if they are enabled)
If you check my previous attachments you will see that i have disabled notifications on both the gui and the nagios.cfg, restarted the service but still receiving notifications.
I know there were some notification bugs in 4.4.1 that are resolved in 4.4.3 but I wasn't aware of notifications being sent out when they were disabled.
Do these look like typical notifications from this server? Do you have more than one Nagios server?