Hi all,
Apologies if anything of this nature has been mentioned before.
Although I think Zabbix agent is a great improvement over SNMP as it hugely simplifies things, I also think we've lost something very useful in the process, that is to be able to retrieve a sub-tree, rather than only individual items.
Where I think this would help the most, is when there are custom items which could all be returned using one script, rather than having to run the same command again and again. (Please correct me if I'm wrong about the need to do that). I imagine it would also reduce network traffic in some cases.
For example checking MySQL replication elements could all be done with one script but as things stand I believe we have to run the MySQL 'show slave status' command one time for each Zabbix item we want to return. (Or implement some kind of caching system).
What I'm suggesting therefore is to allow a callout from the zabbix_agentd.conf, which can one return more than one item - presumably in JSON format.
Of course that would mean fairly major changes to the zabbix-agent, zabbix-server and zabbix-get sources, but I for one would be interested in helping make those changes.
Anyone else?
- Centsi.
Apologies if anything of this nature has been mentioned before.
Although I think Zabbix agent is a great improvement over SNMP as it hugely simplifies things, I also think we've lost something very useful in the process, that is to be able to retrieve a sub-tree, rather than only individual items.
Where I think this would help the most, is when there are custom items which could all be returned using one script, rather than having to run the same command again and again. (Please correct me if I'm wrong about the need to do that). I imagine it would also reduce network traffic in some cases.
For example checking MySQL replication elements could all be done with one script but as things stand I believe we have to run the MySQL 'show slave status' command one time for each Zabbix item we want to return. (Or implement some kind of caching system).
What I'm suggesting therefore is to allow a callout from the zabbix_agentd.conf, which can one return more than one item - presumably in JSON format.
Of course that would mean fairly major changes to the zabbix-agent, zabbix-server and zabbix-get sources, but I for one would be interested in helping make those changes.
Anyone else?
- Centsi.
Comment