Hi,
I'm trying to auto discover a net of hosts running zabbix_agentd and I've run into some problems I hope someone has answers to:
1.
I have to run my agents on another port than the default. Doing auto discovery isn't a problem but when I have an action adding them they get added with the default port, thus I have to manually edit each host basically rendering the auto discovery useless.
Is this a bug in zabbix to be reported or can I configure zabbix to add with the port it discovered on?
2.
All my hosts have three names, one for each nic and one being logical, ie db1-25 for one group and fw1-25 for another. When zabbix auto discovers these are they added with "hostname -f" of the host, not "hostname" which I've specified in the agentd config.
Is there a way to force zabbix to use the name I have in agentd_config or will I have to manually rename all these?
3.
My groups of hosts are unfortunately mixed in the network, which I agree sucks but I can't do anything about it. When I discover a host with a hostname of db1 for example I want to do "add to group database servers, link with template_database" but it doesn't seems possible to do regexps like "db[0-9]" in the actions. Or is it?
I'm trying to auto discover a net of hosts running zabbix_agentd and I've run into some problems I hope someone has answers to:
1.
I have to run my agents on another port than the default. Doing auto discovery isn't a problem but when I have an action adding them they get added with the default port, thus I have to manually edit each host basically rendering the auto discovery useless.
Is this a bug in zabbix to be reported or can I configure zabbix to add with the port it discovered on?
2.
All my hosts have three names, one for each nic and one being logical, ie db1-25 for one group and fw1-25 for another. When zabbix auto discovers these are they added with "hostname -f" of the host, not "hostname" which I've specified in the agentd config.
Is there a way to force zabbix to use the name I have in agentd_config or will I have to manually rename all these?
3.
My groups of hosts are unfortunately mixed in the network, which I agree sucks but I can't do anything about it. When I discover a host with a hostname of db1 for example I want to do "add to group database servers, link with template_database" but it doesn't seems possible to do regexps like "db[0-9]" in the actions. Or is it?
Comment