SNMP Traps sending two emails to same person
Posted: Mon Aug 06, 2018 11:19 am
Hi
I can not figure where it's set up to send two emails, but i think i see it in the nagios.log. doing the 2 emails, then i checked the service and i do not see that user listed twice
can you help? Thank you in advance
(I had to disguise hostname and email recipient)
[1533569440] SERVICE NOTIFICATION: ussername;hostname.xxx.net;SNMP Traps;CRITICAL;xi_service_notification_handler;Accelerator Board Status Change (3038): Cache module board status is now 3 for board located in Slot 0. / sysName (OCTETSTR):hostname.xxx.net enterprises.232.11.2.11.1 ():8 enterprises.232.3.2.2.1.1.20.0 ():Slot 0 enterprises.232.3.2.2.1.1.2.0 ():39 enterprises.232.3.2.2.2.1.1.0 ():0 enterprises.232.3.2.2.2.1.11.0 ():PAAVP9SXZCZK enterprises.232.3.2.2.2.1.12.0 ():524288 enterprises.232.3.2.2.2.1.2.0 ():3 enterprises.232.3.2.2.2.1.5.0 ():2
[1533569440] SERVICE NOTIFICATION: username;hostname.xxx.net;SNMP Traps;CRITICAL;notify-service-by-email;Accelerator Board Status Change (3038): Cache module board status is now 3 for board located in Slot 0. / sysName (OCTETSTR):hostname.xxx.net enterprises.232.11.2.11.1 ():8 enterprises.232.3.2.2.1.1.20.0 ():Slot 0 enterprises.232.3.2.2.1.1.2.0 ():39 enterprises.232.3.2.2.2.1.1.0 ():0 enterprises.232.3.2.2.2.1.11.0 ():PAAVP9SXZCZK enterprises.232.3.2.2.2.1.12.0 ():524288 enterprises.232.3.2.2.2.1.2.0 ():3 enterprises.232.3.2.2.2.1.5.0 ():2
I even looked in the file on the server for it
define service {
host_name hostname.xxx.net
service_description SNMP Traps
use xiwizard_passive_service
max_check_attempts 1
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts username
stalking_options n
_xiwizard passiveobject
register 1
}
I can not figure where it's set up to send two emails, but i think i see it in the nagios.log. doing the 2 emails, then i checked the service and i do not see that user listed twice
can you help? Thank you in advance
(I had to disguise hostname and email recipient)
[1533569440] SERVICE NOTIFICATION: ussername;hostname.xxx.net;SNMP Traps;CRITICAL;xi_service_notification_handler;Accelerator Board Status Change (3038): Cache module board status is now 3 for board located in Slot 0. / sysName (OCTETSTR):hostname.xxx.net enterprises.232.11.2.11.1 ():8 enterprises.232.3.2.2.1.1.20.0 ():Slot 0 enterprises.232.3.2.2.1.1.2.0 ():39 enterprises.232.3.2.2.2.1.1.0 ():0 enterprises.232.3.2.2.2.1.11.0 ():PAAVP9SXZCZK enterprises.232.3.2.2.2.1.12.0 ():524288 enterprises.232.3.2.2.2.1.2.0 ():3 enterprises.232.3.2.2.2.1.5.0 ():2
[1533569440] SERVICE NOTIFICATION: username;hostname.xxx.net;SNMP Traps;CRITICAL;notify-service-by-email;Accelerator Board Status Change (3038): Cache module board status is now 3 for board located in Slot 0. / sysName (OCTETSTR):hostname.xxx.net enterprises.232.11.2.11.1 ():8 enterprises.232.3.2.2.1.1.20.0 ():Slot 0 enterprises.232.3.2.2.1.1.2.0 ():39 enterprises.232.3.2.2.2.1.1.0 ():0 enterprises.232.3.2.2.2.1.11.0 ():PAAVP9SXZCZK enterprises.232.3.2.2.2.1.12.0 ():524288 enterprises.232.3.2.2.2.1.2.0 ():3 enterprises.232.3.2.2.2.1.5.0 ():2
I even looked in the file on the server for it
define service {
host_name hostname.xxx.net
service_description SNMP Traps
use xiwizard_passive_service
max_check_attempts 1
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts username
stalking_options n
_xiwizard passiveobject
register 1
}