-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

We did the same and according to the IRC channel this macro has gone.
They reasoned that noone used it anyway and that there is an issue
when you cluster several icinga instances (each instance had its own
global counter, so collissions were possible). We now identify
notifications with host/service tupels.

There is just one problem with that: If you create an interface
independant to Icinga and if the interface is down for a while, it is
possible that you miss an OK, so the incident is never closed (until
the next incident happens). Of course it is possible to regularly
check the icinga state of each host/service in trouble, but that's a
workaround and not a solution.

It would be great if there was a way to synchronise host/service
states in an asynchronous manner. This would be even better than a
global counter. I wonder whether there already is a solution for this
scenario? Or did anyone already plan to create such a feature for
Icinga 2?

Best regards,
Denis

On 12/27/2014 01:02 AM, Barry Quiel wrote:
> Icinga1 had a notification number macro:
> 
> $HOSTNOTIFICATIONNUMBER$ $SERVICENOTIFICATIONNUMBER$
> 
> I don't see any Icinga2 doc on that macro. Was it not carried
> forward to Icinga2?
> 
> I can see that info in the web interface listed in the attempt
> column: 1/3(#112)
> 
> How can I get that data out to my notification handler?  I use it
> for auto ticket generation to prevent duplicate tasks for the same 
> notification. _______________________________________________ 
> icinga-users mailing list icinga-users@lists.icinga.org 
> https://lists.icinga.org/mailman/listinfo/icinga-users

- -- 
Adfinis SyGroup AG
Denis Simonet, Software Engineer

Keltenstrasse 98 | CH-3018 Bern
Tel. +41 31 550 31 11 | Direkt +41 31 550 31 16
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJUoQ4/AAoJEIlXKf8oUzMicMMH/iXyTxByS1BzS/JEmUqYrmfw
RNKt1IniZjIbO4Jq9ayehXum6aI1kn49YfnnIKhFUmIq1RaAcPKYgzqMFk4qFxsE
WMh70cHbC+6+sKYqyEn2yWxbN1x3NTwAtDxfBs8CKqQmRRdC6aLfsuEiYDPqcTCM
AaVHmxKUWvosC3pHRb8VpOfc8KBmZXYAfXaRRg7cK7GFQoPKMGjXYsHE+VQB4ASU
5EQGi4zhmXXtrsHm32mQUJOVtRl2fz3m2tlNG9CTPqMJw7jxqWWWwNTiqc7Lj0gV
YcPd1lc4KDRz2/TKlWBpBBCoDYlNAKtrM7gd91bhRBVxMFBfEFsXKOvWTUQUYl8=
=0JOj
-----END PGP SIGNATURE-----
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to