I'm currently writing an REST API for our Zabbix server
to easily create & update items in similar fashion to how Graphite works.
I am aware there is already an API available for zabbix but it doesn't support updating items values.
I'm also aware that I could use zabbix_sender for this purpose but found
this to be unreliable in our environment, as well as similar implementations of it created in Perl & PHP.
I know what I'm asking is frowned upon in the zabbix community & that
future releases of zabbix could potentially break my API but I am prepared to deal with that.
I found that for numerical data I need to update the history table as well
as updating the "lastvalue, lastclock & prevvalue" fields in the items table.
My question is : What all do I need to insert/update in the database to track an item without breaking zabbix?
to easily create & update items in similar fashion to how Graphite works.
I am aware there is already an API available for zabbix but it doesn't support updating items values.
I'm also aware that I could use zabbix_sender for this purpose but found
this to be unreliable in our environment, as well as similar implementations of it created in Perl & PHP.
I know what I'm asking is frowned upon in the zabbix community & that
future releases of zabbix could potentially break my API but I am prepared to deal with that.
I found that for numerical data I need to update the history table as well
as updating the "lastvalue, lastclock & prevvalue" fields in the items table.
My question is : What all do I need to insert/update in the database to track an item without breaking zabbix?