TECHZEN Zenoss User Community ARCHIVE  

Multiple zenhub found "attach zenhub" with 6.3.2-1

Subject: Multiple zenhub found "attach zenhub" with 6.3.2-1
Author: Daniel Vogel
Posted: 2020-01-20 03:26

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
------------------------------


Subject: RE: Multiple zenhub found "attach zenhub" with 6.3.2-1
Author: Michael Rogers
Posted: 2020-01-20 12:02

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
------------------------------


Subject: RE: Multiple zenhub found "attach zenhub" with 6.3.2-1
Author: Daniel Vogel
Posted: 2020-01-22 02:17

Michael,

Yes, it works. I changed my scripts.

Thanks,
Daniel

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


< Previous
zensendevent with 6.1.0
  Next
Automate Resetting of IP Address for Device
>