Hello Zabbixers,
[I am posting this again, on behalf of a colleague, sorry if you already saw it]
I created a script that uses the APIs to, among other things, modify macro's values. For this, I use host.update method, and it works fine. However, each time I run the script, everything gets reset on the host:
- values already collected,
- alerts
- even LLD discovery elements
Of course, a few minutes later, everything comme back, but it would be hardly acceptable in a production setting...
Morover, as things seem to be working, I don't get the real difference between a 'host.update', and what would be a 'host.delete' followed by a 'host.create' ..
Anyway, is there some way of keeping already collected informations while using 'host.update' API call?
Thank you very much in advance...
Best Regards,
[I am posting this again, on behalf of a colleague, sorry if you already saw it]
I created a script that uses the APIs to, among other things, modify macro's values. For this, I use host.update method, and it works fine. However, each time I run the script, everything gets reset on the host:
- values already collected,
- alerts
- even LLD discovery elements
Of course, a few minutes later, everything comme back, but it would be hardly acceptable in a production setting...
Morover, as things seem to be working, I don't get the real difference between a 'host.update', and what would be a 'host.delete' followed by a 'host.create' ..
Anyway, is there some way of keeping already collected informations while using 'host.update' API call?
Thank you very much in advance...
Best Regards,
Comment