Is there any way I can get the metadata showed on AMC console via some api ?
I want to access properties like ‘available-bin-names’ or ‘expired-objects’ for each node programmatically.
Is there any way I can get the metadata showed on AMC console via some api ?
I want to access properties like ‘available-bin-names’ or ‘expired-objects’ for each node programmatically.
Yes, via the info api.
The info commands can be found here: Info Command Reference | Aerospike Documentation
From the python client you would use this API: http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.info
Other clients will also include a similar API.
BTW, the collectd plugin issues info commands without bothering with the full python client.
https://github.com/aerospike/aerospike-collectd/blob/develop/aerospike_plugin.py
The list of metrics is covered on the site in the deployment’s section reference manuals.