In Nagios core 3.5.1 "notification_options" with empty options of "w,u,c,r" will not send any alerts.
But in Nagios 4.1.1, this approach will be rejected by syntax checker.
Is there an option in 4.1.1 to disable all level of alerts notification ?
nagios 3.5.1 to 4.1.1 : "notification_options" variable
Re: nagios 3.5.1 to 4.1.1 : "notification_options" variable
in template.cfg
nagios -v /etc/nagios/nagios.cfg
Code: Select all
notification_options ; Send notifications about warning, unknown, critical, and recovery events
Code: Select all
Read main
config file okay...
Error: Invalid notification option 'options' in service definition.
Error: Could not add object property in file '/etc/nagios/objects/templates.cfg' on line 760.
Error processing object config files!
/code]
Re: nagios 3.5.1 to 4.1.1 : "notification_options" variable
Please resolve this question. I didn't RTFM.
https://assets.nagios.com/downloads/nag ... tions.html
"notification_options n" # disable alert for all notification levels. it works in Nagios 3.5.1/4.1.1
https://assets.nagios.com/downloads/nag ... tions.html
"notification_options n" # disable alert for all notification levels. it works in Nagios 3.5.1/4.1.1
Re: nagios 3.5.1 to 4.1.1 : "notification_options" variable
I'll close this thread - thanks for posting the solution so that others may see your answer!
Jesse
Jesse