TECHZEN Zenoss User Community ARCHIVE  

Multiple daemons on remote collector [fixed @ #5]

Subject: Multiple daemons on remote collector [fixed @ #5]
Author: [Not Specified]
Posted: 2014-06-04 12:07

He there,

I was wondering if there is any possibility to add multiple instances of zencommand and/or zenperfsnmp to a remote collector, I've done already done it on the local collector but I can not get it to work on the remote collectors.

I would like to run zencommand and zenperfsnmp twice on the same remote collector, and be able to move a device onto both collectors via the webinterface.

Thanks in advance.

tz0r



Subject: Are you using Zenoss Core, or
Author: Chet Luther
Posted: 2014-06-23 09:43

Are you using Zenoss Core, or the commercial version of Zenoss In the latter case this is something that can easily be done from the web interface.



Subject: He Chet,
Author: [Not Specified]
Posted: 2014-06-27 07:20

He Chet,

I am very sorry for the late response but due to vacation I havent been able to reply.

Let me get into a bit more details here.

Previously I had the following setup:

Server1: The main Zenoss server running the mysql database together with 4 local zencommand collector for more scalability. collecting data in network 1
Server2: Remote collector #1 collecting data in network 2
Server3: Remote collector #2 collecting data in network 3

Because I had to put Zenoss into puppet ive thought of a new setup. Due to a slow web interface I decided to split the mysql database and the performance data on the main server and create 2 separate servers for them.

The current setup is:

Server 1: Main server running de mysql/zope/rabbitmq/webinterface of zenoss
Server 2: Remote collector #1 collecting data in network 1
Server 3: Remote collector #2 collecting data in network 2
Server 4: Remote collector #3 collecting data in network 3

Server 2 currently has 60886 rrd files and it sometimes gives a small queue from zencommand which resolves itself after 10 minutes. Due to this I would like to have a second zencommand instance on a remote collector, but I can only get a second zencommand instance to work on the same server where the webinterface is installed due to not being able to create a second distributed collector with the same hostname.

I hope this will enlighten a little, if you need anything else please let me know.

So I do understand how to create a second local collector on the main server running mysql/zope etc, but I would like to run a second zencommand instance on a remote collector.



Subject: I am running the free version
Author: [Not Specified]
Posted: 2014-06-27 07:22

I am running the free version of Zenoss 4.2.5



Subject: I've managed to get this to
Author: [Not Specified]
Posted: 2014-07-02 07:07

I've managed to get this to work, for those of you who would like to run extra daemons on a distributed collector hereby a simple explanation of what i've done.

- Configured a second network interface with a different IP adres as eth0:1
- Configured DNS for the machine (amc002)
- Created duplicate /etc/*.conf files for: zencommand, zenperfsnmp, zenrender, zenping, zenstatus, zenprocess
- Changed the monitor from the new .conf files from amc001 to amc002
- Changed logpath for the /etc configuration files to have a seperate logfile
- Created duplicate /bin/* files: zencommand2, zenperfsnmp2, zenrender2, zenping2, zenstatus2, zenprocess2 with the redirection to the right /etc/*.conf file
- Added http-port 8092 entry to the new zenrender2.conf in order to run zenrender on a different port, otherwise you cant run it twice.
- Added a second remote collector to zenoss (amc002)

The above will allow you to run multiple daemons on the same distributed collector.



< Previous
All Graphs not displaying.
  Next
[SOLVED] Zenperfsnmp failing on cloned servers
>