Am 04.09.2015 um 04:52 schrieb Dewangga Bachrul Alam:
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
Please paste the content of these online services directly to the mail
body. Not everyone got their browsers involved when reading mails. And
it's more readable to get the full idea about it.
The output of your notification script calls leads to faulty parameters
provided (or not provided) by your host/service or user objects used
inside the notifications, then invoking the notification command.
Therefore I suggest to add an example host/service, its notification
object as well as the notification command definition. I guess somewhere
a custom attribute is not set, or something else is happening.
Kind regards,
Michael
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
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users