I am running zabbix 3.4.2. Hosts are Linux and Windows. Zabbix is installed on centos 7.
Running Zabbix Agent's on 99% of hosts.
I am using host side scripting to discover the database. Now, I want to discover the tables inside of each discovered database. I have the logic in the script to accomplish this, but I do not know how to send the data back to zabbix in the correct json format.
Question 1 - can I do this in one low level discovery? If so, how do I format this in json correctly? Would someone mind providing an example of what the json should look like.
Question 2 - if this is not the correct method, what is the correct method? Host prototypes?
Examples\Direction on how to get this into zabbix would be very appreciated.
Running Zabbix Agent's on 99% of hosts.
I am using host side scripting to discover the database. Now, I want to discover the tables inside of each discovered database. I have the logic in the script to accomplish this, but I do not know how to send the data back to zabbix in the correct json format.
Question 1 - can I do this in one low level discovery? If so, how do I format this in json correctly? Would someone mind providing an example of what the json should look like.
Question 2 - if this is not the correct method, what is the correct method? Host prototypes?
Examples\Direction on how to get this into zabbix would be very appreciated.
Comment