Discussion:
Distributed monitor/collector not work:zenhub username/password combination is incorrect
cloud stack
2013-03-18 09:13:05 UTC
Permalink
cloud stack [http://community.zenoss.org/people/cloudstack] created the discussion

"Distributed monitor/collector not work:zenhub username/password combination is incorrect"

To view the discussion, visit: http://community.zenoss.org/message/72432#72432

--------------------------------------------------------------
hi all,


I am now working with zenoss in distributed environment , all master and collectors running on Centos with zenoss version 4.2.2 .

After config a collector ,following instructions in this forums, I restart zenoss service ,

Then I tail the zenoss status log file , got below errors :


-     -     -     -     -     -     -     -     -     -     Part one

INFO                  zen.zenstatus:         Connecting to 192.168.XXX.XXX:8789
WARNING         zen.pbclientfactory: Cancelling attempts to connect
CRITICAL          zen.pbclientfactory: zenhub username/password combination is incorrect!
ERROR             zen.zenstatus:         Timeout connecting to zenhub: is it running?

-     -     -     -     -     -     -     -     -     -     Part two
INFO                zen.maintenance:        Performing periodic maintenance
WARNING       zen.zenstatus:              No service named 'EventService': ZenHub may be disconnected
ERROR           zen.maintenance:         Maintenance failed. Message from hub: ZenHub is down
ERROR           zen.collector.config:      Task configLoader configure failed: ZenHub is down


I try a few times ,but still got error messages as above .

Could any one give me hit for solve this problem?

thanks in advance !
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72432#72432]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-03-19 03:21:00 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Distributed monitor/collector not work:zenhub username/password combination is incorrect"

To view the discussion, visit: http://community.zenoss.org/message/72440#72440

--------------------------------------------------------------
cloud stack:

In each of the performance daemon conf files on the collector uncomment the hub user and passwd entries and set them to what's in your $ZENHOME/etc/hubpasswd. Once done restart everything. :)

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72440#72440]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Nathan Harris
2013-04-25 15:02:20 UTC
Permalink
Nathan Harris [http://community.zenoss.org/people/nathan.harris] created the discussion

"Re: Distributed monitor/collector not work:zenhub username/password combination is incorrect"

To view the discussion, visit: http://community.zenoss.org/message/72968#72968

--------------------------------------------------------------
Excellant this fixed the issue for me, only problem is that I am now bald :)

Just to make it clear to other users the hubpassword file is the one on the master not the collector.

working a treat now
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72968#72968]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-04-25 15:14:55 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Distributed monitor/collector not work:zenhub username/password combination is incorrect"

To view the discussion, visit: http://community.zenoss.org/message/72969#72969

--------------------------------------------------------------
Nate:

I hate it when that happens! :p

--Shane Scott (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72969#72969]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
PaVan Jakati
2013-06-20 14:55:56 UTC
Permalink
PaVan Jakati [http://community.zenoss.org/people/PaVan] created the discussion

"Re: Distributed monitor/collector not work:zenhub username/password combination is incorrect"

To view the discussion, visit: http://community.zenoss.org/message/73697#73697

--------------------------------------------------------------
To summarize Shane Sir's Answer :

1: On Zenoss Master Server
2: Run :  cat $ZENHOME/etc/hubpasswd
3: On Zenoss Collector
4: Go to /opt/zenoss/etc : Run cd /opt/zenoss/etc
5:  Below are performace daemons


1: zenmodeler
2: zenwin
3: ZenWinPerf
4: zenperfsnmp
5: zenping
6: zenstatus
7: zenjmx
8: zencommand
9: zeneventlog
10: zenprocess
11:zentrap

6: Vi each of above daemon conf file . Ex : vi zenmodeler.conf
7: Uncomment below lines .
*hubusername admin*
*                       hubpassword ****************

8: Fill above **** with the content seen at step 2 .*
*
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73697#73697]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...