Hi,
I am getting duplicate alert mail for the same critical issues.
As per configuration it is suppose send alerts after 72 hours if any critical alert is triggered.
-------------------------------------------------------------------------------------------------------
Nagios Log
[1583399128] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5380.48 MB (75%) - free: 1787.07 MB (25%)
[1583399130] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5380.48 MB (75%) - free: 1787.07 MB (25%)
[1583399707] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5385.26 MB (75%) - free: 1782.28 MB (25%)
[1583399714] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5384.48 MB (75%) - free: 1783.07 MB (25%)
[1583399723] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5385.49 MB (75%) - free: 1782.06 MB (25%)
[1583399728] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5377.11 MB (75%) - free: 1790.44 MB (25%)
[1583399730] SERVICE NOTIFICATION: tp.dev.env;vwcapfisqcrbs2;Total Memory Usage;CRITICAL;notify-by-email;Memory usage: total:7167.55 MB - used: 5377.11 MB (75%) - free: 1790.44 MB (25%)
-------------------------------------------------------------------------------------------------------
Service Conf
define service{
host_name vwcapfisqcrbs2
service_description Total Memory Usage
check_command check_nt_memuse!60!75
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
check_period 24x7
notification_interval 4320
notification_period 24x7
notification_options c,r
contact_groups touchpoint
notifications_enabled 1
first_notification_delay 10
}
-------------------------------------------------------------------------------------------------------
contactgroups.cfg
define contactgroup{
contactgroup_name touchpoint
alias TP Env Team
members tp.dev.env
}
-------------------------------------------------------------------------------------------------------
contacts.cfg
define contact{
contact_name tp.dev.env
alias TP Environments
contactgroups touchpoint
host_notification_period 24x7
service_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
host_notification_commands host-notify-by-email
service_notification_commands notify-by-email
email [email protected]
}
-------------------------------------------------------------------------------------------------------
Let me know why I am getting this error, I have searched but unable to find the root cause.
When I try to send a custom alert from nagios portal [for the same critical alert] its not happening but its happening when nagios send the critical alert by itself.
Note: I have just given a single machine, this is happening for many machines for services.
Duplicate Email For the Critical Alert
Duplicate Email For the Critical Alert
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Duplicate Email For the Critical Alert
What version of nagios are you running? Are you using mod_gearman?
Can you also show the output of the following
Finally, is what is show the complete configuration for the service or is there also a template applied?
Can you also show the output of the following
Code: Select all
ps -ef|grep nagios.cfg-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Duplicate Email For the Critical Alert
I also winder if this is a similar issue that you were having last year at around this same time
https://support.nagios.com/forum/viewto ... =7&t=52812
https://support.nagios.com/forum/viewto ... =7&t=52812
Re: Duplicate Email For the Critical Alert
I am getting this load issue frequently I followed your steps to fix, But it will come again once in a month. How to fix it permanently ?
I am using Nagios core 4.0.8 may be that will be an issue.
If I want to upgrade from 4.0.8 to latest version , what all steps I have to take without any impact on our current infra.
How to do it safely. Please assist.
All client version is
NRPE - Nagios Remote Plugin Executor
Version: 3.2.1
Is there any conflict issue if i upgrade the Nagios core to latest version with the current NRPE version ?
I am using Nagios core 4.0.8 may be that will be an issue.
If I want to upgrade from 4.0.8 to latest version , what all steps I have to take without any impact on our current infra.
How to do it safely. Please assist.
All client version is
NRPE - Nagios Remote Plugin Executor
Version: 3.2.1
Is there any conflict issue if i upgrade the Nagios core to latest version with the current NRPE version ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Duplicate Email For the Critical Alert
It is possible, we have seen a lot of this go away in the latest versions of Nagios XItinut89 wrote:I am using Nagios core 4.0.8 may be that will be an issue.
Upgrade to the latest would be my suggestion
https://assets.nagios.com/downloads/nag ... ctions.pdf