To use Zabcon, run ‘zabcon’ (or zabcon.rb)

You can log into Zabbix API with:

> login <server> <username> <password>

Make sure that user has API access enabled in Zabbix administration section.

You can use configuration file to store connection information -

copy zabcon.conf.default to zabcon.conf and modify it according
to your Zabbix installation.