[ZBXNEXT-4293] Set trigger for the end date field of the HW warranty in the inventory Created: 2017 Dec 22  Updated: 2018 May 27

Status: Reopened
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.0.0alpha1
Fix Version/s: None

Type: Change Request Priority: Critical
Reporter: Carlos Eduardo do Nascimento Assignee: Unassigned
Resolution: Unresolved Votes: 5
Labels: frontend, triggers, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Capturar.PNG     PNG File HW expiry item.PNG     PNG File HW expiry trigger.PNG    

 Description   

Set trigger for the end date field of the HW warranty in the inventory.
This will allow as the end of an equipment warranty is approached, an alert can be generated about the problem.



 Comments   
Comment by Ingus Vilnis [ 2018 Jan 02 ]

This can be done already with the existing functionality.
You need a trapper item and a trigger. No manual entries in the HW inventory field though.

  1. Create a trapper item.
  2. Make sure you send the item value as UNIX timestamp and display the unit as unixtime
  3. Create a trigger for this item which takes the unixtime value of the trapper item and compare it to the current time. Then alert if the change is less than your desired time period in seconds. As example 14 days.
    {Template ZBX Test:hw.warranty.last()} - {Template ZBX Test:hw.warranty.now()} < 1209600
    

Comment by Valdis Murzins [ 2018 Feb 19 ]

Closing, as solution to the problem is proposed.

If the problem is still present, please, reopen the issue.

Comment by Carlos Eduardo do Nascimento [ 2018 May 27 ]

Ok, porém de onde você está coletando o vencimento da garantia do Hardware?

Não seria mais fácil, coletar esta informação do inventário?

Em vez de popular o inventário automáticamente, esta informação é populada manualmente, e usa esta informação para gerar alertas no próprio zabbix.

 
Okay, but where are you collecting the warranty expiration from Hardware?

Is not it easier to collect this inventory information?

Instead of populating the inventory automatically, this information is populated manually, and uses this information to generate alerts in zabbix itself.

Generated at Sat Apr 20 16:50:54 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.