You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-08-08 21:41:47

raiden86
Guest
Registered: 2018-08-08
Posts: 7

Cartridge Notification not Working

Hi to all!

I´m working in IT at Argentina´s Police School. We use GLPI 9.2.1 for assistance. I have configured all the tickets implementation, including emails notifications for our department and for the infrastructure deparment (we have two identities)

I just have implemented the inventory tab, and i´m fancing a problem with the cartridge notifications.

I configured all the printers, all the cartridges but, when I want to send an email notification when a cartridge is < 2, nothing happen.

In the automatic notifications, I get:"Acción abortada" (Action aborted in English).

If I check the cartbridge, I see a legend that said: "Alert Sent at 2018-08-08 13:45"

I configured the automatic notifications and notification like "close tickets" or "open Tickets". So, I cannot make a mistake in the configuration.

But I cannot make it work.

As I said, the rest of the notificacions (open ticket, update ticket, comment, task, close ticket) are working well.

Any ideas?

BTW, I´m using linux, ubuntu 1604

Thanks in advance

Offline

#2 2018-08-13 09:44:00

KKAdmin
Guest
From: Germany
Registered: 2010-03-05
Posts: 866

Re: Cartridge Notification not Working

1. It works in my configuration. (ubuntu 1604 too)
2. I think there is a bug, but only for the log function. I got also the message (action aborted) in the log.
3. For this notification there is something strange. Don't change this setting after you begin your test! I believe a problem which occurs if you change the recipient during your test https://github.com/glpi-project/glpi/issues/2519
4. Now i describe how to use / test this function (not easy as new ticket, task wink.....)
4-1. Set a cartridge "franz" to a value of 4.
4-2. Run the cartridge task
4-3. store x cartridge "franz" so you have 6 or something in stock (new 6)
4-4. now you give the cartridges to the printer (install cartridge) until you have only 2 (new 2)
4-5 Run the cartridge task
4-6 You get mail wink. (Don't change the notification settings during your test.)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.2.3 /Ubuntu 16.04.4 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.30-0ubuntu0.16.04.1 - MySQL 5.7.22-0ubuntu0.16.04.1

Offline

#3 2018-08-13 17:20:50

raiden86
Guest
Registered: 2018-08-08
Posts: 7

Re: Cartridge Notification not Working

Thanks for the reply!

After made changes that I forgot, I get it work. In my case, I think it´s something in who will recieve the notification email.

If I put "administrator", I get it work. But, when I selected  "Entity Administrator", I couldnt get it work.

Weird, but works..

Thanks again for the reply.

Offline

#4 2018-08-22 16:12:36

colttt
Guest
From: Germany
Registered: 2016-07-27
Posts: 6

Re: Cartridge Notification not Working

Hello, I try that, and it still doesn't work.

The recipients for the cartridge notification are Administrator, Profile: Super-Admin but I got nothing. sad

Offline

#5 2018-08-22 16:44:58

raiden86
Guest
Registered: 2018-08-08
Posts: 7

Re: Cartridge Notification not Working

colttt wrote:

Hello, I try that, and it still doesn't work.

The recipients for the cartridge notification are Administrator, Profile: Super-Admin but I got nothing. sad

Do you see "last Execution"?

https://imageshack.com/a/img921/9384/bZ6vob.png

The config that I have is:

https://imageshack.com/a/img923/8413/MzPt51.png

Offline

#6 2018-08-29 11:15:18

colttt
Guest
From: Germany
Registered: 2016-07-27
Posts: 6

Re: Cartridge Notification not Working

hi raiden86,

thanks for that, I've the the config and execution works also fine, but I got no notification

Offline

#7 2018-08-29 17:10:03

raiden86
Guest
Registered: 2018-08-08
Posts: 7

Re: Cartridge Notification not Working

colttt wrote:

hi raiden86,

thanks for that, I've the the config and execution works also fine, but I got no notification

Try to select only "administrator" in destination. Then, go to administration > Entity > your entity > notifications

I have this configuration:

https://imageshack.com/a/img922/4325/V12zqI.png

Try this!

Hope it help!

Offline

#8 2018-09-03 14:36:46

colttt
Guest
From: Germany
Registered: 2016-07-27
Posts: 6

Re: Cartridge Notification not Working

ohh yes.. thats it! thanks!
now I can test it and late I can ajust that

Offline

#9 2018-09-03 15:15:00

raiden86
Guest
Registered: 2018-08-08
Posts: 7

Re: Cartridge Notification not Working

Great!
If you want to use administrator entity, I found a solution but you have to code. It's simple, but you need access to the glpi installation.

Regards

Offline

Board footer

Powered by FluxBB