T
T
timureh2017-02-15 00:36:07
PHP
timureh, 2017-02-15 00:36:07

Database sampling graph in zabbix?

There is a mysql database, it is necessary to periodically make a fixed selection from it (by means of zabbix or a php script and enter data into zabbix (raised on ubuntu), drawing a graph there. Then monitor the graph and when the graph reaches a certain condition (for example, exceeding some value) notify how to
correctly implement it in zabbix? example algorithm of actions, names of required functions

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-02-15
@plin2s

External scripts or trapper will definitely suit you .
In the first case, write a shell script that will collect data and be used in the external scripts mechanism. In the second - collect data as you like (for example, php script, as you wanted) and use zabbix sender to send data to trapper.
And don't forget to wrap it with an extra trigger for "no data". This is especially true if you decide to use a trapper.

T
Talik, 2017-02-15
@Talik0507

Judging by the fact that "Zabbix" appears in the tags, you have it in the park.
In this monitoring system, there is a data type "ODBC monitoring" ( https://www.zabbix.com/documentation/3.0/ru/manual...
Actually, you set up monitoring, Zabbix will do the rest

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question