Hi,
I have idoit 1.6.1 and I am trying to set up the notification module. For testing I set up 2 certificates with an upcoming threshold.
I created an notification with 2 certificates to monitor with only me only to report to. When running the controller I get 2 emails with the same correct content:
Connected to tenant: someone (1, user: admin)
[2015-11-19 11:12:24] INFO: Begin to notify…
[2015-11-19 11:12:24] INFO: Handling notification type "Gelagerte Objekte" [1].
[2015-11-19 11:12:24] INFO: Handling notification type "Ablauf einer Wartungs-/Garantiefrist" [2].
[2015-11-19 11:12:24] INFO: Handling notification type "i-doit Update" [3].
[2015-11-19 11:12:24] INFO: Handling notification type "Ablauf einer Kündigungsfrist" [4].
[2015-11-19 11:12:24] INFO: Handling notification type "Veränderte Objekte" [5].
[2015-11-19 11:12:24] INFO: Handling notification type "Unveränderte Objekte" [6].
[2015-11-19 11:12:24] INFO: Handling notification type "Lizenzablauf" [7].
[2015-11-19 11:12:24] INFO: Handling notification type "Freie Lizenzen" [8].
[2015-11-19 11:12:24] INFO: Handling notification type "CMDB-Status startet" [9].
[2015-11-19 11:12:24] INFO: Handling notification type "CMDB-Status endet" [10].
[2015-11-19 11:12:24] INFO: Handling notification type "Ablauf einer Zertifikatfrist" [11].
[2015-11-19 11:12:24] INFO: Handling notifications…
[2015-11-19 11:12:24] INFO: Handling notification "Ablauf #1" [10]…
[2015-11-19 11:12:24] INFO: Amount of Certificates: 2
[2015-11-19 11:12:24] INFO: Handling Object "Parallels Desktop 10 für Mac"…
[2015-11-19 11:12:24] INFO: Threshold date is: 2015-11-07 00:00:00
[2015-11-19 11:12:24] INFO: Threshold exceeded! Add certificate to the list.
[2015-11-19 11:12:24] INFO: Handling Object "wildcard.someone.de"…
[2015-11-19 11:12:24] INFO: Threshold date is: 2015-11-05 00:00:00
[2015-11-19 11:12:24] INFO: Threshold exceeded! Add certificate to the list.
[2015-11-19 11:12:24] INFO: Amount of certificate which match the criterias: 2
[2015-11-19 11:12:24] INFO: Sending message via email…
[2015-11-19 11:12:24] INFO: Sending message via email…
[2015-11-19 11:12:24] INFO: Handling notification type "Reportbasierte Benachrichtigung" [12].
[2015-11-19 11:12:24] INFO: Everything done.
Logging out
When creating a second notification with monitoring certification cert #2 and notification monitoring cert #1, I only get the notification of cert #2. It seems that it only reports with the highest notification ID. Same happened to me with "License expiration" Though the logging from the controller says otherwise.
Connected to tenant: someone (1, user: admin)
[2015-11-19 11:18:39] INFO: Begin to notify…
[2015-11-19 11:18:39] INFO: Handling notification type "Gelagerte Objekte" [1].
[2015-11-19 11:18:39] INFO: Handling notification type "Ablauf einer Wartungs-/Garantiefrist" [2].
[2015-11-19 11:18:39] INFO: Handling notification type "i-doit Update" [3].
[2015-11-19 11:18:39] INFO: Handling notification type "Ablauf einer Kündigungsfrist" [4].
[2015-11-19 11:18:39] INFO: Handling notification type "Veränderte Objekte" [5].
[2015-11-19 11:18:39] INFO: Handling notification type "Unveränderte Objekte" [6].
[2015-11-19 11:18:39] INFO: Handling notification type "Lizenzablauf" [7].
[2015-11-19 11:18:39] INFO: Handling notification type "Freie Lizenzen" [8].
[2015-11-19 11:18:39] INFO: Handling notification type "CMDB-Status startet" [9].
[2015-11-19 11:18:39] INFO: Handling notification type "CMDB-Status endet" [10].
[2015-11-19 11:18:39] INFO: Handling notification type "Ablauf einer Zertifikatfrist" [11].
[2015-11-19 11:18:39] INFO: Handling notifications…
[2015-11-19 11:18:39] INFO: Handling notification "Ablauf #1" [10]…
[2015-11-19 11:18:39] INFO: Amount of Certificates: 1
[2015-11-19 11:18:39] INFO: Handling Object "Parallels Desktop 10 für Mac"…
[2015-11-19 11:18:39] INFO: Threshold date is: 2015-11-07 00:00:00
[2015-11-19 11:18:39] INFO: Threshold exceeded! Add certificate to the list.
[2015-11-19 11:18:39] INFO: Amount of certificate which match the criterias: 1
[2015-11-19 11:18:39] INFO: Handling notification "Ablauf #2" [11]…
[2015-11-19 11:18:39] INFO: Amount of Certificates: 1
[2015-11-19 11:18:39] INFO: Handling Object "wildcard.someone.de"…
[2015-11-19 11:18:39] INFO: Threshold date is: 2015-11-04 00:00:00
[2015-11-19 11:18:39] INFO: Threshold exceeded! Add certificate to the list.
[2015-11-19 11:18:39] INFO: Amount of certificate which match the criterias: 1
[2015-11-19 11:18:39] INFO: Sending message via email…
[2015-11-19 11:18:39] INFO: Sending message via email…
[2015-11-19 11:18:39] INFO: Handling notification type "Reportbasierte Benachrichtigung" [12].
[2015-11-19 11:18:39] INFO: Everything done.
Is this a bug or did I do something wrong?