Configuration & Administration

Expand all | Collapse all

Multiple zenhub found "attach zenhub" with 6.3.2-1

  • 1.  Multiple zenhub found "attach zenhub" with 6.3.2-1

    Posted 01-20-2020 02:26 AM
    Hi

    With Zenoss core 6.3.2-1, something has changed.

    Sample with create event:
    [zenoss@scout-zen01 z]$ serviced service attach zenhub /opt/zenoss/bin/zensendevent -d scoutzen01 -s Info -c /Scout/ZenossAlive "Zenoss Alive"
    Name ServiceID DepID/Path
    zenhub 4gzzxddni72nzfw9u10aehda4 ABC Scout/Zenoss.core/Zenoss/Collection/localhost/zenhub
    zenhubworker 2w4jbqfrnl3fk7tk59k12yqka ABC Scout/Zenoss.core/Zenoss/Collection/localhost/zenhubworker
    multiple results found; select one from list
    multiple results found; select one from list


    Sample with ZenPack development environment:
    [zenoss@scout-zen01 z]$ zenhub
    Name ServiceID DepID/Path
    zenhub 4gzzxddni72nzfw9u10aehda4 ABC Scout/Zenoss.core/Zenoss/Collection/localhost/zenhub
    zenhubworker 2w4jbqfrnl3fk7tk59k12yqka ABC Scout/Zenoss.core/Zenoss/Collection/localhost/zenhubworker
    multiple results found; select one from list
    multiple results found; select one from list

    How can I fix this?

    Thanks,
    Daniel

    ------------------------------
    Daniel Vogel
    IT Infrastructure Architect
    ABC Systems AG
    Schlieren
    ------------------------------


  • 2.  RE: Multiple zenhub found "attach zenhub" with 6.3.2-1

    Posted 01-20-2020 11:02 AM
    Daniel,

    You can't really "fix" it as there's nothing to fix.

    As of 6.3, the zenhub worker processes have been moved out of the zenhub container and into their own zenhubworker containers.  Instead of controlling the number of zenhub workers via the zenhub.cfg, you can now scale them directly from Control Center by increasing their instance count.  The upside is that now, instead of your worker processes running on whichever host the zenhub container resides, they can now run on any delegate host in the pool.

    This is detailed in the 6.3.2 release notes under the heading "Zenhub scaling enhancements."

    If you need to attach to a zenhub container, you can substitute the ServiceID in your attach command.

    ------------------------------
    Michael Rogers
    Zenoss
    ------------------------------



  • 3.  RE: Multiple zenhub found "attach zenhub" with 6.3.2-1

    Posted 01-22-2020 01:17 AM
    Michael,

    Yes, it works. I changed my scripts.

    Thanks,
    Daniel

    ------------------------------
    Daniel Vogel
    IT Infrastructure Architect
    ABC Systems AG
    Schlieren
    ------------------------------