Hello to all,
I see that many suggestions is to tamplating system and changes of many items. I have similar problems and users which uses zabbix arround me too.
I am thinking about implementing of zabbix_cli frontend. Let us find the way how to do changes of many items by command similar to select. Select directly into db is not good because there is no integrity check. But maybe there could be some frontend which could do some work for us..
Maybe like this:
zabbix_cli create {item|trigger|action} params
zabbix_cli delete {item|trigger|action} params
zabbix_cli update {item|trigger|action} params
zabbix_cli cleanup {history|alerts|trends} params
zabbix_cli import {file.xml|image} params
zabbix_cli export {file.xml|image|history|trends}
file.xml could be very simple xml like
<create>
<item>
<param>
<param>
...
</item>
</create>
Sorry I am not xml expert. But today it is very hard to make usable items and templates repository. If we have some xml standard, we can do something better and usefull.
Please tell me what you are thinking about this. I know it is possible to do by bulkloader, but it is very simple now and does not meet all requierements for templates repository.
Basic question is, if this should be native zabbix part or addon developed externaly.
Thank you for answers !
If this could be usefull for somebody, please let me know. I will try to make some basic syntax and put it into wiki.
I see that many suggestions is to tamplating system and changes of many items. I have similar problems and users which uses zabbix arround me too.
I am thinking about implementing of zabbix_cli frontend. Let us find the way how to do changes of many items by command similar to select. Select directly into db is not good because there is no integrity check. But maybe there could be some frontend which could do some work for us..
Maybe like this:
zabbix_cli create {item|trigger|action} params
zabbix_cli delete {item|trigger|action} params
zabbix_cli update {item|trigger|action} params
zabbix_cli cleanup {history|alerts|trends} params
zabbix_cli import {file.xml|image} params
zabbix_cli export {file.xml|image|history|trends}
file.xml could be very simple xml like
<create>
<item>
<param>
<param>
...
</item>
</create>
Sorry I am not xml expert. But today it is very hard to make usable items and templates repository. If we have some xml standard, we can do something better and usefull.
Please tell me what you are thinking about this. I know it is possible to do by bulkloader, but it is very simple now and does not meet all requierements for templates repository.
Basic question is, if this should be native zabbix part or addon developed externaly.
Thank you for answers !
If this could be usefull for somebody, please let me know. I will try to make some basic syntax and put it into wiki.
Comment