[2015-09-04 04:46:20 +0700] warning/PluginNotificationTask: Notification 
command for object 'yamato!check_cpu_load' (PID: 26622, arguments: 
'/etc/icinga2/scripts/mail-service-notification.sh') terminated with exit code 
2, output: Send options without primary recipient specified.
[2015-09-03 13:56:26 +0700] warning/PluginNotificationTask: Notification 
command for object 'joyoboyo.kincir.com!check_disks' (PID: 26079, arguments: 
'/etc/icinga2/scripts/whatsapp-service-notification.sh') terminated with exit 
code 2, output: usage: demos [-h] [-v] [-d] [--help-config] [-l 
phone:b64password | -c CONFIG]

Look at your logs, for mail notifications you didn't set any recipients.
For whatsapp you command use is not correct, please check you arguments for 
demos command.

04.09.2015, 05:54, "Dewangga Bachrul Alam" <dewangg...@xtremenitro.org>:
> Hello!
>
> I don't know what happens, but I just trace down the icinga2.log file
> and found interesting line.
>
> Any notification script, "sometimes" in random times, came with hang
> and/or errors.
>
> mail-{service,host}-notification
> http://fpaste.org/263439/44133459/raw
>
> whatsapp-{service,host}-notification
> http://fpaste.org/263441/33507814/raw
>
> Testbed: CentOS 7
> $ icinga2 --version| fpaste
> Uploading (1.2KiB)...
> http://ur1.ca/no06p -> http://paste.fedoraproject.org/263445/41335148
>
> This problem make the notification un-sync, sometimes I got only
> RECOVERY alert, sometimes I got only WARNING, and sometimes only got
> PROBLEM notification without RECOVERY.
>
> The scripts are verified running well, but sometimes it was broke by
> unknown reason. Any hints to tracking down the problem?
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users

------
 Романеев Василий
Мобильный: +7-987-636-62-67
skype romaneev
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to