Mar 23, 2011 3:27 AM
Distributed Monitoring for Zenoss Core 3.x
-
Like (0)
Hi all,
Is there any documents for Distributed monitoring for Zenoss Core 3.x ? What I have were for Zenoss 2.4.x and it corrupted my exisitng zenoss server.
Would appreciate all the help if any.
Did you try the Zenpack?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Hi James,
I did tried this and it wasn't working.. Maybe I missed something out. Will
try it out again..
Thanks .
Hi James,
After following the document, I tried installing the necessary Zenpack but I am given this error.
WARNING:ZEO.zrpc:(18707) CW: error connecting to ('localhost', 8100): ECONNREFUSED
I have tried editing the zeo.conf and changed the localhost to an ip address but still it's the same error. What other config file should I be concentrating on ? I do not find this anywhere else ?
Could it be mysql permissions that i did not set?
Please do enlighten me.
Thank you.
I'm sorry, I don't use distributed monitoring so I can't really be more help than to point you to the zenpack that says it works with v3. Maybe Egor will comment.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
I'm not sure about your specific error, but I did wade through setting up distributed collectors recently. I don't have a formal how to, but here are the high level steps from the notes I took. There maybe *better* ways to do it, but these were the steps I followed, and so far it appears to be working.
ZenPacks.community.DistributedCollectors
on your main serversudo su - zenoss
mkdir ~/.ssh
ssh-keygen -t rsa -f ~/.ssh/id_rsa -P ""
chmod 700 ~/.ssh
chmod go-rwx ~/.ssh/*
cp ~/.ssh/id_rsa.pub /tmp/
chmod a+r /tmp/id_rsa.pub
In a nutshell, those were the steps I took.
Thanks a lot for you post, dpetzel!
After folowing this steps I get it working!
One question: After restarting zenoss on remote collector, I can't access it from the web browser no more. Is this correct?
That is correct, after the restart a few daemons are disabled, and your 'master' server becomes the only UI presence. It will communicate with the remote collectors to fetch the data it needs
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?
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?
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?
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:
[zenoss@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:
[zenoss@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.
since zenhub is running on your master (per the output) this sounds like a connectivity issue:
Can you confirm 8789 is opened from your collector to your master (tcpdump verification would be great)
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||