Hello
I try to make loadable module to communicate with remote TCP server.
I start with Zabbix-agent module and got success.
Now i want to use that module with Zabbix-server, but can't understand how to get Host IP to subroutine.
So, i want to use Zabbix Item with key "server.get[params]" and server.get key must call server_get() subroutine, which connect to host's Agent interfaces IP (for example) and do something. But i won't to include IP as key parameter.
It's possible or that is bad idea?
I try to make loadable module to communicate with remote TCP server.
I start with Zabbix-agent module and got success.
Now i want to use that module with Zabbix-server, but can't understand how to get Host IP to subroutine.
So, i want to use Zabbix Item with key "server.get[params]" and server.get key must call server_get() subroutine, which connect to host's Agent interfaces IP (for example) and do something. But i won't to include IP as key parameter.
It's possible or that is bad idea?
Comment