I am new to Nagios , I have a question about the configuration .
Now , I configed the alert mail will be sent to admin a/c when it found the error ( every 20 minutes ) , if I would like the alert mail only send one time , that mean it only send once it found the error rather than frequently send , would advise what can I do ?
Another question , if the above configuration only apply to a specify group of servers , for example , only five specific servers apply the above configuration , the other servers still send every 20 minutes , would advise what can I do ? thanks
issue alert email once
Re: issue alert email once
This can be accomplished by setting the notification_interval directive in either the host or service definitions to 0. Doing this tells Nagios not to resend notifications for the same event. This option is also present in host and service escalation definitions.derekchung_8080 wrote:Now , I configed the alert mail will be sent to admin a/c when it found the error ( every 20 minutes ) , if I would like the alert mail only send one time , that mean it only send once it found the error rather than frequently send , would advise what can I do ?
Set the notification_interval setting on a template and only apply that template to those hosts/services.derekchung_8080 wrote:Another question , if the above configuration only apply to a specify group of servers , for example , only five specific servers apply the above configuration , the other servers still send every 20 minutes , would advise what can I do ? thanks
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.