I need some help with a simple zabcon command to change an item status to '0' (active). The couple of zabcon examples I've found seem to have the ability to do this but they are so complicated that I'm having a hard time just replicating that item.update() api call.
I have the hostid and item id so I think it should be as easy as something like:
+>item.update("22172", 0)
Any guidance/direction would be appreciated. Thanks.
I have the hostid and item id so I think it should be as easy as something like:
+>item.update("22172", 0)
Any guidance/direction would be appreciated. Thanks.
Comment