ZABBIX Forums  
  #1  
Old 04-05-2012, 23:45
dale dale is offline
Junior Member
 
Join Date: Oct 2011
Posts: 26
Question discovery action to assign a host to a proxy

I would like to configure a zabbix proxy per /24 network.

I'll have each host check for the existence of a machine named zabbix-<my 3rd octet>, and if it is found, modify the zabbix_agentd.conf and insert that hostname in front of the default server.

For example a host with IP 10.10.183.1 gets:
Code:
Server=zabbix-183.domain.com,zabbix.domain.com
However, there doesn't seem to be a Discovery Action Operation available to assign a host to a proxy.

Is there some way to assign a host to a proxy using discovery?
Reply With Quote
  #2  
Old 08-05-2012, 16:20
dale dale is offline
Junior Member
 
Join Date: Oct 2011
Posts: 26
Thumbs up alternate solution

I found out the hard way, that if you assign an auto-discovery rule to a proxy then the hosts are assigned to that proxy automatically. That's handy if your hosts know about the proxy.

However, if all those hosts are already known, and the proxy is not listed as the Server in the zabbix_agentd.conf, then once those hosts are rediscovered the agents will go 'unreachable' and your pager will explode.

So, if you use autodiscovery, disable the zabbix {Template_Linux:status.last(0)}=2 trigger during a migration to a new proxy and do it in a timely fashion.
Reply With Quote
Reply

Tags
discovery action, proxy

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:38.