I am using icinga 1. 6
Does above command work in icinga 1. 6

On Mon, 14 Jan 2019, 10:11 pm Ivo Kidze <ivo.ki...@duke.edu wrote:

> HI M.KANAKAIAH,
>
>
>
> Can you run the following command?
>
> icinga2 object list --type Notification --name * ULSD-sgpulsd-oracle01*
>
>
>
> Check the results
>
> user_groups =
>
> user =
>
>
>
> Wish you a wonderful day
>
>
>
> Kind Regards,
>
> Ivo Kidze
>
>
>
>
>
> *From:* icinga-users [mailto:icinga-users-boun...@lists.icinga.org] *On
> Behalf Of *kanny goud
> *Sent:* Monday, January 14, 2019 4:46 AM
> *To:* Icinga User's Corner <icinga-users@lists.icinga.org>
> *Subject:* [icinga-users] Notifications sending wrong contacts in
> icinga1.6
>
>
>
> 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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify2.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=dgcCbhTQC5FOfcTTyyyWzrG0xCoJ6uL-UHjFBI0nCjM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --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
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__notify.pl&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=dLhm7TMuuUAhZaaelXPoEPyMbTqxkar-G5Ayny5-yLE&m=dhlMujhvjZP1Eb4CCTMhUM7CKN8xi02KZR1d3TlUpnU&s=_pefiDlyIMir_3Z1AlqfhMW9YbOMhvpOOT5TuNLb-uM&e=>
> --hostname ULSD-sgpulsd-oracle01 --hostalias ULSD-sgpulsd-oracle01
> --hostaddress 165.204.21
>
>
>
> --
>
> M.KANAKAIAH
> 9959491677
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to