M
M
Maxim Yaroshevich2017-12-14 14:34:14
Zabbix
Maxim Yaroshevich, 2017-12-14 14:34:14

How to receive reports by mail in Zabbix?

Question: there are a number of network printers in Zabbix, all printer data is visible. There is a desire to receive once a month a report on the volume of printing by mail - I have not yet found how to implement it - it is desirable to receive the printed volume for the month and the total number of printed pages. How can this be implemented? In principle, this can be done with a bash script, but there is a desire to implement it from Zabbix - to centralize all monitoring in one place.
Zabbix 3.4.4, Ubuntu 16.04.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2017-12-19
@Z1odeypnd

Good afternoon.
There are 2 options:
1. Collect this data from the Zabbix database with a script and send it to the mail.
2. Inside Zabbix, attach a "temporary" trigger to these metrics, i.e. using trigger functions like dayofmonth and time .
Those. the trigger for the 1st day of the month, midnight would look something like this:

{имя_вашего_хоста_или_шаблона:имя_метрики.dayofmonth()}=1 AND {имя_вашего_хоста_или_шаблона:имя_метрики.time()}=000000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question