Hello
Can you show us your contacts.cfg file and also the relevant templates ?
this could be related to the time period or the way the contacts are
defined.
Regards
On 14/01/2019 11:45, kanny goud wrote:
HI Team,
we have few hosts in some locations and whenever hosts are down
notifications are sending wrong contacts and later sent to correct
contacts
We have added new contacts and removed the old one but still first
sent to old contacts whenever host down. .
i have checked the contact file and template file and i didn't give
the old contacts information
Please suggest us where i can check the default contacts.
host defination:
define host{
use ulsd-prod-server-sgp
host_name ULSD-sgpulsd-oracle01
alias ULSD-sgpulsd-oracle01
address 165.204.218.46
hostgroups ulsd-servers-2nd-sgp
contact_groups
Compute-EBC-NonGrid-Unix-incident,TCS_DB_Admin,dl.ulsd_alerts_infra
}
logfile :
Jan 11 09:48:04 s_local@cybvmon01 icinga: HOST NOTIFICATION:
regional_helpdesk;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 09:48:04 s_local@cybvmon01 nagios[10278]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 09:48:04 s_local@cybvmon01 icinga: HOST NOTIFICATION:
wcharry;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING CRITICAL
- Packet loss = 100%
Jan 11 09:48:04 s_local@cybvmon01 nagios[10286]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 09:48:04 s_local@cybvmon01 icinga: HOST NOTIFICATION:
yeohjj;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING CRITICAL -
Packet loss = 100%
Jan 11 09:48:04 s_local@cybvmon01 nagios[10294]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 09:48:04 s_local@cybvmon01 icinga: HOST NOTIFICATION:
cheongkw;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING CRITICAL
- Packet loss = 100%
Jan 11 09:48:04 s_local@cybvmon01 nagios[10302]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 09:48:05 s_local@cybvmon01 icinga: HOST NOTIFICATION:
GIS_Taiwan;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 09:48:05 s_local@cybvmon01 nagios[10310]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 09:48:05 s_local@cybvmon01 icinga: HOST NOTIFICATION:
samsu;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING CRITICAL -
Packet loss = 100%
Jan 11 09:48:05 s_local@cybvmon01 nagios[10318]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
the above contacts not given in contact group. please check the
definatiion
after two hours its sent correct one but it should send correct one
first right:
Jan 11 10:39:02 s_local@cybvmon01 icinga: HOST NOTIFICATION:
Compute-EBC-NonGrid-Unix_incident;ULSD-sgpulsd-oracle01;DOWN;host-notify2-by-incident;PING
CRITICAL - Packe
Jan 11 10:39:02 s_local@cybvmon01 nagios[19730]: nagios is running
notify2.pl <http://notify2.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.2
Jan 11 10:39:02 s_local@cybvmon01 nagios[19730]: opts{assignment}
value is Compute-EBC-NonGrid-Unix
Jan 11 10:39:12 s_local@cybvmon01 nagios[19730]: Ticket: INC0833463
Jan 11 10:39:12 s_local@cybvmon01 icinga: HOST NOTIFICATION:
dl.monitoring-tcs;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:12 s_local@cybvmon01 nagios[19736]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:12 s_local@cybvmon01 icinga: HOST NOTIFICATION:
dl.dba-admins;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:12 s_local@cybvmon01 nagios[19744]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:12 s_local@cybvmon01 icinga: HOST NOTIFICATION:
servicenowqa;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:12 s_local@cybvmon01 nagios[19752]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:12 s_local@cybvmon01 icinga: HOST NOTIFICATION:
servicenow;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:12 s_local@cybvmon01 nagios[19760]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:13 s_local@cybvmon01 icinga: HOST NOTIFICATION:
ULSDKDSOpsInfosys;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:13 s_local@cybvmon01 nagios[19768]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:13 s_local@cybvmon01 icinga: HOST NOTIFICATION:
dl.unix-admins;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:13 s_local@cybvmon01 nagios[19776]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:13 s_local@cybvmon01 icinga: HOST NOTIFICATION:
ITSD;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING CRITICAL -
Packet loss = 100%
Jan 11 10:39:13 s_local@cybvmon01 nagios[19784]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
Jan 11 10:39:13 s_local@cybvmon01 icinga: HOST NOTIFICATION:
dl.ulsd_alerts_infra;ULSD-sgpulsd-oracle01;DOWN;host-notify-by-email;PING
CRITICAL - Packet loss = 100%
Jan 11 10:39:13 s_local@cybvmon01 nagios[19792]: nagios is running
notify.pl <http://notify.pl> --hostname ULSD-sgpulsd-oracle01
--hostalias ULSD-sgpulsd-oracle01 --hostaddress 165.204.21
--
M.KANAKAIAH
9959491677
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users