Discussion:
Distributed Monitoring for Zenoss Core 3.x
Michael Holler
2012-03-16 14:54:27 UTC
Permalink
Michael Holler [http://community.zenoss.org/people/apotheos] created the discussion

"Re: Distributed Monitoring for Zenoss Core 3.x"

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

--------------------------------------------------------------
So I hate to revive an old thread, but I tried the method described here several different times, at first following the instructions verbatim (twice), and in subsequent tries I attempted to troubleshoot myself. I suppose the first question is whether the method dpetzel described still works on the current version (v.3.2.1)? If so, I have tried multiple times following these instructions to the proverbial "T" and still no dice. After finishing the install, I'd get to a point where I'd have a Zenoss "master" box with a web interface, and a collector without one. SSH between the machines was working correctly (a `ps aux` on the system would show the master box SSH'd into the collector successfully). I added a remote monitor in on the Master's web interface, and attempted to add a device to be monitored by the remote collector (it showed up in the "monitor" drop-down in the add device menu) but the job to create it on the remote collector was stalled. I had tracked down the process on the collector server to "zendisc" and its creation process. I couldn't find anything wrong with the logs. Just to be thorough, I took down the firewall on both systems, and SELinux is (and has been since I installed the system) off.

My operating system is CentOS x86_64 and I installed Zenoss via RPM. Any ideas?
--------------------------------------------------------------

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

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]
dpetzel
2012-03-16 15:37:40 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Distributed Monitoring for Zenoss Core 3.x"

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

--------------------------------------------------------------
The sterps were written against 3.0, but quick review seems they are still revelant.

run a zenoss status on the master. At first read it sounds like zenjobs might not be running?
--------------------------------------------------------------

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

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]
m holler
2012-03-16 16:07:41 UTC
Permalink
m holler [http://community.zenoss.org/people/apotheos] created the discussion

"Re: Distributed Monitoring for Zenoss Core 3.x"

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

--------------------------------------------------------------
I'm in the process of reinstalling the Zenoss Master, it turns out I ended up breaking it out of desparation the last time I tried working with this. It's been a little bit. I'll respond definitively in a little bit, but if I recall correctly, Zenjobs didn't start by default, and I do remember starting it manually before. I'm not sure this is the problem though, since the collector box was getting an initalization command from the master through SSH. Or am I misunderstanding something?
--------------------------------------------------------------

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

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]
m holler
2012-03-16 17:31:08 UTC
Permalink
m holler [http://community.zenoss.org/people/apotheos] created the discussion

"Re: Distributed Monitoring for Zenoss Core 3.x"

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

--------------------------------------------------------------
Loading Image... Loading Image...
Alright, we're back in action. The above error happens when I'm trying to create a device to be monitored by the collector. The job is always active (the green spinny thing is next to it in the "jobs" section until I force kill it), but nothing shows up in the output. I was only able to get the above output because I noticed that navigating away from the page flashes a quick (i.e., a few tenths of a second) messages on the screen before it loads the new page. When you go back to it, the phantom output is gone.


*As for zenoss status, here's the output from the master:*

[***@localhost ~]$ zenoss status
Daemon: zeoctl program running; pid=8287
Daemon: zopectl program running; pid=8292
Daemon: zenhub program running; pid=8332
Daemon: zenjobs program running; pid=8369
Daemon: zenping program running; pid=8431
Daemon: zensyslog program running; pid=8470
Daemon: zenstatus program running; pid=8476
Daemon: zenactions program running; pid=8506
Daemon: zentrap program running; pid=8604
Daemon: zenmodeler program running; pid=8609
Daemon: zenrender program running; pid=8644
Daemon: zenperfsnmp program running; pid=8668
Daemon: zencommand program running; pid=8702
Daemon: zenprocess program running; pid=8729
Daemon: zenwin program running; pid=8766
Daemon: zeneventlog program running; pid=8804
Daemon: zenjmx program running; pid=8833

*And here's the output from the collector:*

[***@localhost ~]$ zenoss status
Daemon: zenping program running; pid=4713
Daemon: zensyslog program running; pid=4756
Daemon: zenstatus program running; pid=4758
Daemon: zentrap program running; pid=4796
Daemon: zenmodeler program running; pid=4836
Daemon: zenrender program running; pid=4862
Daemon: zenperfsnmp program running; pid=4895
Daemon: zencommand program running; pid=4921
Daemon: zenprocess program running; pid=4947
Daemon: zenwin program running; pid=4982
Daemon: zeneventlog program running; pid=5018
Daemon: zenjmx not running

Note that I've had the problem with zenjmx before, and fixed it by installing java and adding hubhost and monitor argments to /opt/zenoss/etc/zenjmx.conf, but I wanted to show the output as a fresh install exactly the way you described.
--------------------------------------------------------------

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

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]
dpetzel
2012-03-16 17:50:21 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Distributed Monitoring for Zenoss Core 3.x"

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

--------------------------------------------------------------
since zenhub is running on your master (per the output) this sounds like a connectivity issue:
http://community.zenoss.org/docs/DOC-10246 http://community.zenoss.org/docs/DOC-10246

Can you confirm 8789 is opened from your collector to your master (tcpdump verification would be great)
--------------------------------------------------------------

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

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]
Loading...