Ad Widget

Collapse

host discovery (prototype) can they be linked to a proxy ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • db100
    Member
    • Feb 2023
    • 61

    #1

    host discovery (prototype) can they be linked to a proxy ?

    can discovered host be linked to a proxy / proxy group:
    1. during discovery
    2. after discovery

    ?


    and also: if an host containing trapper and calculated items is linked to a proxy, will the calculated items be calcualted on the zabbix server while the trapper items re received by the proxy (and then sent to the server)? and can the trapper items be received both from proxies and server at the same time, basically , can a client using zabbix_send decide whether to send it to the proxy or the server? will both ways work ?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If your proxy does discovery, then hosts inherit that proxy, I think.
    If host is already monitored by a proxy, then all data is gathered by that proxy. You cannot send data to server instead of proxy. Your server will tell you that it has no knowledge about the host... It is because all monitoring duties are given over to proxy.

    Calculation is always done on server. Proxies just collect, they do not calculate anything.

    Comment

    • db100
      Member
      • Feb 2023
      • 61

      #3
      i see ... btw when i talk about discovery i mean LLD discovery based on some items output. in particular i have a psql item that returns some result from a query, which is then passed to a Discovery rule to create new Hosts from a prototype.

      are you saying that the Host that performs this LLD (the psql query essentially) should be monitored by that proxy in order for the discovered hosts to be also monitored by the proxy?

      and what can i do with already discovered hosts ? my guess is that it is too late and i cannot associate them to a proxy. would it be possible to achieve this at the DB level by manually changing the linkage to the proxy of the host within the postgres table ? or isnt it as simple as that ?

      thanks

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Host prototype has 2 options "inherit interface" or "custom interface"... custom allows you to set parameters for agent interface etc but I don't see any option to set proxy..
        And as it is based on a prototype, it will be overwritten, if you change something, that host does not become independent, it will always depend on prototype config.

        I have no options to verify this quickly, but if you change proxy settings for a host performing "discovery" and creating hosts based on prototype, then this will be reflected also in those discovered hosts (inheritance)...

        Comment

        • db100
          Member
          • Feb 2023
          • 61

          #5
          alright, so basically i need to change the proxy config on the "parent host" that discovers the dynamic hosts, and it will be propagated. that sounds workable.

          i will test that and let you know how that went

          Comment

          Working...