I'm successfully using Zabbix database monitor to get single value as a result of a sql query. Is there a way to capture greater output from a sql query?
For example, currently I'm doing something like this:
select uptime from uptime_report;
Zabbix will capture the single value - what-ever uptime contains.
I want to do something like this:
select * from uptime_report;
And have Zabbix capture the entire output which will be multiple columns and rows - perhaps save to csv. Ultimately I want it to send the results via email.
Do I have to write external script for this?
Thanks.
For example, currently I'm doing something like this:
select uptime from uptime_report;
Zabbix will capture the single value - what-ever uptime contains.
I want to do something like this:
select * from uptime_report;
And have Zabbix capture the entire output which will be multiple columns and rows - perhaps save to csv. Ultimately I want it to send the results via email.
Do I have to write external script for this?
Thanks.
Comment