You are not logged in.
I expected to get a notification for expired certificates, but I got none.
What I did:
I enabled notifications for certificates under front/notifications.php.
Sending a mail from ront/notificationmailingsetting.form.php works fine.
I created some Testcertificates with expiry dates one week ago, today, tomorrow and in one week.
I ran the job "certificate" from front/crontask.php manually.
Got no result, not even an entry in a log. Only the log of the task says "Action completed, fully processed". Under "Number" there is "0".
Any ideas where to look further?
Offline
OK, found a point under Administration ->Entities -> Notifications
I Enabled Certificates Notification there and set it on 30 days.
When I create a certificate now and give it a expiration date in the next days I get an entry in the log of the Automatic Action "certificate":
0 Wurzel-Einheit: Zertifikat 20-02-2019 läuft am Testcert 20 - 1 - 1234 ab.
But still no Mail goes out. And still nothing in the logs i viewed.
Offline
Got it. Under front/preferences.php:
"Notification for my changes" must be set to "yes".
Offline
I set exactly how you write, unfortunately it did not help me, I still do not receive e-mails (I get others about plugins, etc.) from certificates, domains, ... anyone has any idea?
Automatic action log:
2022-03-31 13:23 Start 0.000 seconds 0 Run mode: GLPI
Running 0.035 seconds 0 Główna jednostka: Certyfikat 2022-04-01 wygasł Cert TEST - 3587349586
End 0.056 seconds 1 Action completed, fully processed
Notification queue: empty
email: none
email log: no info
Last edited by glpiteneg (2022-03-31 14:40:46)
Offline
Please include GLPI version and any entries from "files/php-errors.log" around the time the notification tried to send.
Also, note that there are known issues with certificate and some other notifications that are sent to recipients like "Technician in charge" because the notifications are sent for groups of items and not individual items.
See:
https://github.com/glpi-project/glpi/issues/10507
That specific issue was fixed for GLPI 10 (currently in beta).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
GLPI 9.5.7 + FusionInventory 9.5+3.0
-----------
"files/php-errors.log" - is empty
Nice that it was corrected in 10 but I would need a fix on my version...
If you know how I would give instructions on how to send it even to a group (preferably pictorial), it would be great and probably not one person would benefit.
Last edited by glpiteneg (2022-04-01 15:08:12)
Offline
For older versions you would have to configure the notification recipients to be specific users/groups instead of the ones related to individual certificates.
https://glpi-user-documentation.readthe … tions.html
So, rather than "Technician in charge of the certificate" or "Group in charge of the certificate", you would replace them with specific groups or users that would receive all expiration alerts for all the certificates. In GLPI 10, you can switch it back to using the old recipient values since individual notifications would be sent for each affected certificate.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline