Page 1 of 1
Too many repeated emails for host or service down.
Posted: Tue Dec 08, 2020 10:01 am
by netagurion
Where do I configure how often emails are sent out for a host or service issue?
Re: Too many repeated emails for host or service down.
Posted: Tue Dec 08, 2020 3:44 pm
by vtrac
Hi netagurion ,
You can set how often the notification is sent out (in minutes) until the issue resolved as follows:
Nagios XI GUI > Service Status > (pick service from list) > "Configure" tab > "Reconfigure this service" > "Notifications" tab > "If problems persisted" (please see pictures below)
reconfigure-service.png
Set you notification (in minutes) until issue resolved:
notification-settings.png
Hope this helps!!
Vinh
Re: Too many repeated emails for host or service down.
Posted: Mon Dec 21, 2020 12:17 pm
by netagurion
Yes, but I have 2600 services and several hundred hosts. I see there is a bulk modification tool but it is an extra add on... I can write a script that can modify the Nagios configuration files.. but I fear that the configs will get overwritten by any change in the UI. Any ideas?
Re: Too many repeated emails for host or service down.
Posted: Tue Dec 22, 2020 11:21 am
by vtrac
Hi netagurion ,
I have asked my teammate and their suggestion was to setup "parent & child" relationship.
Parent-Child relationships help Nagios figure out host reach-ability. If the parent host is down, the child hosts will be considered unreachable.
Host/Service dependencies tell Nagios when to suppress the execution of checks and notifications. If the master service is down, Nagios can be configured to not execute further checks on dependent services/hosts, and/or to suppress sending notifications for the dependent services/hosts.
Here are couple links for Host and Service Dependencies:
https://assets.nagios.com/downloads/nag ... ncies.html
https://assets.nagios.com/downloads/nag ... ility.html
Another suggestion from one of our QA person was to setup the "PING" service dependency per host.
If "PING" service is DOWN or UNREACHABLE, then don't check (alert) all other services because of their dependencies.
Hope this helps!!
Vinh