I have a script which is very expensive to run (lots of CPU cycles) and i need to extract about 60 monitoring variables from it in real time. Dumping that into text file and grep-ing it is not an option because data is a real time absolute counter which changes every second and zabbix suppose to display data per second graph. Cronjob dump of the parameters to the text file makes graph to be inacurate because cronjob does not run at the same time as zabbix agent gathering data.
Is there any way to combine those 60 variables somehow so zabbix-agent would run the script only once to extract all of them?
For example script dumps all variables as comma separated list and agent transfers all of them to the server in one batch:
variable.name=NN, variable.name2=NN,variable.name3=NN et cetera.
Is there any way to combine those 60 variables somehow so zabbix-agent would run the script only once to extract all of them?
For example script dumps all variables as comma separated list and agent transfers all of them to the server in one batch:
variable.name=NN, variable.name2=NN,variable.name3=NN et cetera.
Comment