What I am trying to achieve: monitor our printers' toner levels and send an alert when the toners are empty but I also want to include the toner part number (because there are many different types) in the alert.
How I am trying to achieve this: created a trigger inside a template with the name "Black toner cartridge is empty. Replacement {ITEM.VALUE2} required." with the following expression: {Template - Printer - Canon iR-ADV C5535 C5550 C5560:Toner_Level-Black.last(0)}=0 and {Template - Printer - Canon iR-ADV C5535 C5550 C5560:Toner_Cartridge-Black.prev()}<>0. I have an item (Toner_Cartridge-Black) in the template that gets the toner part number via SNMP.
The problem: when showing the alert on the dashboard, the value of the toner part number is truncated and shows up as "NPG-71/NPG-71L..." instead of "NPG-71/NPG-71L Black Toner"
Question: is my method the best way of achieving what I want or is there a better way? If it's the best way to do this, then how can I fully show the toner part number and not have it truncated?
How I am trying to achieve this: created a trigger inside a template with the name "Black toner cartridge is empty. Replacement {ITEM.VALUE2} required." with the following expression: {Template - Printer - Canon iR-ADV C5535 C5550 C5560:Toner_Level-Black.last(0)}=0 and {Template - Printer - Canon iR-ADV C5535 C5550 C5560:Toner_Cartridge-Black.prev()}<>0. I have an item (Toner_Cartridge-Black) in the template that gets the toner part number via SNMP.
The problem: when showing the alert on the dashboard, the value of the toner part number is truncated and shows up as "NPG-71/NPG-71L..." instead of "NPG-71/NPG-71L Black Toner"
Question: is my method the best way of achieving what I want or is there a better way? If it's the best way to do this, then how can I fully show the toner part number and not have it truncated?
Comment